Sha256: c5d2e0e1912a8b1607fac2b851603eef71f7740232771319d1d5480911a67654
Contents?: true
Size: 1.78 KB
Versions: 9
Compression:
Stored size: 1.78 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 # # Base class for Content Key Policy configuration. A derived class must be # used to create a configuration. # class ContentKeyPolicyConfiguration include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"] = "ContentKeyPolicyClearKeyConfiguration" @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyUnknownConfiguration"] = "ContentKeyPolicyUnknownConfiguration" @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyWidevineConfiguration"] = "ContentKeyPolicyWidevineConfiguration" @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration"] = "ContentKeyPolicyPlayReadyConfiguration" @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration"] = "ContentKeyPolicyFairPlayConfiguration" def initialize @odatatype = "ContentKeyPolicyConfiguration" end attr_accessor :odatatype # # Mapper for ContentKeyPolicyConfiguration class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyConfiguration', type: { name: 'Composite', polymorphic_discriminator: '@odata.type', uber_parent: 'ContentKeyPolicyConfiguration', class_name: 'ContentKeyPolicyConfiguration', model_properties: { } } } end end end end
Version data entries
9 entries across 9 versions & 1 rubygems