Class: Azure::Billing::Mgmt::V2018_03_01_preview::Models::DownloadUrl
- Inherits:
-
Object
- Object
- Azure::Billing::Mgmt::V2018_03_01_preview::Models::DownloadUrl
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-03-01-preview/generated/azure_mgmt_billing/models/download_url.rb
Overview
A secure URL that can be used to download a PDF invoice until the URL expires.
Instance Attribute Summary collapse
-
#expiry_time ⇒ DateTime
expire.
-
#url ⇒ String
The URL to the PDF file.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DownloadUrl class as Ruby Hash.
Instance Attribute Details
#expiry_time ⇒ DateTime
expire.
18 19 20 |
# File 'lib/2018-03-01-preview/generated/azure_mgmt_billing/models/download_url.rb', line 18 def expiry_time @expiry_time end |
#url ⇒ String
Returns The URL to the PDF file.
21 22 23 |
# File 'lib/2018-03-01-preview/generated/azure_mgmt_billing/models/download_url.rb', line 21 def url @url end |
Class Method Details
.mapper ⇒ Object
Mapper for DownloadUrl class as Ruby Hash. This will be used for serialization/deserialization.
28 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 58 |
# File 'lib/2018-03-01-preview/generated/azure_mgmt_billing/models/download_url.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DownloadUrl', type: { name: 'Composite', class_name: 'DownloadUrl', model_properties: { expiry_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'expiryTime', type: { name: 'DateTime' } }, url: { client_side_validation: true, required: false, read_only: true, serialized_name: 'url', type: { name: 'String' } } } } } end |