Sha256: 41cd19927a9118df5067228aabae373f03464e93c221fe3579b1b9ee9e4d99a1

Contents?: true

Size: 1.85 KB

Versions: 2

Compression:

Stored size: 1.85 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
    #
    # The Asset File Storage encryption metadata.
    #
    class AssetFileEncryptionMetadata

      include MsRestAzure

      # @return [String] The Asset File initialization vector.
      attr_accessor :initialization_vector

      # @return [String] The Asset File name.
      attr_accessor :asset_file_name

      # @return The Asset File Id.
      attr_accessor :asset_file_id


      #
      # Mapper for AssetFileEncryptionMetadata class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AssetFileEncryptionMetadata',
          type: {
            name: 'Composite',
            class_name: 'AssetFileEncryptionMetadata',
            model_properties: {
              initialization_vector: {
                client_side_validation: true,
                required: false,
                serialized_name: 'initializationVector',
                type: {
                  name: 'String'
                }
              },
              asset_file_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'assetFileName',
                type: {
                  name: 'String'
                }
              },
              asset_file_id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'assetFileId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.1 lib/2020-05-01/generated/azure_mgmt_media_services/models/asset_file_encryption_metadata.rb
azure_mgmt_media_services-0.21.0 lib/2020-05-01/generated/azure_mgmt_media_services/models/asset_file_encryption_metadata.rb