Class: Azure::Consumption::Mgmt::V2018_11_01_preview::Models::Enrollment
- Inherits:
-
Object
- Object
- Azure::Consumption::Mgmt::V2018_11_01_preview::Models::Enrollment
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/enrollment.rb
Overview
Current entity level details
Instance Attribute Summary collapse
-
#billing_cycle ⇒ String
Enrollment billing cycle.
-
#channel ⇒ String
The channel for Enrollment.
-
#country_code ⇒ String
The countryCode for Enrollment.
-
#currency ⇒ String
The currency associated with enrollment.
-
#end_date ⇒ DateTime
Enrollment End Date.
-
#language ⇒ String
The language for Enrollment.
-
#policies ⇒ EnrollmentPolicies
enrollment.
-
#start_date ⇒ DateTime
Enrollment Start Date.
-
#status ⇒ String
Enrollment status.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Enrollment class as Ruby Hash.
Instance Attribute Details
#billing_cycle ⇒ String
41 42 43 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/enrollment.rb', line 41 def billing_cycle @billing_cycle end |
#channel ⇒ String
25 26 27 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/enrollment.rb', line 25 def channel @channel end |
#country_code ⇒ String
35 36 37 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/enrollment.rb', line 35 def country_code @country_code end |
#currency ⇒ String
22 23 24 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/enrollment.rb', line 22 def currency @currency end |
#end_date ⇒ DateTime
19 20 21 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/enrollment.rb', line 19 def end_date @end_date end |
#language ⇒ String
32 33 34 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/enrollment.rb', line 32 def language @language end |
#policies ⇒ EnrollmentPolicies
enrollment.
29 30 31 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/enrollment.rb', line 29 def policies @policies end |
#start_date ⇒ DateTime
16 17 18 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/enrollment.rb', line 16 def start_date @start_date end |
#status ⇒ String
38 39 40 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/enrollment.rb', line 38 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for Enrollment class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/enrollment.rb', line 48 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Enrollment', type: { name: 'Composite', class_name: 'Enrollment', model_properties: { start_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'startDate', type: { name: 'DateTime' } }, end_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'endDate', type: { name: 'DateTime' } }, currency: { client_side_validation: true, required: false, read_only: true, serialized_name: 'currency', type: { name: 'String' } }, channel: { client_side_validation: true, required: false, read_only: true, serialized_name: 'channel', type: { name: 'String' } }, policies: { client_side_validation: true, required: false, read_only: true, serialized_name: 'policies', type: { name: 'Composite', class_name: 'EnrollmentPolicies' } }, language: { client_side_validation: true, required: false, read_only: true, serialized_name: 'language', type: { name: 'String' } }, country_code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'countryCode', type: { name: 'String' } }, status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'status', type: { name: 'String' } }, billing_cycle: { client_side_validation: true, required: false, read_only: true, serialized_name: 'billingCycle', type: { name: 'String' } } } } } end |