class Azure::Consumption::Mgmt::V2018_11_01_preview::Models::BillingProfile

A billing profile resource.

Attributes

billing_address[RW]

@return [Address] Billing address.

billing_contact[RW]

@return [String] Billing contact.

currency[RW]

@return [String] Currency on the billing profile.

display_name[RW]

@return [String] The billing profile name.

email_invoice[RW]

@return [Boolean] Email invoice.

invoice_day[RW]

@return [Integer] Invoice day.

po_number[RW]

@return [String] Purchase order number.

Public Class Methods

mapper() click to toggle source

Mapper for BillingProfile class as Ruby Hash. This will be used for serialization/deserialization.

# 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