class Azure::Consumption::Mgmt::V2019_10_01::Models::ModernChargeSummary
Modern charge summary.
Attributes
billing_account_id[RW]
@return [String] Billing Account Id
billing_period_id[RW]
@return [String] The id of the billing period resource that the charge belongs to.
billing_profile_id[RW]
@return [String] Billing Profile Id
charges_billed_separately[RW]
@return [Amount] Charges
Billed separately.
customer_id[RW]
@return [String] Customer Id
invoice_section_id[RW]
@return [String] Invoice Section Id
is_invoiced[RW]
@return [Boolean] Is charge Invoiced
kind[RW]
marketplace_charges[RW]
@return [Amount] Marketplace
Charges
.
usage_end[RW]
@return [String] Usage end date.
usage_start[RW]
@return [String] Usage start date.
Private Class Methods
mapper()
click to toggle source
Mapper for ModernChargeSummary
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_charge_summary.rb, line 61 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'modern', type: { name: 'Composite', class_name: 'ModernChargeSummary', 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' } } } }, kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, billing_period_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingPeriodId', type: { name: 'String' } }, usage_start: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageStart', type: { name: 'String' } }, usage_end: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageEnd', type: { name: 'String' } }, azure_charges: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.azureCharges', type: { name: 'Composite', class_name: 'Amount' } }, charges_billed_separately: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.chargesBilledSeparately', type: { name: 'Composite', class_name: 'Amount' } }, marketplace_charges: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.marketplaceCharges', type: { name: 'Composite', class_name: 'Amount' } }, billing_account_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingAccountId', type: { name: 'String' } }, billing_profile_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingProfileId', type: { name: 'String' } }, invoice_section_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.invoiceSectionId', type: { name: 'String' } }, customer_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.customerId', type: { name: 'String' } }, is_invoiced: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isInvoiced', type: { name: 'Boolean' } } } } } end
new()
click to toggle source
# File lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_charge_summary.rb, line 16 def initialize @kind = "modern" end