Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetStreamingLocator

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

Overview

Properties of the Streaming Locator.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#asset_nameString

Returns Asset Name.

Returns:

  • (String)

    Asset Name.



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

def asset_name
  @asset_name
end

#createdDateTime

Returns The creation time of the Streaming Locator.

Returns:

  • (DateTime)

    The creation time of the Streaming Locator.



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

def created
  @created
end

#default_content_key_policy_nameString

Streaming Locator.

Returns:

  • (String)

    Name of the default ContentKeyPolicy used by this



39
40
41
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb', line 39

def default_content_key_policy_name
  @default_content_key_policy_name
end

#end_timeDateTime

Returns The end time of the Streaming Locator.

Returns:

  • (DateTime)

    The end time of the Streaming Locator.



28
29
30
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb', line 28

def end_time
  @end_time
end

#nameString

Returns Streaming Locator name.

Returns:

  • (String)

    Streaming Locator name.



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

def name
  @name
end

#start_timeDateTime

Returns The start time of the Streaming Locator.

Returns:

  • (DateTime)

    The start time of the Streaming Locator.



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

def start_time
  @start_time
end

#streaming_locator_idObject

Returns StreamingLocatorId of the Streaming Locator.

Returns:

  • StreamingLocatorId of the Streaming Locator.



31
32
33
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb', line 31

def streaming_locator_id
  @streaming_locator_id
end

#streaming_policy_nameString

Locator.

Returns:

  • (String)

    Name of the Streaming Policy used by this Streaming



35
36
37
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb', line 35

def streaming_policy_name
  @streaming_policy_name
end

Class Method Details

.mapperObject

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



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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb', line 46

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AssetStreamingLocator',
    type: {
      name: 'Composite',
      class_name: 'AssetStreamingLocator',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        asset_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'assetName',
          type: {
            name: 'String'
          }
        },
        created: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'created',
          type: {
            name: 'DateTime'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'startTime',
          type: {
            name: 'DateTime'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'endTime',
          type: {
            name: 'DateTime'
          }
        },
        streaming_locator_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'streamingLocatorId',
          type: {
            name: 'String'
          }
        },
        streaming_policy_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'streamingPolicyName',
          type: {
            name: 'String'
          }
        },
        default_content_key_policy_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'defaultContentKeyPolicyName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end