Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::AudioOverlay

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

Overview

Describes the properties of an audio overlay.

Instance Attribute Summary collapse

Attributes inherited from Overlay

#audio_gain_level, #end_property, #fade_in_duration, #fade_out_duration, #input_label, #start

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAudioOverlay

Returns a new instance of AudioOverlay.



16
17
18
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/audio_overlay.rb', line 16

def initialize
  @odatatype = "#Microsoft.Media.AudioOverlay"
end

Instance Attribute Details

#odatatypeObject

Returns the value of attribute odatatype.



20
21
22
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/audio_overlay.rb', line 20

def odatatype
  @odatatype
end

Class Method Details

.mapperObject

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



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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/audio_overlay.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: '#Microsoft.Media.AudioOverlay',
    type: {
      name: 'Composite',
      class_name: 'AudioOverlay',
      model_properties: {
        input_label: {
          client_side_validation: true,
          required: true,
          serialized_name: 'inputLabel',
          type: {
            name: 'String'
          }
        },
        start: {
          client_side_validation: true,
          required: false,
          serialized_name: 'start',
          type: {
            name: 'TimeSpan'
          }
        },
        end_property: {
          client_side_validation: true,
          required: false,
          serialized_name: 'end',
          type: {
            name: 'TimeSpan'
          }
        },
        fade_in_duration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fadeInDuration',
          type: {
            name: 'TimeSpan'
          }
        },
        fade_out_duration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fadeOutDuration',
          type: {
            name: 'TimeSpan'
          }
        },
        audio_gain_level: {
          client_side_validation: true,
          required: false,
          serialized_name: 'audioGainLevel',
          type: {
            name: 'Double'
          }
        },
        odatatype: {
          client_side_validation: true,
          required: true,
          serialized_name: '@odata\\.type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end