Class: OpenapiClient::AppInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/openapi_client/models/app_info.rb

Defined Under Namespace

Classes: EnumAttributeValidator

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ AppInfo

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
# File 'lib/openapi_client/models/app_info.rb', line 229

def initialize(attributes = {})
  if (!attributes.is_a?(Hash))
    fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::AppInfo` initialize method"
  end

  # check to see if the attribute exists and convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h|
    if (!self.class.attribute_map.key?(k.to_sym))
      fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::AppInfo`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    end
    h[k.to_sym] = v
  }

  if attributes.key?(:'additional_auth_origins')
    if (value = attributes[:'additional_auth_origins']).is_a?(Array)
      self.additional_auth_origins = value
    end
  else
    self.additional_auth_origins = nil
  end

  if attributes.key?(:'allowed_callback_urls')
    if (value = attributes[:'allowed_callback_urls']).is_a?(Array)
      self.allowed_callback_urls = value
    end
  else
    self.allowed_callback_urls = nil
  end

  if attributes.key?(:'allowed_identifier')
    self.allowed_identifier = attributes[:'allowed_identifier']
  else
    self.allowed_identifier = nil
  end

  if attributes.key?(:'allowed_logout_urls')
    if (value = attributes[:'allowed_logout_urls']).is_a?(Array)
      self.allowed_logout_urls = value
    end
  else
    self.allowed_logout_urls = nil
  end

  if attributes.key?(:'application_login_uri')
    self. = attributes[:'application_login_uri']
  else
    self. = nil
  end

  if attributes.key?(:'auth_fallback_method')
    self.auth_fallback_method = attributes[:'auth_fallback_method']
  else
    self.auth_fallback_method = nil
  end

  if attributes.key?(:'auth_fallback_method_ttl')
    self.auth_fallback_method_ttl = attributes[:'auth_fallback_method_ttl']
  else
    self.auth_fallback_method_ttl = nil
  end

  if attributes.key?(:'auth_methods')
    self.auth_methods = attributes[:'auth_methods']
  else
    self.auth_methods = nil
  end

  if attributes.key?(:'auth_origin')
    self.auth_origin = attributes[:'auth_origin']
  else
    self.auth_origin = nil
  end

  if attributes.key?(:'created_at')
    self.created_at = attributes[:'created_at']
  else
    self.created_at = nil
  end

  if attributes.key?(:'default_language')
    self.default_language = attributes[:'default_language']
  else
    self.default_language = nil
  end

  if attributes.key?(:'id')
    self.id = attributes[:'id']
  else
    self.id = nil
  end

  if attributes.key?(:'layouts')
    self.layouts = attributes[:'layouts']
  else
    self.layouts = nil
  end

  if attributes.key?(:'login_url')
    self. = attributes[:'login_url']
  else
    self. = nil
  end

  if attributes.key?(:'light_logo_url')
    self.light_logo_url = attributes[:'light_logo_url']
  end

  if attributes.key?(:'dark_logo_url')
    self.dark_logo_url = attributes[:'dark_logo_url']
  end

  if attributes.key?(:'name')
    self.name = attributes[:'name']
  else
    self.name = nil
  end

  if attributes.key?(:'hosted')
    self.hosted = attributes[:'hosted']
  else
    self.hosted = nil
  end

  if attributes.key?(:'hosted_subdomain')
    self.hosted_subdomain = attributes[:'hosted_subdomain']
  else
    self.hosted_subdomain = nil
  end

  if attributes.key?(:'id_token_lifetime')
    self.id_token_lifetime = attributes[:'id_token_lifetime']
  end

  if attributes.key?(:'passage_branding')
    self.passage_branding = attributes[:'passage_branding']
  else
    self.passage_branding = nil
  end

  if attributes.key?(:'profile_management')
    self.profile_management = attributes[:'profile_management']
  else
    self.profile_management = nil
  end

  if attributes.key?(:'public_signup')
    self. = attributes[:'public_signup']
  else
    self. = nil
  end

  if attributes.key?(:'redirect_url')
    self.redirect_url = attributes[:'redirect_url']
  else
    self.redirect_url = nil
  end

  if attributes.key?(:'refresh_absolute_lifetime')
    self.refresh_absolute_lifetime = attributes[:'refresh_absolute_lifetime']
  else
    self.refresh_absolute_lifetime = nil
  end

  if attributes.key?(:'refresh_enabled')
    self.refresh_enabled = attributes[:'refresh_enabled']
  else
    self.refresh_enabled = nil
  end

  if attributes.key?(:'refresh_inactivity_lifetime')
    self.refresh_inactivity_lifetime = attributes[:'refresh_inactivity_lifetime']
  else
    self.refresh_inactivity_lifetime = nil
  end

  if attributes.key?(:'require_email_verification')
    self.require_email_verification = attributes[:'require_email_verification']
  else
    self.require_email_verification = nil
  end

  if attributes.key?(:'require_identifier_verification')
    self.require_identifier_verification = attributes[:'require_identifier_verification']
  else
    self.require_identifier_verification = nil
  end

  if attributes.key?(:'required_identifier')
    self.required_identifier = attributes[:'required_identifier']
  else
    self.required_identifier = nil
  end

  if attributes.key?(:'role')
    self.role = attributes[:'role']
  else
    self.role = nil
  end

  if attributes.key?(:'rsa_public_key')
    self.rsa_public_key = attributes[:'rsa_public_key']
  else
    self.rsa_public_key = nil
  end

  if attributes.key?(:'secret')
    self.secret = attributes[:'secret']
  end

  if attributes.key?(:'session_timeout_length')
    self.session_timeout_length = attributes[:'session_timeout_length']
  else
    self.session_timeout_length = nil
  end

  if attributes.key?(:'type')
    self.type = attributes[:'type']
  else
    self.type = nil
  end

  if attributes.key?(:'user_metadata_schema')
    if (value = attributes[:'user_metadata_schema']).is_a?(Array)
      self. = value
    end
  else
    self. = nil
  end

  if attributes.key?(:'technologies')
    if (value = attributes[:'technologies']).is_a?(Array)
      self.technologies = value
    end
  else
    self.technologies = nil
  end

  if attributes.key?(:'element_customization')
    self.element_customization = attributes[:'element_customization']
  else
    self.element_customization = nil
  end

  if attributes.key?(:'element_customization_dark')
    self.element_customization_dark = attributes[:'element_customization_dark']
  else
    self.element_customization_dark = nil
  end
