Class: Clerk::Models::Operations::UpdateOrganizationRequestBody
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::UpdateOrganizationRequestBody
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/updateorganization_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(public_metadata: nil, private_metadata: nil, name: nil, slug: nil, max_allowed_memberships: nil, admin_delete_enabled: nil, created_at: nil) ⇒ UpdateOrganizationRequestBody
constructor
A new instance of UpdateOrganizationRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(public_metadata: nil, private_metadata: nil, name: nil, slug: nil, max_allowed_memberships: nil, admin_delete_enabled: nil, created_at: nil) ⇒ UpdateOrganizationRequestBody
Returns a new instance of UpdateOrganizationRequestBody.
33 34 35 36 37 38 39 40 41 |
# File 'lib/clerk/models/operations/updateorganization_requestbody.rb', line 33 def initialize(public_metadata: nil, private_metadata: nil, name: nil, slug: nil, max_allowed_memberships: nil, admin_delete_enabled: nil, created_at: nil) = = @name = name @slug = slug @max_allowed_memberships = max_allowed_memberships @admin_delete_enabled = admin_delete_enabled @created_at = created_at end |
Instance Method Details
#==(other) ⇒ Object
44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/clerk/models/operations/updateorganization_requestbody.rb', line 44 def ==(other) return false unless other.is_a? self.class return false unless == other. return false unless == other. return false unless @name == other.name return false unless @slug == other.slug return false unless @max_allowed_memberships == other.max_allowed_memberships return false unless @admin_delete_enabled == other.admin_delete_enabled return false unless @created_at == other.created_at true end |