Sha256: 0a6819d1cc5b8efcd2be8a25dc87d6b80aa5f8244df24a9d7a744d03f892f041

Contents?: true

Size: 1.63 KB

Versions: 2

Compression:

Stored size: 1.63 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 parameters to the list SAS request.
    #
    class ListContainerSasInput

      include MsRestAzure

      # @return [AssetContainerPermission] The permissions to set on the SAS
      # URL. Possible values include: 'Read', 'ReadWrite', 'ReadWriteDelete'
      attr_accessor :permissions

      # @return [DateTime] The SAS URL expiration time.  This must be less than
      # 24 hours from the current time.
      attr_accessor :expiry_time


      #
      # Mapper for ListContainerSasInput class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ListContainerSasInput',
          type: {
            name: 'Composite',
            class_name: 'ListContainerSasInput',
            model_properties: {
              permissions: {
                client_side_validation: true,
                required: false,
                serialized_name: 'permissions',
                type: {
                  name: 'String'
                }
              },
              expiry_time: {
                client_side_validation: true,
                required: false,
                serialized_name: 'expiryTime',
                type: {
                  name: 'DateTime'
                }
              }
            }
          }
        }
      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/list_container_sas_input.rb
azure_mgmt_media_services-0.21.0 lib/2020-05-01/generated/azure_mgmt_media_services/models/list_container_sas_input.rb