end

Instance Attribute Details

#additional_auth_originsObject

Returns the value of attribute additional_auth_origins.



18
19
20
# File 'lib/openapi_client/models/app_info.rb', line 18

def additional_auth_origins
  @additional_auth_origins
end

#allowed_callback_urlsObject

The valid URLs where users can be redirected after authentication.



21
22
23
# File 'lib/openapi_client/models/app_info.rb', line 21

def allowed_callback_urls
  @allowed_callback_urls
end

#allowed_identifierObject

Returns the value of attribute allowed_identifier.



23
24
25
# File 'lib/openapi_client/models/app_info.rb', line 23

def allowed_identifier
  @allowed_identifier
end

#allowed_logout_urlsObject

The valid URLs where users can be redirected after logging out.



26
27
28
# File 'lib/openapi_client/models/app_info.rb', line 26

def allowed_logout_urls
  @allowed_logout_urls
end

#application_login_uriObject

A route within your application that redirects to the Authorization URL endpoint.



29
30
31
# File 'lib/openapi_client/models/app_info.rb', line 29

def 
  @application_login_uri
end

#auth_fallback_methodObject

Deprecated Property. Please refer to ‘auth_methods` to view settings for individual authentication methods.



32
33
34
# File 'lib/openapi_client/models/app_info.rb', line 32

def auth_fallback_method
  @auth_fallback_method
end

#auth_fallback_method_ttlObject

Deprecated Property. Please refer to ‘auth_methods` to view settings for individual authentication methods.



35
36
37
# File 'lib/openapi_client/models/app_info.rb', line 35

def auth_fallback_method_ttl
  @auth_fallback_method_ttl
end

#auth_methodsObject

Returns the value of attribute auth_methods.



37
38
39
# File 'lib/openapi_client/models/app_info.rb', line 37

