Sha256: 351453ed13a3053cf348e1c5e3e07b497a720b17d1d42e6bb03310f990cab7b6
Contents?: true
Size: 1.58 KB
Versions: 2
Compression:
Stored size: 1.58 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::V2020_05_01 module Models # # Base class for content key ID location. A derived class must be used to # represent the location. # class ContentKeyPolicyPlayReadyContentKeyLocation include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"] = "ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader" @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier"] = "ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier" def initialize @odatatype = "ContentKeyPolicyPlayReadyContentKeyLocation" end attr_accessor :odatatype # # Mapper for ContentKeyPolicyPlayReadyContentKeyLocation class as Ruby # Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyPlayReadyContentKeyLocation', type: { name: 'Composite', polymorphic_discriminator: '@odata.type', uber_parent: 'ContentKeyPolicyPlayReadyContentKeyLocation', class_name: 'ContentKeyPolicyPlayReadyContentKeyLocation', model_properties: { } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems