Class: Azure::Storage::Mgmt::V2018_07_01::Models::LeaseContainerResponse
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2018_07_01::Models::LeaseContainerResponse
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_storage/models/lease_container_response.rb
Overview
Lease Container response schema.
Instance Attribute Summary collapse
-
#lease_id ⇒ String
any request to delete the container, or to renew, change, or release the lease.
-
#lease_time_seconds ⇒ String
seconds.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LeaseContainerResponse class as Ruby Hash.
Instance Attribute Details
#lease_id ⇒ String
any request to delete the container, or to renew, change, or release the lease.
18 19 20 |
# File 'lib/2018-07-01/generated/azure_mgmt_storage/models/lease_container_response.rb', line 18 def lease_id @lease_id end |
#lease_time_seconds ⇒ String
seconds.
22 23 24 |
# File 'lib/2018-07-01/generated/azure_mgmt_storage/models/lease_container_response.rb', line 22 def lease_time_seconds @lease_time_seconds end |
Class Method Details
.mapper ⇒ Object
Mapper for LeaseContainerResponse class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/2018-07-01/generated/azure_mgmt_storage/models/lease_container_response.rb', line 29 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 |