def auth_methods
  @auth_methods
end

#auth_originObject

Returns the value of attribute auth_origin.



39
40
41
# File 'lib/openapi_client/models/app_info.rb', line 39

def auth_origin
  @auth_origin
end

#created_atObject

Returns the value of attribute created_at.



41
42
43
# File 'lib/openapi_client/models/app_info.rb', line 41

def created_at
  @created_at
end

#dark_logo_urlObject

Returns the value of attribute dark_logo_url.



53
54
55
# File 'lib/openapi_client/models/app_info.rb', line 53

def dark_logo_url
  @dark_logo_url
end

#default_languageObject

Returns the value of attribute default_language.



43
44
45
# File 'lib/openapi_client/models/app_info.rb', line 43

def default_language
  @default_language
end

#element_customizationObject

Returns the value of attribute element_customization.



100
101
102
# File 'lib/openapi_client/models/app_info.rb', line 100

def element_customization
  @element_customization
end

#element_customization_darkObject

Returns the value of attribute element_customization_dark.



102
103
104
# File 'lib/openapi_client/models/app_info.rb', line 102

def element_customization_dark
  @element_customization_dark
end

#hostedObject

whether or not the app’s login page hosted by passage



58
59
60
# File 'lib/openapi_client/models/app_info.rb', line 58

def hosted
  @hosted
end

#hosted_subdomainObject

the subdomain of the app’s hosted login page



61
62
63
# File 'lib/openapi_client/models/app_info.rb', line 61

def hosted_subdomain
  @hosted_subdomain
end

#idObject

Returns the value of attribute id.



45
46
47
# File 'lib/openapi_client/models/app_info.rb', line 45

def id
  @id
end

#id_token_lifetimeObject

Returns the value of attribute id_token_lifetime.



63
64
65
# File 'lib/openapi_client/models/app_info.rb', line 63

def id_token_lifetime
  @id_token_lifetime
end

#layoutsObject

Returns the value of attribute layouts.



47
48
49
# File 'lib/openapi_client/models/app_info.rb', line 47

def layouts
  @layouts
end

#light_logo_urlObject

Returns the value of attribute light_logo_url.



51
52
53
# File 'lib/openapi_client/models/app_info.rb', line 51

def light_logo_url
  @light_logo_url
end

#login_urlObject

Returns the value of attribute login_url.



49
50
51
# File 'lib/openapi_client/models/app_info.rb', line 49

def 
  @login_url
end

#nameObject

Returns the value of attribute name.



55
56
57
# File 'lib/openapi_client/models/app_info.rb', line 55

def name
  @name
end

#passage_brandingObject

Returns the value of attribute passage_branding.



65
66
67
# File 'lib/openapi_client/models/app_info.rb', line 65

def passage_branding
  @passage_branding
end

#profile_managementObject

Returns the value of attribute profile_management.



67
68
69
# File 'lib/openapi_client/models/app_info.rb', line 67

def profile_management
  @profile_management
end

#public_signupObject

Returns the value of attribute public_signup.



69
70
71
# File 'lib/openapi_client/models/app_info.rb', line 69

def 
  @public_signup
end

#redirect_urlObject

Returns the value of attribute redirect_url.



71
72
73
# File 'lib/openapi_client/models/app_info.rb', line 71

def redirect_url
  @redirect_url
end

#refresh_absolute_lifetimeObject

Returns the value of attribute refresh_absolute_lifetime.



73
74
75
# File 'lib/openapi_client/models/app_info.rb', line 73

def refresh_absolute_lifetime
  @refresh_absolute_lifetime
end

#refresh_enabledObject

Returns the value of attribute refresh_enabled.



75
76
77
# File 'lib/openapi_client/models/app_info.rb', line 75

def refresh_enabled
  @refresh_enabled
end

#refresh_inactivity_lifetimeObject

Returns the value of attribute refresh_inactivity_lifetime.



77
78
79
# File 'lib/openapi_client/models/app_info.rb', line 77

def refresh_inactivity_lifetime
  @refresh_inactivity_lifetime
end

#require_email_verificationObject

Returns the value of attribute require_email_verification.



79
80
81
# File 'lib/openapi_client/models/app_info.rb', line 79

