Sha256: fe95a17a02f379737d93eb46d870ef87d3e7973de48b185e42043d4030fc40c7
Contents?: true
Size: 1.56 KB
Versions: 2
Compression:
Stored size: 1.56 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 Policy key for token validation. A derived # class must be used to create a token key. # class ContentKeyPolicyRestrictionTokenKey include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["#Microsoft.Media.ContentKeyPolicySymmetricTokenKey"] = "ContentKeyPolicySymmetricTokenKey" @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyRsaTokenKey"] = "ContentKeyPolicyRsaTokenKey" @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey"] = "ContentKeyPolicyX509CertificateTokenKey" def initialize @odatatype = "ContentKeyPolicyRestrictionTokenKey" end attr_accessor :odatatype # # Mapper for ContentKeyPolicyRestrictionTokenKey class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyRestrictionTokenKey', type: { name: 'Composite', polymorphic_discriminator: '@odata.type', uber_parent: 'ContentKeyPolicyRestrictionTokenKey', class_name: 'ContentKeyPolicyRestrictionTokenKey', model_properties: { } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems