Class: Clerk::Models::Operations::ListOrganizationMembershipsRequest

Inherits:
Object
  • Object
show all
Includes:
Crystalline::MetadataFields
Defined in:
lib/clerk/models/operations/listorganizationmemberships_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:, order_by: nil, user_id: nil, email_address: nil, phone_number: nil, username: nil, web3_wallet: nil, role: nil, query: nil, email_address_query: nil, phone_number_query: nil, username_query: nil, name_query: nil, last_active_at_before: nil, last_active_at_after: nil, created_at_before: nil, created_at_after: nil, limit: 10, offset: 0) ⇒ ListOrganizationMembershipsRequest

Returns a new instance of ListOrganizationMembershipsRequest.



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'lib/clerk/models/operations/listorganizationmemberships_request.rb', line 74

def initialize(organization_id:, order_by: nil, user_id: nil, email_address: nil, phone_number: nil, username: nil, web3_wallet: nil, role: nil, query: nil, email_address_query: nil, phone_number_query: nil, username_query: nil, name_query: nil, last_active_at_before: nil, last_active_at_after: nil, created_at_before: nil, created_at_after: nil, limit: 10, offset: 0)
  @organization_id = organization_id
  @order_by = order_by
  @user_id = user_id
  @email_address = email_address
  @phone_number = phone_number
  @username = username
  @web3_wallet = web3_wallet
  @role = role
  @query = query
  @email_address_query = email_address_query
  @phone_number_query = phone_number_query
  @username_query = username_query
  @name_query = name_query
  @last_active_at_before = last_active_at_before
  @last_active_at_after = last_active_at_after
  @created_at_before = created_at_before
  @created_at_after = created_at_after
  @limit = limit
  @offset = offset
end

Instance Method Details

#==(other) ⇒ Object



97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# File 'lib/clerk/models/operations/listorganizationmemberships_request.rb', line 97

def ==(other)
  return false unless other.is_a? self.class
  return false unless @organization_id == other.organization_id
  return false unless @order_by == other.order_by
  return false unless @user_id == other.user_id
  return false unless @email_address == other.email_address
  return false unless @phone_number == other.phone_number
  return false unless @username == other.username
  return false unless @web3_wallet == other.web3_wallet
  return false unless @role == other.role
  return false unless @query == other.query
  return false unless @email_address_query == other.email_address_query
  return false unless @phone_number_query == other.phone_number_query
  return false unless @username_query == other.username_query
  return false unless @name_query == other.name_query
  return false unless @last_active_at_before == other.last_active_at_before
  return false unless @last_active_at_after == other.last_active_at_after
  return false unless @created_at_before == other.created_at_before
  return false unless @created_at_after == other.created_at_after
  return false unless @limit == other.limit
  return false unless @offset == other.offset
  true
end