def require_email_verification
  @require_email_verification
end

#require_identifier_verificationObject

Returns the value of attribute require_identifier_verification.



81
82
83
# File 'lib/openapi_client/models/app_info.rb', line 81

def require_identifier_verification
  @require_identifier_verification
end

#required_identifierObject

Returns the value of attribute required_identifier.



83
84
85
# File 'lib/openapi_client/models/app_info.rb', line 83

def required_identifier
  @required_identifier
end

#roleObject

Returns the value of attribute role.



85
86
87
# File 'lib/openapi_client/models/app_info.rb', line 85

def role
  @role
end

#rsa_public_keyObject

Returns the value of attribute rsa_public_key.



87
88
89
# File 'lib/openapi_client/models/app_info.rb', line 87

def rsa_public_key
  @rsa_public_key
end

#secretObject

can only be retrieved by an app admin



90
91
92
# File 'lib/openapi_client/models/app_info.rb', line 90

def secret
  @secret
end

#session_timeout_lengthObject

Returns the value of attribute session_timeout_length.



92
93
94
# File 'lib/openapi_client/models/app_info.rb', line 92

def session_timeout_length
  @session_timeout_length
end

#technologiesObject

Returns the value of attribute technologies.



98
99
100
# File 'lib/openapi_client/models/app_info.rb', line 98

def technologies
  @technologies
end

#typeObject

Returns the value of attribute type.



94
95
96
# File 'lib/openapi_client/models/app_info.rb', line 94

def type
  @type
end

#user_metadata_schemaObject

Returns the value of attribute user_metadata_schema.



96
97
98
# File 'lib/openapi_client/models/app_info.rb', line 96

def 
  @user_metadata_schema
end

Class Method Details

._deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
# File 'lib/openapi_client/models/app_info.rb', line 766

def self._deserialize(type, value)
  case type.to_sym
  when :Time
    Time.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :Boolean
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    # models (e.g. Pet) or oneOf
    klass = OpenapiClient.const_get(type)
    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
  end
end

.acceptable_attributesObject

Returns all the JSON keys this model knows about



172
173
174
# File 'lib/openapi_client/models/app_info.rb', line 172

def self.acceptable_attributes
  attribute_map.values
end

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



127
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
163
164
165
166
167
168
169
# File 'lib/openapi_client/models/app_info.rb', line 127

def self.attribute_map
  {
    :'additional_auth_origins' => :'additional_auth_origins',
    :'allowed_callback_urls' => :'allowed_callback_urls',
    :'allowed_identifier' => :'allowed_identifier',
    :'allowed_logout_urls' => :'allowed_logout_urls',
    :'application_login_uri' => :'application_login_uri',
    :'auth_fallback_method' => :'auth_fallback_method',
    :'auth_fallback_method_ttl' => :'auth_fallback_method_ttl',
    :'auth_methods' => :'auth_methods',
    :'auth_origin' => :'auth_origin',
    :'created_at' => :'created_at',
    :'default_language' => :'default_language',
    :'id' => :'id',
    :'layouts' => :'layouts',
    :'login_url' => :'login_url',
    :'light_logo_url' => :'light_logo_url',
    :'dark_logo_url' => :'dark_logo_url',
    :'name' => :'name',
    :'hosted' => :'hosted',
    :'hosted_subdomain' => :'hosted_subdomain',
    :'id_token_lifetime' => :'id_token_lifetime',
    :'passage_branding' => :'passage_branding',
    :'profile_management' => :'profile_management',
    :'public_signup' => :'public_signup',
    :'redirect_url' => :'redirect_url',
    :'refresh_absolute_lifetime' => :'refresh_absolute_lifetime',
    :'refresh_enabled' => :'refresh_enabled',
    :'refresh_inactivity_lifetime' => :'refresh_inactivity_lifetime',
    :'require_email_verification' => :'require_email_verification',
    :'require_identifier_verification' => :'require_identifier_verification',
    :'required_identifier' => :'required_identifier',
    :'role' => :'role',
    :'rsa_public_key' => :'rsa_public_key',
    :'secret' => :'secret',
    :'session_timeout_length' => :'session_timeout_length',
    :'type' => :'type',
    :'user_metadata_schema' => :'user_metadata_schema',
    :'technologies' => :'technologies',
    :'element_customization' => :'element_customization',
    :'element_customization_dark' => :'element_customization_dark'
  }
