Sha256: 17915245d1f51771c74a0d430b6fa29c1981a737ec0d2cb978be467966ec89d1
Contents?: true
Size: 1.62 KB
Versions: 2
Compression:
Stored size: 1.62 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 # # Model object. # # class ContentKeyPolicyFairPlayOfflineRentalConfiguration include MsRestAzure # @return [Integer] Playback duration attr_accessor :playback_duration_seconds # @return [Integer] Storage duration attr_accessor :storage_duration_seconds # # Mapper for ContentKeyPolicyFairPlayOfflineRentalConfiguration class as # Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyFairPlayOfflineRentalConfiguration', type: { name: 'Composite', class_name: 'ContentKeyPolicyFairPlayOfflineRentalConfiguration', model_properties: { playback_duration_seconds: { client_side_validation: true, required: true, serialized_name: 'playbackDurationSeconds', type: { name: 'Number' } }, storage_duration_seconds: { client_side_validation: true, required: true, serialized_name: 'storageDurationSeconds', type: { name: 'Number' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems