Class: Clerk::Models::Operations::GetOrganizationRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(organization_id:, include_members_count: nil, include_missing_member_with_elevated_permissions: nil) ⇒ GetOrganizationRequest

Returns a new instance of GetOrganizationRequest.



23
24
25
26
27
# File 'lib/clerk/models/operations/getorganization_request.rb', line 23

def initialize(organization_id:, include_members_count: nil, include_missing_member_with_elevated_permissions: nil)
  @organization_id = organization_id
  @include_members_count = include_members_count
  @include_missing_member_with_elevated_permissions = include_missing_member_with_elevated_permissions
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/clerk/models/operations/getorganization_request.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @organization_id == other.organization_id
  return false unless @include_members_count == other.include_members_count
  return false unless @include_missing_member_with_elevated_permissions == other.include_missing_member_with_elevated_permissions
  true
end