Class: Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventEndpoint

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_endpoint.rb

Overview

The Live Event endpoint.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#protocolString

Returns The endpoint protocol.

Returns:

  • (String)

    The endpoint protocol.



16
17
18
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_endpoint.rb', line 16

def protocol
  @protocol
end

#urlString

Returns The endpoint URL.

Returns:

  • (String)

    The endpoint URL.



19
20
21
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_endpoint.rb', line 19

def url
  @url
end

Class Method Details

.mapperObject

Mapper for LiveEventEndpoint class as Ruby Hash. This will be used for serialization/deserialization.



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_endpoint.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LiveEventEndpoint',
    type: {
      name: 'Composite',
      class_name: 'LiveEventEndpoint',
      model_properties: {
        protocol: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protocol',
          type: {
            name: 'String'
          }
        },
        url: {
          client_side_validation: true,
          required: false,
          serialized_name: 'url',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end