Sha256: f2f464c5f6480e1bfab593224f4d21477ca9119e0b366bfcde246807def2b435

Contents?: true

Size: 1.65 KB

Versions: 9

Compression:

Stored size: 1.65 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::MediaServices::Mgmt::V2018_07_01
  module Models
    #
    # Specifies a configuration for Widevine licenses.
    #
    class ContentKeyPolicyWidevineConfiguration < ContentKeyPolicyConfiguration

      include MsRestAzure


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

      attr_accessor :odatatype

      # @return [String] The Widevine template.
      attr_accessor :widevine_template


      #
      # Mapper for ContentKeyPolicyWidevineConfiguration class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: '#Microsoft.Media.ContentKeyPolicyWidevineConfiguration',
          type: {
            name: 'Composite',
            class_name: 'ContentKeyPolicyWidevineConfiguration',
            model_properties: {
              odatatype: {
                client_side_validation: true,
                required: true,
                serialized_name: '@odata\\.type',
                type: {
                  name: 'String'
                }
              },
              widevine_template: {
                client_side_validation: true,
                required: true,
                serialized_name: 'widevineTemplate',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb
azure_mgmt_media_services-0.21.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb
azure_mgmt_media_services-0.20.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb
azure_mgmt_media_services-0.20.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb
azure_mgmt_media_services-0.19.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb
azure_mgmt_media_services-0.19.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb
azure_mgmt_media_services-0.18.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb
azure_mgmt_media_services-0.18.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb
azure_mgmt_media_services-0.17.2 lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb