# 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_03_30_preview module Models # # Class for EnvelopeEncryption encryption scheme # class EnvelopeEncryption include MsRestAzure # @return [EnabledProtocols] Representing supported protocols attr_accessor :enabled_protocols # @return [Array] Representing which tracks should not be # encrypted attr_accessor :clear_tracks # @return [StreamingPolicyContentKeys] Representing default content key # for each encryption scheme and separate content keys for specific # tracks attr_accessor :content_keys # @return [String] LicenseAcquistionUrlTemplate is used to point to user # speicified service to delivery content keys attr_accessor :custom_license_acquisition_url_template # # Mapper for EnvelopeEncryption class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EnvelopeEncryption', type: { name: 'Composite', class_name: 'EnvelopeEncryption', model_properties: { enabled_protocols: { client_side_validation: true, required: false, serialized_name: 'enabledProtocols', type: { name: 'Composite', class_name: 'EnabledProtocols' } }, clear_tracks: { client_side_validation: true, required: false, serialized_name: 'clearTracks', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TrackSelectionElementType', type: { name: 'Composite', class_name: 'TrackSelection' } } } }, content_keys: { client_side_validation: true, required: false, serialized_name: 'contentKeys', type: { name: 'Composite', class_name: 'StreamingPolicyContentKeys' } }, custom_license_acquisition_url_template: { client_side_validation: true, required: false, serialized_name: 'customLicenseAcquisitionUrlTemplate', type: { name: 'String' } } } } } end end end end