Class: UntitledApi::ApiV1OrgsLicensesResponse1
- Inherits:
-
BaseModel
- Object
- CoreLibrary::BaseModel
- BaseModel
- UntitledApi::ApiV1OrgsLicensesResponse1
- Defined in:
- lib/untitled_api/models/api_v1_orgs_licenses_response1.rb
Overview
ApiV1OrgsLicensesResponse1 Model.
Instance Attribute Summary collapse
-
#entitled ⇒ Object
TODO: Write general description for this method.
-
#fully_loaded ⇒ Object
TODO: Write general description for this method.
-
#licenses ⇒ Object
TODO: Write general description for this method.
-
#summary ⇒ Object
TODO: Write general description for this method.
-
#svna_insufficient ⇒ Object
TODO: Write general description for this method.
-
#svna_ui ⇒ Object
TODO: Write general description for this method.
-
#trial_enabled ⇒ Object
TODO: Write general description for this method.
-
#trial_end_time ⇒ Float
TODO: Write general description for this method.
-
#vna_insufficient ⇒ Object
TODO: Write general description for this method.
-
#vna_ui ⇒ Object
TODO: Write general description for this method.
-
#wvna_insufficient ⇒ Object
TODO: Write general description for this method.
-
#wvna_ui ⇒ Object
TODO: Write general description for this method.
Class Method Summary collapse
-
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
-
.names ⇒ Object
A mapping from model property names to API property names.
-
.nullables ⇒ Object
An array for nullable fields.
-
.optionals ⇒ Object
An array for optional fields.
Instance Method Summary collapse
-
#initialize(summary = SKIP, fully_loaded = SKIP, entitled = SKIP, licenses = SKIP, vna_ui = SKIP, vna_insufficient = SKIP, svna_ui = SKIP, svna_insufficient = SKIP, wvna_ui = SKIP, wvna_insufficient = SKIP, trial_enabled = SKIP, trial_end_time = SKIP) ⇒ ApiV1OrgsLicensesResponse1
constructor
A new instance of ApiV1OrgsLicensesResponse1.
Methods inherited from BaseModel
Constructor Details
#initialize(summary = SKIP, fully_loaded = SKIP, entitled = SKIP, licenses = SKIP, vna_ui = SKIP, vna_insufficient = SKIP, svna_ui = SKIP, svna_insufficient = SKIP, wvna_ui = SKIP, wvna_insufficient = SKIP, trial_enabled = SKIP, trial_end_time = SKIP) ⇒ ApiV1OrgsLicensesResponse1
Returns a new instance of ApiV1OrgsLicensesResponse1.
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 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 101 def initialize(summary = SKIP, fully_loaded = SKIP, entitled = SKIP, licenses = SKIP, vna_ui = SKIP, vna_insufficient = SKIP, svna_ui = SKIP, svna_insufficient = SKIP, wvna_ui = SKIP, wvna_insufficient = SKIP, trial_enabled = SKIP, trial_end_time = SKIP) @summary = summary unless summary == SKIP @fully_loaded = fully_loaded unless fully_loaded == SKIP @entitled = entitled unless entitled == SKIP @licenses = licenses unless licenses == SKIP @vna_ui = vna_ui unless vna_ui == SKIP @vna_insufficient = vna_insufficient unless vna_insufficient == SKIP @svna_ui = svna_ui unless svna_ui == SKIP @svna_insufficient = svna_insufficient unless svna_insufficient == SKIP @wvna_ui = wvna_ui unless wvna_ui == SKIP @wvna_insufficient = wvna_insufficient unless wvna_insufficient == SKIP @trial_enabled = trial_enabled unless trial_enabled == SKIP @trial_end_time = trial_end_time unless trial_end_time == SKIP end |
Instance Attribute Details
#entitled ⇒ Object
TODO: Write general description for this method
22 23 24 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 22 def entitled @entitled end |
#fully_loaded ⇒ Object
TODO: Write general description for this method
18 19 20 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 18 def fully_loaded @fully_loaded end |
#licenses ⇒ Object
TODO: Write general description for this method
26 27 28 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 26 def licenses @licenses end |
#summary ⇒ Object
TODO: Write general description for this method
14 15 16 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 14 def summary @summary end |
#svna_insufficient ⇒ Object
TODO: Write general description for this method
42 43 44 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 42 def svna_insufficient @svna_insufficient end |
#svna_ui ⇒ Object
TODO: Write general description for this method
38 39 40 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 38 def svna_ui @svna_ui end |
#trial_enabled ⇒ Object
TODO: Write general description for this method
54 55 56 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 54 def trial_enabled @trial_enabled end |
#trial_end_time ⇒ Float
TODO: Write general description for this method
58 59 60 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 58 def trial_end_time @trial_end_time end |
#vna_insufficient ⇒ Object
TODO: Write general description for this method
34 35 36 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 34 def vna_insufficient @vna_insufficient end |
#vna_ui ⇒ Object
TODO: Write general description for this method
30 31 32 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 30 def vna_ui @vna_ui end |
#wvna_insufficient ⇒ Object
TODO: Write general description for this method
50 51 52 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 50 def wvna_insufficient @wvna_insufficient end |
#wvna_ui ⇒ Object
TODO: Write general description for this method
46 47 48 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 46 def wvna_ui @wvna_ui end |
Class Method Details
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
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 159 160 161 162 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 128 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. summary = hash.key?('summary') ? hash['summary'] : SKIP fully_loaded = hash.key?('fully_loaded') ? hash['fully_loaded'] : SKIP entitled = hash.key?('entitled') ? hash['entitled'] : SKIP licenses = hash.key?('licenses') ? hash['licenses'] : SKIP vna_ui = hash.key?('vna_ui') ? hash['vna_ui'] : SKIP vna_insufficient = hash.key?('vna_insufficient') ? hash['vna_insufficient'] : SKIP svna_ui = hash.key?('svna_ui') ? hash['svna_ui'] : SKIP svna_insufficient = hash.key?('svna_insufficient') ? hash['svna_insufficient'] : SKIP wvna_ui = hash.key?('wvna_ui') ? hash['wvna_ui'] : SKIP wvna_insufficient = hash.key?('wvna_insufficient') ? hash['wvna_insufficient'] : SKIP trial_enabled = hash.key?('trial_enabled') ? hash['trial_enabled'] : SKIP trial_end_time = hash.key?('trial_end_time') ? hash['trial_end_time'] : SKIP # Create object from extracted values. ApiV1OrgsLicensesResponse1.new(summary, fully_loaded, entitled, licenses, vna_ui, vna_insufficient, svna_ui, svna_insufficient, wvna_ui, wvna_insufficient, trial_enabled, trial_end_time) end |
.names ⇒ Object
A mapping from model property names to API property names.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 61 def self.names @_hash = {} if @_hash.nil? @_hash['summary'] = 'summary' @_hash['fully_loaded'] = 'fully_loaded' @_hash['entitled'] = 'entitled' @_hash['licenses'] = 'licenses' @_hash['vna_ui'] = 'vna_ui' @_hash['vna_insufficient'] = 'vna_insufficient' @_hash['svna_ui'] = 'svna_ui' @_hash['svna_insufficient'] = 'svna_insufficient' @_hash['wvna_ui'] = 'wvna_ui' @_hash['wvna_insufficient'] = 'wvna_insufficient' @_hash['trial_enabled'] = 'trial_enabled' @_hash['trial_end_time'] = 'trial_end_time' @_hash end |
.nullables ⇒ Object
An array for nullable fields
97 98 99 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 97 def self.nullables [] end |
.optionals ⇒ Object
An array for optional fields
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'lib/untitled_api/models/api_v1_orgs_licenses_response1.rb', line 79 def self.optionals %w[ summary fully_loaded entitled licenses vna_ui vna_insufficient svna_ui svna_insufficient wvna_ui wvna_insufficient trial_enabled trial_end_time ] end |