end

.build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
# File 'lib/openapi_client/models/app_info.rb', line 742

def self.build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  attributes = attributes.transform_keys(&:to_sym)
  transformed_hash = {}
  openapi_types.each_pair do |key, type|
    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
      transformed_hash["#{key}"] = nil
    elsif type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the attribute
      # is documented as an array but the input is not
      if attributes[attribute_map[key]].is_a?(Array)
        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
      end
    elsif !attributes[attribute_map[key]].nil?
      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    end
  end
  new(transformed_hash)
end

.openapi_nullableObject

List of attributes with nullable: true



222
223
224
225
# File 'lib/openapi_client/models/app_info.rb', line 222

def self.openapi_nullable
  Set.new([
  ])
end

.openapi_typesObject

Attribute type mapping.



177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
# File 'lib/openapi_client/models/app_info.rb', line 177

def self.openapi_types
  {
    :'additional_auth_origins' => :'Array<String>',
    :'allowed_callback_urls' => :'Array<String>',
    :'allowed_identifier' => :'String',
    :'allowed_logout_urls' => :'Array<String>',
    :'application_login_uri' => :'String',
    :'auth_fallback_method' => :'String',
    :'auth_fallback_method_ttl' => :'Integer',
    :'auth_methods' => :'AuthMethods',
    :'auth_origin' => :'String',
    :'created_at' => :'Time',
    :'default_language' => :'String',
    :'id' => :'String',
    :'layouts' => :'Layouts',
    :'login_url' => :'String',
    :'light_logo_url' => :'String',
    :'dark_logo_url' => :'String',
    :'name' => :'String',
    :'hosted' => :'Boolean',
    :'hosted_subdomain' => :'String',
    :'id_token_lifetime' => :'Integer',
    :'passage_branding' => :'Boolean',
    :'profile_management' => :'Boolean',
    :'public_signup' => :'Boolean',
    :'redirect_url' => :'String',
    :'refresh_absolute_lifetime' => :'Integer',
    :'refresh_enabled' => :'Boolean',
    :'refresh_inactivity_lifetime' => :'Integer',
    :'require_email_verification' => :'Boolean',
    :'require_identifier_verification' => :'Boolean',
    :'required_identifier' => :'String',
    :'role' => :'String',
    :'rsa_public_key' => :'String',
    :'secret' => :'String',
    :'session_timeout_length' => :'Integer',
    :'type' => :'String',
    :'user_metadata_schema' => :'Array<UserMetadataField>',
    :'technologies' => :'Array<Technologies>',
    :'element_customization' => :'ElementCustomization',
    :'element_customization_dark' => :'ElementCustomization'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
# File 'lib/openapi_client/models/app_info.rb', line 683

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      additional_auth_origins == o.additional_auth_origins &&
      allowed_callback_urls == o.allowed_callback_urls &&
      allowed_identifier == o.allowed_identifier &&
      allowed_logout_urls == o.allowed_logout_urls &&
       == o. &&
      auth_fallback_method == o.auth_fallback_method &&
      auth_fallback_method_ttl == o.auth_fallback_method_ttl &&
      auth_methods == o.auth_methods &&
      auth_origin == o.auth_origin &&
      created_at == o.created_at &&
      default_language == o.default_language &&
      id == o.id &&
      layouts == o.layouts &&
       == o. &&
      light_logo_url == o.light_logo_url &&
      dark_logo_url == o.dark_logo_url &&
      name == o.name &&
      hosted == o.hosted &&
      hosted_subdomain == o.hosted_subdomain &&
      id_token_lifetime == o.id_token_lifetime &&
      passage_branding == o.passage_branding &&
      profile_management == o.profile_management &&
       == o. &&
      redirect_url == o.redirect_url &&
      refresh_absolute_lifetime == o.refresh_absolute_lifetime &&
      refresh_enabled == o.refresh_enabled &&
      refresh_inactivity_lifetime == o.refresh_inactivity_lifetime &&
      require_email_verification == o.require_email_verification &&
      require_identifier_verification == o.require_identifier_verification &&
      required_identifier == o.required_identifier &&
      role == o.role &&
      rsa_public_key == o.rsa_public_key &&
      secret == o.secret &&
      session_timeout_length == o.session_timeout_length &&
      type == o.type &&
       == o. &&
      technologies == o.technologies &&
      element_customization == o.element_customization &&
      element_customization_dark == o.element_customization_dark
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



837
838
839
840
841
842
843
844
845
846
847
848
849
# File 'lib/openapi_client/models/app_info.rb', line 837

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map { |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


729
730
731
# File 'lib/openapi_client/models/app_info.rb', line 729

def eql?(o)
  self == o
end

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



735
736
737
# File 'lib/openapi_client/models/app_info.rb', line 735

def hash
  [additional_auth_origins, allowed_callback_urls, allowed_identifier, allowed_logout_urls, , auth_fallback_method, auth_fallback_method_ttl, auth_methods, auth_origin, created_at, default_language, id, layouts, , light_logo_url, dark_logo_url, name, hosted, hosted_subdomain, id_token_lifetime, passage_branding, profile_management, , redirect_url, refresh_absolute_lifetime, refresh_enabled, refresh_inactivity_lifetime, require_email_verification, require_identifier_verification, required_identifier, role, rsa_public_key, secret, session_timeout_length, type, , technologies, element_customization, element_customization_dark].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
# File 'lib/openapi_client/models/app_info.rb', line 481

def list_invalid_properties
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
  invalid_properties = Array.new
  if @additional_auth_origins.nil?
    invalid_properties.push('invalid value for "additional_auth_origins", additional_auth_origins cannot be nil.')
  end

  if @allowed_callback_urls.nil?
    invalid_properties.push('invalid value for "allowed_callback_urls", allowed_callback_urls cannot be nil.')
  end

  if @allowed_identifier.nil?
    invalid_properties.push('invalid value for "allowed_identifier", allowed_identifier cannot be nil.')
  end

  if @allowed_logout_urls.nil?
    invalid_properties.push('invalid value for "allowed_logout_urls", allowed_logout_urls cannot be nil.')
  end

  if @application_login_uri.nil?
    invalid_properties.push('invalid value for "application_login_uri", application_login_uri cannot be nil.')
  end

  if @auth_fallback_method.nil?
    invalid_properties.push('invalid value for "auth_fallback_method", auth_fallback_method cannot be nil.')
  end

  if @auth_fallback_method_ttl.nil?
    invalid_properties.push('invalid value for "auth_fallback_method_ttl", auth_fallback_method_ttl cannot be nil.')
  end

  if @auth_methods.nil?
    invalid_properties.push('invalid value for "auth_methods", auth_methods cannot be nil.')
  end

  if @auth_origin.nil?
    invalid_properties.push('invalid value for "auth_origin", auth_origin cannot be nil.')
  end

  if @created_at.nil?
    invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
  end

  if @default_language.nil?
    invalid_properties.push('invalid value for "default_language", default_language cannot be nil.')
  end

  if @id.nil?
    invalid_properties.push('invalid value for "id", id cannot be nil.')
  end

  if @layouts.nil?
    invalid_properties.push('invalid value for "layouts", layouts cannot be nil.')
  end

  if @login_url.nil?
    invalid_properties.push('invalid value for "login_url", login_url cannot be nil.')
  end

  if @name.nil?
    invalid_properties.push('invalid value for "name", name cannot be nil.')
  end

  if @hosted.nil?
    invalid_properties.push('invalid value for "hosted", hosted cannot be nil.')
  end

  if @hosted_subdomain.nil?
    invalid_properties.push('invalid value for "hosted_subdomain", hosted_subdomain cannot be nil.')
  end

  if @passage_branding.nil?
    invalid_properties.push('invalid value for "passage_branding", passage_branding cannot be nil.')
  end

  if @profile_management.nil?
    invalid_properties.push('invalid value for "profile_management", profile_management cannot be nil.')
  end

  if @public_signup.nil?
    invalid_properties.push('invalid value for "public_signup", public_signup cannot be nil.')
  end

  if @redirect_url.nil?
    invalid_properties.push('invalid value for "redirect_url", redirect_url cannot be nil.')
  end

  if @refresh_absolute_lifetime.nil?
    invalid_properties.push('invalid value for "refresh_absolute_lifetime", refresh_absolute_lifetime cannot be nil.')
  end

  if @refresh_enabled.nil?
    invalid_properties.push('invalid value for "refresh_enabled", refresh_enabled cannot be nil.')
  end

  if @refresh_inactivity_lifetime.nil?
    invalid_properties.push('invalid value for "refresh_inactivity_lifetime", refresh_inactivity_lifetime cannot be nil.')
  end

  if @require_email_verification.nil?
    invalid_properties.push('invalid value for "require_email_verification", require_email_verification cannot be nil.')
  end

  if @require_identifier_verification.nil?
    invalid_properties.push('invalid value for "require_identifier_verification", require_identifier_verification cannot be nil.')
  end

  if @required_identifier.nil?
    invalid_properties.push('invalid value for "required_identifier", required_identifier cannot be nil.')
  end

  if @role.nil?
    invalid_properties.push('invalid value for "role", role cannot be nil.')
  end

  if @rsa_public_key.nil?
    invalid_properties.push('invalid value for "rsa_public_key", rsa_public_key cannot be nil.')
  end

  if @session_timeout_length.nil?
    invalid_properties.push('invalid value for "session_timeout_length", session_timeout_length cannot be nil.')
  end

  if @type.nil?
    invalid_properties.push('invalid value for "type", type cannot be nil.')
  end

  if @user_metadata_schema.nil?
    invalid_properties.push('invalid value for "user_metadata_schema", user_metadata_schema cannot be nil.')
  end

  if @technologies.nil?
    invalid_properties.push('invalid value for "technologies", technologies cannot be nil.')
  end

  if @element_customization.nil?
    invalid_properties.push('invalid value for "element_customization", element_customization cannot be nil.')
  end

  if @element_customization_dark.nil?
    invalid_properties.push('invalid value for "element_customization_dark", element_customization_dark cannot be nil.')
  end

  invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



813
814
815
# File 'lib/openapi_client/models/app_info.rb', line 813

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



819
820
821
822
823
824
825
826
827
828
829
830
831
# File 'lib/openapi_client/models/app_info.rb', line 819

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    if value.nil?
      is_nullable = self.class.openapi_nullable.include?(attr)
      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    end

    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



807
808
809
# File 'lib/openapi_client/models/app_info.rb', line 807

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
# File 'lib/openapi_client/models/app_info.rb', line 629

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @additional_auth_origins.nil?
  return false if @allowed_callback_urls.nil?
  return false if @allowed_identifier.nil?
  return false if @allowed_logout_urls.nil?
  return false if @application_login_uri.nil?
  return false if @auth_fallback_method.nil?
  return false if @auth_fallback_method_ttl.nil?
  return false if @auth_methods.nil?
  return false if @auth_origin.nil?
  return false if @created_at.nil?
  return false if @default_language.nil?
  return false if @id.nil?
  return false if @layouts.nil?
  return false if @login_url.nil?
  return false if @name.nil?
  return false if @hosted.nil?
  return false if @hosted_subdomain.nil?
  return false if @passage_branding.nil?
  return false if @profile_management.nil?
  return false if @public_signup.nil?
  return false if @redirect_url.nil?
  return false if @refresh_absolute_lifetime.nil?
  return false if @refresh_enabled.nil?
  return false if @refresh_inactivity_lifetime.nil?
  return false if @require_email_verification.nil?
  return false if @require_identifier_verification.nil?
  return false if @required_identifier.nil?
  return false if @role.nil?
  return false if @rsa_public_key.nil?
  return false if @session_timeout_length.nil?
  return false if @type.nil?
  type_validator = EnumAttributeValidator.new('String', ["complete", "flex"])
  return false unless type_validator.valid?(@type)
  return false if @user_metadata_schema.nil?
  return false if @technologies.nil?
  return false if @element_customization.nil?
  return false if @element_customization_dark.nil?
  true
end