Class: Clerk::Models::Operations::ListOrganizationInvitationsRequest
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::ListOrganizationInvitationsRequest
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/listorganizationinvitations_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(organization_id:, status: nil, email_address: nil, order_by: '-created_at', limit: 10, offset: 0) ⇒ ListOrganizationInvitationsRequest
constructor
A new instance of ListOrganizationInvitationsRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(organization_id:, status: nil, email_address: nil, order_by: '-created_at', limit: 10, offset: 0) ⇒ ListOrganizationInvitationsRequest
Returns a new instance of ListOrganizationInvitationsRequest.
37 38 39 40 41 42 43 44 |
# File 'lib/clerk/models/operations/listorganizationinvitations_request.rb', line 37 def initialize(organization_id:, status: nil, email_address: nil, order_by: '-created_at', limit: 10, offset: 0) @organization_id = organization_id @status = status @email_address = email_address @order_by = order_by @limit = limit @offset = offset end |
Instance Method Details
#==(other) ⇒ Object
47 48 49 50 51 52 53 54 55 56 |
# File 'lib/clerk/models/operations/listorganizationinvitations_request.rb', line 47 def ==(other) return false unless other.is_a? self.class return false unless @organization_id == other.organization_id return false unless @status == other.status return false unless @email_address == other.email_address return false unless @order_by == other.order_by return false unless @limit == other.limit return false unless @offset == other.offset true end |