Class: Azure::Consumption::Mgmt::V2018_11_01_preview::Models::BillingProfile
- Inherits:
-
Resource
- Object
- Resource
- Azure::Consumption::Mgmt::V2018_11_01_preview::Models::BillingProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/billing_profile.rb
Overview
A billing profile resource.
Instance Attribute Summary collapse
-
#billing_address ⇒ Address
Billing address.
-
#billing_contact ⇒ String
Billing contact.
-
#currency ⇒ String
Currency on the billing profile.
-
#display_name ⇒ String
The billing profile name.
-
#email_invoice ⇒ Boolean
Email invoice.
-
#invoice_day ⇒ Integer
Invoice day.
-
#po_number ⇒ String
Purchase order number.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BillingProfile class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#billing_address ⇒ Address
22 23 24 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/billing_profile.rb', line 22 def billing_address @billing_address end |
#billing_contact ⇒ String
25 26 27 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/billing_profile.rb', line 25 def billing_contact @billing_contact end |
#currency ⇒ String
34 35 36 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/billing_profile.rb', line 34 def currency @currency end |
#display_name ⇒ String
16 17 18 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/billing_profile.rb', line 16 def display_name @display_name end |
#email_invoice ⇒ Boolean
28 29 30 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/billing_profile.rb', line 28 def email_invoice @email_invoice end |
#invoice_day ⇒ Integer
31 32 33 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/billing_profile.rb', line 31 def invoice_day @invoice_day end |
#po_number ⇒ String
19 20 21 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/billing_profile.rb', line 19 def po_number @po_number end |
Class Method Details
.mapper ⇒ Object
Mapper for BillingProfile class as Ruby Hash. This will be used for serialization/deserialization.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/billing_profile.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BillingProfile', type: { name: 'Composite', class_name: 'BillingProfile', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, display_name: { client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { name: 'String' } }, po_number: { client_side_validation: true, required: false, serialized_name: 'properties.poNumber', type: { name: 'String' } }, billing_address: { client_side_validation: true, required: false, serialized_name: 'properties.billingAddress', type: { name: 'Composite', class_name: 'Address' } }, billing_contact: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingContact', type: { name: 'String' } }, email_invoice: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.emailInvoice', type: { name: 'Boolean' } }, invoice_day: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.invoiceDay', type: { name: 'Number' } }, currency: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currency', type: { name: 'String' } } } } } end |