Class: Clerk::Models::Operations::GetUserListRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(email_address: nil, phone_number: nil, external_id: nil, username: nil, web3_wallet: nil, user_id: nil, organization_id: nil, query: nil, email_address_query: nil, phone_number_query: nil, username_query: nil, name_query: nil, banned: nil, last_active_at_before: nil, last_active_at_after: nil, last_active_at_since: nil, created_at_before: nil, created_at_after: nil, last_sign_in_at_before: nil, last_sign_in_at_after: nil, limit: 10, offset: 0, order_by: '-created_at') ⇒ GetUserListRequest

Returns a new instance of GetUserListRequest.



112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# File 'lib/clerk/models/operations/getuserlist_request.rb', line 112

def initialize(email_address: nil, phone_number: nil, external_id: nil, username: nil, web3_wallet: nil, user_id: nil, organization_id: nil, query: nil, email_address_query: nil, phone_number_query: nil, username_query: nil, name_query: nil, banned: nil, last_active_at_before: nil, last_active_at_after: nil, last_active_at_since: nil, created_at_before: nil, created_at_after: nil, last_sign_in_at_before: nil, last_sign_in_at_after: nil, limit: 10, offset: 0, order_by: '-created_at')
  @email_address = email_address
  @phone_number = phone_number
  @external_id = external_id
  @username = username
  @web3_wallet = web3_wallet
  @user_id = user_id
  @organization_id = organization_id
  @query = query
  @email_address_query = email_address_query
  @phone_number_query = phone_number_query
  @username_query = username_query
  @name_query = name_query
  @banned = banned
  @last_active_at_before = last_active_at_before
  @last_active_at_after = last_active_at_after
  @last_active_at_since = last_active_at_since
  @created_at_before = created_at_before
  @created_at_after = created_at_after
   = 
   = 
  @limit = limit
  @offset = offset
  @order_by = order_by
end

Instance Method Details

#==(other) ⇒ Object



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
# File 'lib/clerk/models/operations/getuserlist_request.rb', line 139

def ==(other)
  return false unless other.is_a? self.class
  return false unless @email_address == other.email_address
  return false unless @phone_number == other.phone_number
  return false unless @external_id == other.external_id
  return false unless @username == other.username
  return false unless @web3_wallet == other.web3_wallet
  return false unless @user_id == other.user_id
  return false unless @organization_id == other.organization_id
  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 @banned == other.banned
  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 @last_active_at_since == other.last_active_at_since
  return false unless @created_at_before == other.created_at_before
  return false unless @created_at_after == other.created_at_after
  return false unless  == other.
  return false unless  == other.
  return false unless @limit == other.limit
  return false unless @offset == other.offset
  return false unless @order_by == other.order_by
  true
end