Class: Clerk::Models::Operations::GetApiKeysRequest
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::GetApiKeysRequest
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/getapikeys_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(subject:, query: nil, type: 'api_key', include_invalid: Models::Operations::IncludeInvalid::FALSE, limit: 10.0, offset: 0.0) ⇒ GetApiKeysRequest
constructor
A new instance of GetApiKeysRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(subject:, query: nil, type: 'api_key', include_invalid: Models::Operations::IncludeInvalid::FALSE, limit: 10.0, offset: 0.0) ⇒ GetApiKeysRequest
Returns a new instance of GetApiKeysRequest.
29 30 31 32 33 34 35 36 |
# File 'lib/clerk/models/operations/getapikeys_request.rb', line 29 def initialize(subject:, query: nil, type: 'api_key', include_invalid: Models::Operations::IncludeInvalid::FALSE, limit: 10.0, offset: 0.0) @subject = subject @query = query @type = type @include_invalid = include_invalid @limit = limit @offset = offset end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/clerk/models/operations/getapikeys_request.rb', line 39 def ==(other) return false unless other.is_a? self.class return false unless @subject == other.subject return false unless @query == other.query return false unless @type == other.type return false unless @include_invalid == other.include_invalid return false unless @limit == other.limit return false unless @offset == other.offset true end |