Class: Clerk::Models::Operations::UpdateOrganizationRoleRequestBody
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::UpdateOrganizationRoleRequestBody
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/updateorganizationrole_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name: nil, key: nil, description: nil, permissions: nil) ⇒ UpdateOrganizationRoleRequestBody
constructor
A new instance of UpdateOrganizationRoleRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(name: nil, key: nil, description: nil, permissions: nil) ⇒ UpdateOrganizationRoleRequestBody
Returns a new instance of UpdateOrganizationRoleRequestBody.
25 26 27 28 29 30 |
# File 'lib/clerk/models/operations/updateorganizationrole_requestbody.rb', line 25 def initialize(name: nil, key: nil, description: nil, permissions: nil) @name = name @key = key @description = description = end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/clerk/models/operations/updateorganizationrole_requestbody.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @name == other.name return false unless @key == other.key return false unless @description == other.description return false unless == other. true end |