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