Sha256: de355c7a3bc42b44fbaa92930967e0c5e0c90cafbbe657a029f4df446a7ab31b

Contents?: true

Size: 1.62 KB

Versions: 16

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::Storage::Mgmt::V2019_04_01
  module Models
    #
    # Lease Container response schema.
    #
    class LeaseContainerResponse

      include MsRestAzure

      # @return [String] Returned unique lease ID that must be included with
      # any request to delete the container, or to renew, change, or release
      # the lease.
      attr_accessor :lease_id

      # @return [String] Approximate time remaining in the lease period, in
      # seconds.
      attr_accessor :lease_time_seconds


      #
      # Mapper for LeaseContainerResponse class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'LeaseContainerResponse',
          type: {
            name: 'Composite',
            class_name: 'LeaseContainerResponse',
            model_properties: {
              lease_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'leaseId',
                type: {
                  name: 'String'
                }
              },
              lease_time_seconds: {
                client_side_validation: true,
                required: false,
                serialized_name: 'leaseTimeSeconds',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.22.0 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.21.2 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.21.1 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.21.0 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.20.1 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.20.0 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.19.3 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.19.2 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.19.1 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.19.0 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.18.2 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.18.1 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.18.0 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.17.10 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb
azure_mgmt_storage-0.17.9 lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb