Class: Clerk::Models::Operations::UpdateRoleSetRequestBody
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::UpdateRoleSetRequestBody
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/updateroleset_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name: nil, key: nil, description: nil, type: nil, default_role_key: nil, creator_role_key: nil) ⇒ UpdateRoleSetRequestBody
constructor
A new instance of UpdateRoleSetRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(name: nil, key: nil, description: nil, type: nil, default_role_key: nil, creator_role_key: nil) ⇒ UpdateRoleSetRequestBody
Returns a new instance of UpdateRoleSetRequestBody.
32 33 34 35 36 37 38 39 |
# File 'lib/clerk/models/operations/updateroleset_requestbody.rb', line 32 def initialize(name: nil, key: nil, description: nil, type: nil, default_role_key: nil, creator_role_key: nil) @name = name @key = key @description = description @type = type @default_role_key = default_role_key @creator_role_key = creator_role_key end |
Instance Method Details
#==(other) ⇒ Object
42 43 44 45 46 47 48 49 50 51 |
# File 'lib/clerk/models/operations/updateroleset_requestbody.rb', line 42 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 @type == other.type return false unless @default_role_key == other.default_role_key return false unless @creator_role_key == other.creator_role_key true end |