Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventEncoding

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

Overview

The Live Event encoding.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#encoding_typeLiveEventEncodingType

value is specified at creation time and cannot be updated. Possible values include: ‘None’, ‘Basic’, ‘Standard’, ‘Premium1080p’

Returns:



18
19
20
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding.rb', line 18

def encoding_type
  @encoding_type
end

#preset_nameString

creation time and cannot be updated.

Returns:

  • (String)

    The encoding preset name. This value is specified at



22
23
24
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding.rb', line 22

def preset_name
  @preset_name
end

Class Method Details

.mapperObject

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



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
55
56
57
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LiveEventEncoding',
    type: {
      name: 'Composite',
      class_name: 'LiveEventEncoding',
      model_properties: {
        encoding_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'encodingType',
          type: {
            name: 'String'
          }
        },
        preset_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'presetName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end