Class: UntitledApi::ApiV1OrgsSsosResponse
- Inherits:
-
BaseModel
- Object
- CoreLibrary::BaseModel
- BaseModel
- UntitledApi::ApiV1OrgsSsosResponse
- Defined in:
- lib/untitled_api/models/api_v1_orgs_ssos_response.rb
Overview
Response data
Instance Attribute Summary collapse
-
#created_time ⇒ Float
TODO: Write general description for this method.
-
#domain ⇒ String
TODO: Write general description for this method.
-
#id ⇒ String
TODO: Write general description for this method.
-
#idp_type ⇒ String
TODO: Write general description for this method.
-
#ldap_base_dn ⇒ String
TODO: Write general description for this method.
-
#ldap_group_attr ⇒ String
TODO: Write general description for this method.
-
#ldap_group_dn ⇒ String
TODO: Write general description for this method.
-
#ldap_group_filter ⇒ String
TODO: Write general description for this method.
-
#ldap_server_hosts ⇒ Object
TODO: Write general description for this method.
-
#ldap_type ⇒ String
TODO: Write general description for this method.
-
#ldap_user_filter ⇒ String
TODO: Write general description for this method.
-
#modified_time ⇒ Float
TODO: Write general description for this method.
-
#msp_id ⇒ String
TODO: Write general description for this method.
-
#name ⇒ String
TODO: Write general description for this method.
-
#org_id ⇒ 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(name = SKIP, idp_type = SKIP, ldap_type = SKIP, ldap_server_hosts = SKIP, ldap_base_dn = SKIP, ldap_user_filter = SKIP, ldap_group_attr = SKIP, ldap_group_dn = SKIP, ldap_group_filter = SKIP, id = SKIP, msp_id = SKIP, org_id = SKIP, domain = SKIP, created_time = SKIP, modified_time = SKIP) ⇒ ApiV1OrgsSsosResponse
constructor
A new instance of ApiV1OrgsSsosResponse.
Methods inherited from BaseModel
Constructor Details
#initialize(name = SKIP, idp_type = SKIP, ldap_type = SKIP, ldap_server_hosts = SKIP, ldap_base_dn = SKIP, ldap_user_filter = SKIP, ldap_group_attr = SKIP, ldap_group_dn = SKIP, ldap_group_filter = SKIP, id = SKIP, msp_id = SKIP, org_id = SKIP, domain = SKIP, created_time = SKIP, modified_time = SKIP) ⇒ ApiV1OrgsSsosResponse
Returns a new instance of ApiV1OrgsSsosResponse.
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 119 def initialize(name = SKIP, idp_type = SKIP, ldap_type = SKIP, ldap_server_hosts = SKIP, ldap_base_dn = SKIP, ldap_user_filter = SKIP, ldap_group_attr = SKIP, ldap_group_dn = SKIP, ldap_group_filter = SKIP, id = SKIP, msp_id = SKIP, org_id = SKIP, domain = SKIP, created_time = SKIP, modified_time = SKIP) @name = name unless name == SKIP @idp_type = idp_type unless idp_type == SKIP @ldap_type = ldap_type unless ldap_type == SKIP @ldap_server_hosts = ldap_server_hosts unless ldap_server_hosts == SKIP @ldap_base_dn = ldap_base_dn unless ldap_base_dn == SKIP @ldap_user_filter = ldap_user_filter unless ldap_user_filter == SKIP @ldap_group_attr = ldap_group_attr unless ldap_group_attr == SKIP @ldap_group_dn = ldap_group_dn unless ldap_group_dn == SKIP @ldap_group_filter = ldap_group_filter unless ldap_group_filter == SKIP @id = id unless id == SKIP @msp_id = msp_id unless msp_id == SKIP @org_id = org_id unless org_id == SKIP @domain = domain unless domain == SKIP @created_time = created_time unless created_time == SKIP @modified_time = modified_time unless modified_time == SKIP end |
Instance Attribute Details
#created_time ⇒ Float
TODO: Write general description for this method
66 67 68 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 66 def created_time @created_time end |
#domain ⇒ String
TODO: Write general description for this method
62 63 64 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 62 def domain @domain end |
#id ⇒ String
TODO: Write general description for this method
50 51 52 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 50 def id @id end |
#idp_type ⇒ String
TODO: Write general description for this method
18 19 20 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 18 def idp_type @idp_type end |
#ldap_base_dn ⇒ String
TODO: Write general description for this method
30 31 32 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 30 def ldap_base_dn @ldap_base_dn end |
#ldap_group_attr ⇒ String
TODO: Write general description for this method
38 39 40 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 38 def ldap_group_attr @ldap_group_attr end |
#ldap_group_dn ⇒ String
TODO: Write general description for this method
42 43 44 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 42 def ldap_group_dn @ldap_group_dn end |
#ldap_group_filter ⇒ String
TODO: Write general description for this method
46 47 48 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 46 def ldap_group_filter @ldap_group_filter end |
#ldap_server_hosts ⇒ Object
TODO: Write general description for this method
26 27 28 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 26 def ldap_server_hosts @ldap_server_hosts end |
#ldap_type ⇒ String
TODO: Write general description for this method
22 23 24 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 22 def ldap_type @ldap_type end |
#ldap_user_filter ⇒ String
TODO: Write general description for this method
34 35 36 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 34 def ldap_user_filter @ldap_user_filter end |
#modified_time ⇒ Float
TODO: Write general description for this method
70 71 72 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 70 def modified_time @modified_time end |
#msp_id ⇒ String
TODO: Write general description for this method
54 55 56 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 54 def msp_id @msp_id end |
#name ⇒ String
TODO: Write general description for this method
14 15 16 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 14 def name @name end |
#org_id ⇒ String
TODO: Write general description for this method
58 59 60 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 58 def org_id @org_id end |
Class Method Details
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 152 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. name = hash.key?('name') ? hash['name'] : SKIP idp_type = hash.key?('idp_type') ? hash['idp_type'] : SKIP ldap_type = hash.key?('ldap_type') ? hash['ldap_type'] : SKIP ldap_server_hosts = hash.key?('ldap_server_hosts') ? hash['ldap_server_hosts'] : SKIP ldap_base_dn = hash.key?('ldap_base_dn') ? hash['ldap_base_dn'] : SKIP ldap_user_filter = hash.key?('ldap_user_filter') ? hash['ldap_user_filter'] : SKIP ldap_group_attr = hash.key?('ldap_group_attr') ? hash['ldap_group_attr'] : SKIP ldap_group_dn = hash.key?('ldap_group_dn') ? hash['ldap_group_dn'] : SKIP ldap_group_filter = hash.key?('ldap_group_filter') ? hash['ldap_group_filter'] : SKIP id = hash.key?('id') ? hash['id'] : SKIP msp_id = hash.key?('msp_id') ? hash['msp_id'] : SKIP org_id = hash.key?('org_id') ? hash['org_id'] : SKIP domain = hash.key?('domain') ? hash['domain'] : SKIP created_time = hash.key?('created_time') ? hash['created_time'] : SKIP modified_time = hash.key?('modified_time') ? hash['modified_time'] : SKIP # Create object from extracted values. ApiV1OrgsSsosResponse.new(name, idp_type, ldap_type, ldap_server_hosts, ldap_base_dn, ldap_user_filter, ldap_group_attr, ldap_group_dn, ldap_group_filter, id, msp_id, org_id, domain, created_time, modified_time) end |
.names ⇒ Object
A mapping from model property names to API property names.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 73 def self.names @_hash = {} if @_hash.nil? @_hash['name'] = 'name' @_hash['idp_type'] = 'idp_type' @_hash['ldap_type'] = 'ldap_type' @_hash['ldap_server_hosts'] = 'ldap_server_hosts' @_hash['ldap_base_dn'] = 'ldap_base_dn' @_hash['ldap_user_filter'] = 'ldap_user_filter' @_hash['ldap_group_attr'] = 'ldap_group_attr' @_hash['ldap_group_dn'] = 'ldap_group_dn' @_hash['ldap_group_filter'] = 'ldap_group_filter' @_hash['id'] = 'id' @_hash['msp_id'] = 'msp_id' @_hash['org_id'] = 'org_id' @_hash['domain'] = 'domain' @_hash['created_time'] = 'created_time' @_hash['modified_time'] = 'modified_time' @_hash end |
.nullables ⇒ Object
An array for nullable fields
115 116 117 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 115 def self.nullables [] end |
.optionals ⇒ Object
An array for optional fields
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
# File 'lib/untitled_api/models/api_v1_orgs_ssos_response.rb', line 94 def self.optionals %w[ name idp_type ldap_type ldap_server_hosts ldap_base_dn ldap_user_filter ldap_group_attr ldap_group_dn ldap_group_filter id msp_id org_id domain created_time modified_time ] end |