Class: CldProvisioning::Models::Operations::GetUsersRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/cld_provisioning/models/operations/getusers_request.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(account_id: nil, pending: nil, ids: nil, emails: nil, prefix: nil, sub_account_id: nil, last_login: nil, from: nil, to: nil, union_type: nil, sort_order: nil, sort_by: nil, page: nil, page_size: nil) ⇒ GetUsersRequest

Returns a new instance of GetUsersRequest.



125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# File 'lib/cld_provisioning/models/operations/getusers_request.rb', line 125

def initialize(
  account_id: nil,
  pending: nil,
  ids: nil,
  emails: nil,
  prefix: nil,
  sub_account_id: nil,
  last_login: nil,
  from: nil,
  to: nil,
  union_type: nil,
  sort_order: nil,
  sort_by: nil,
  page: nil,
  page_size: nil
)
  @account_id = 
  @pending = pending
  @ids = ids
  @emails = emails
  @prefix = prefix
  @sub_account_id = 
  @last_login = 
  @from = from
  @to = to
  @union_type = union_type
  @sort_order = sort_order
  @sort_by = sort_by
  @page = page
  @page_size = page_size
end

Instance Method Details

#==(other) ⇒ Object



158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# File 'lib/cld_provisioning/models/operations/getusers_request.rb', line 158

def ==(other)
  return false unless other.is_a?(self.class)
  return false unless @account_id == other.
  return false unless @pending == other.pending
  return false unless @ids == other.ids
  return false unless @emails == other.emails
  return false unless @prefix == other.prefix
  return false unless @sub_account_id == other.
  return false unless @last_login == other.
  return false unless @from == other.from
  return false unless @to == other.to
  return false unless @union_type == other.union_type
  return false unless @sort_order == other.sort_order
  return false unless @sort_by == other.sort_by
  return false unless @page == other.page
  return false unless @page_size == other.page_size
  true
end