Class: UntitledApi::ApiV1OrgsExpandRegistrationCodeResponse
- Inherits:
-
BaseModel
- Object
- CoreLibrary::BaseModel
- BaseModel
- UntitledApi::ApiV1OrgsExpandRegistrationCodeResponse
- Defined in:
- lib/untitled_api/models/api_v1_orgs_expand_registration_code_response.rb
Overview
Response data
Instance Attribute Summary collapse
-
#env ⇒ String
TODO: Write general description for this method.
-
#env_prefix ⇒ String
TODO: Write general description for this method.
-
#ep_ca_cert ⇒ String
TODO: Write general description for this method.
-
#ep_fips_ca_cert ⇒ String
TODO: Write general description for this method.
-
#ep_fips_url ⇒ String
TODO: Write general description for this method.
-
#ep_url ⇒ String
TODO: Write general description for this method.
-
#provider ⇒ String
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(env_prefix = SKIP, provider = SKIP, env = SKIP, ep_url = SKIP, ep_ca_cert = SKIP, ep_fips_url = SKIP, ep_fips_ca_cert = SKIP) ⇒ ApiV1OrgsExpandRegistrationCodeResponse
constructor
A new instance of ApiV1OrgsExpandRegistrationCodeResponse.
Methods inherited from BaseModel
Constructor Details
#initialize(env_prefix = SKIP, provider = SKIP, env = SKIP, ep_url = SKIP, ep_ca_cert = SKIP, ep_fips_url = SKIP, ep_fips_ca_cert = SKIP) ⇒ ApiV1OrgsExpandRegistrationCodeResponse
Returns a new instance of ApiV1OrgsExpandRegistrationCodeResponse.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/untitled_api/models/api_v1_orgs_expand_registration_code_response.rb', line 71 def initialize(env_prefix = SKIP, provider = SKIP, env = SKIP, ep_url = SKIP, ep_ca_cert = SKIP, ep_fips_url = SKIP, ep_fips_ca_cert = SKIP) @env_prefix = env_prefix unless env_prefix == SKIP @provider = provider unless provider == SKIP @env = env unless env == SKIP @ep_url = ep_url unless ep_url == SKIP @ep_ca_cert = ep_ca_cert unless ep_ca_cert == SKIP @ep_fips_url = ep_fips_url unless ep_fips_url == SKIP @ep_fips_ca_cert = ep_fips_ca_cert unless ep_fips_ca_cert == SKIP end |
Instance Attribute Details
#env ⇒ String
TODO: Write general description for this method
22 23 24 |
# File 'lib/untitled_api/models/api_v1_orgs_expand_registration_code_response.rb', line 22 def env @env end |
#env_prefix ⇒ String
TODO: Write general description for this method
14 15 16 |
# File 'lib/untitled_api/models/api_v1_orgs_expand_registration_code_response.rb', line 14 def env_prefix @env_prefix end |
#ep_ca_cert ⇒ String
TODO: Write general description for this method
30 31 32 |
# File 'lib/untitled_api/models/api_v1_orgs_expand_registration_code_response.rb', line 30 def ep_ca_cert @ep_ca_cert end |
#ep_fips_ca_cert ⇒ String
TODO: Write general description for this method
38 39 40 |
# File 'lib/untitled_api/models/api_v1_orgs_expand_registration_code_response.rb', line 38 def ep_fips_ca_cert @ep_fips_ca_cert end |
#ep_fips_url ⇒ String
TODO: Write general description for this method
34 35 36 |
# File 'lib/untitled_api/models/api_v1_orgs_expand_registration_code_response.rb', line 34 def ep_fips_url @ep_fips_url end |
#ep_url ⇒ String
TODO: Write general description for this method
26 27 28 |
# File 'lib/untitled_api/models/api_v1_orgs_expand_registration_code_response.rb', line 26 def ep_url @ep_url end |
#provider ⇒ String
TODO: Write general description for this method
18 19 20 |
# File 'lib/untitled_api/models/api_v1_orgs_expand_registration_code_response.rb', line 18 def provider @provider end |
Class Method Details
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'lib/untitled_api/models/api_v1_orgs_expand_registration_code_response.rb', line 88 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. env_prefix = hash.key?('env_prefix') ? hash['env_prefix'] : SKIP provider = hash.key?('provider') ? hash['provider'] : SKIP env = hash.key?('env') ? hash['env'] : SKIP ep_url = hash.key?('ep_url') ? hash['ep_url'] : SKIP ep_ca_cert = hash.key?('ep_ca_cert') ? hash['ep_ca_cert'] : SKIP ep_fips_url = hash.key?('ep_fips_url') ? hash['ep_fips_url'] : SKIP ep_fips_ca_cert = hash.key?('ep_fips_ca_cert') ? hash['ep_fips_ca_cert'] : SKIP # Create object from extracted values. ApiV1OrgsExpandRegistrationCodeResponse.new(env_prefix, provider, env, ep_url, ep_ca_cert, ep_fips_url, ep_fips_ca_cert) end |
.names ⇒ Object
A mapping from model property names to API property names.
41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/untitled_api/models/api_v1_orgs_expand_registration_code_response.rb', line 41 def self.names @_hash = {} if @_hash.nil? @_hash['env_prefix'] = 'env_prefix' @_hash['provider'] = 'provider' @_hash['env'] = 'env' @_hash['ep_url'] = 'ep_url' @_hash['ep_ca_cert'] = 'ep_ca_cert' @_hash['ep_fips_url'] = 'ep_fips_url' @_hash['ep_fips_ca_cert'] = 'ep_fips_ca_cert' @_hash end |
.nullables ⇒ Object
An array for nullable fields
67 68 69 |
# File 'lib/untitled_api/models/api_v1_orgs_expand_registration_code_response.rb', line 67 def self.nullables [] end |
.optionals ⇒ Object
An array for optional fields
54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/untitled_api/models/api_v1_orgs_expand_registration_code_response.rb', line 54 def self.optionals %w[ env_prefix provider env ep_url ep_ca_cert ep_fips_url ep_fips_ca_cert ] end |