Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPath

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

Overview

Class of paths for streaming

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#encryption_schemeEncryptionScheme

‘NoEncryption’, ‘EnvelopeEncryption’, ‘CommonEncryptionCenc’, ‘CommonEncryptionCbcs’

Returns:



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

def encryption_scheme
  @encryption_scheme
end

#pathsArray<String>

encryptionScheme pair

Returns:

  • (Array<String>)

    Streaming paths for each protocol and



26
27
28
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_path.rb', line 26

def paths
  @paths
end

#streaming_protocolStreamingPolicyStreamingProtocol

values include: ‘Hls’, ‘Dash’, ‘SmoothStreaming’, ‘Download’

Returns:



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

def streaming_protocol
  @streaming_protocol
end

Class Method Details

.mapperObject

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



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
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_path.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StreamingPath',
    type: {
      name: 'Composite',
      class_name: 'StreamingPath',
      model_properties: {
        streaming_protocol: {
          client_side_validation: true,
          required: true,
          serialized_name: 'streamingProtocol',
          type: {
            name: 'String'
          }
        },
        encryption_scheme: {
          client_side_validation: true,
          required: true,
          serialized_name: 'encryptionScheme',
          type: {
            name: 'String'
          }
        },
        paths: {
          client_side_validation: true,
          required: false,
          serialized_name: 'paths',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end