Class: Clerk::Models::Operations::UpdateInstanceAuthConfigRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(from_email_address: nil, progressive_sign_up: nil, test_mode: nil, restricted_to_allowlist: false) ⇒ UpdateInstanceAuthConfigRequest

Returns a new instance of UpdateInstanceAuthConfigRequest.



28
29
30
31
32
33
# File 'lib/clerk/models/operations/updateinstanceauthconfig_request.rb', line 28

def initialize(from_email_address: nil, progressive_sign_up: nil, test_mode: nil, restricted_to_allowlist: false)
  @from_email_address = from_email_address
  @progressive_sign_up = 
  @test_mode = test_mode
  @restricted_to_allowlist = restricted_to_allowlist
end

Instance Method Details

#==(other) ⇒ Object



36
37
38
39
40
41
42
43
# File 'lib/clerk/models/operations/updateinstanceauthconfig_request.rb', line 36

def ==(other)
  return false unless other.is_a? self.class
  return false unless @from_email_address == other.from_email_address
  return false unless @progressive_sign_up == other.
  return false unless @test_mode == other.test_mode
  return false unless @restricted_to_allowlist == other.restricted_to_allowlist
  true
end