Class: Clerk::Models::Operations::UpdateInstanceRequest

Inherits:
Object
  • Object
show all
Includes:
Crystalline::MetadataFields
Defined in:
lib/clerk/models/operations/updateinstance_request.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(allowed_origins: nil, test_mode: nil, hibp: nil, support_email: nil, clerk_js_version: nil, development_origin: nil, cookieless_dev: nil, url_based_session_syncing: nil, preferred_sign_in_strategy_when_password_required: nil) ⇒ UpdateInstanceRequest

Returns a new instance of UpdateInstanceRequest.



39
40
41
42
43
44
45
46
47
48
49
# File 'lib/clerk/models/operations/updateinstance_request.rb', line 39

def initialize(allowed_origins: nil, test_mode: nil, hibp: nil, support_email: nil, clerk_js_version: nil, development_origin: nil, cookieless_dev: nil, url_based_session_syncing: nil, preferred_sign_in_strategy_when_password_required: nil)
  @allowed_origins = allowed_origins
  @test_mode = test_mode
  @hibp = hibp
  @support_email = support_email
  @clerk_js_version = clerk_js_version
  @development_origin = development_origin
  @cookieless_dev = cookieless_dev
  @url_based_session_syncing = url_based_session_syncing
  @preferred_sign_in_strategy_when_password_required = 
end

Instance Method Details

#==(other) ⇒ Object



52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/clerk/models/operations/updateinstance_request.rb', line 52

def ==(other)
  return false unless other.is_a? self.class
  return false unless @allowed_origins == other.allowed_origins
  return false unless @test_mode == other.test_mode
  return false unless @hibp == other.hibp
  return false unless @support_email == other.support_email
  return false unless @clerk_js_version == other.clerk_js_version
  return false unless @development_origin == other.development_origin
  return false unless @cookieless_dev == other.cookieless_dev
  return false unless @url_based_session_syncing == other.url_based_session_syncing
  return false unless @preferred_sign_in_strategy_when_password_required == other.
  true
end