UpdateOrganizationRequest class

Constructors

UpdateOrganizationRequest.new({Map<String, Object>? publicMetadata = const {}, Map<String, Object>? privateMetadata = const {}, String? name, String? slug, int? maxAllowedMemberships, bool? adminDeleteEnabled, String? createdAt})
Returns a new UpdateOrganizationRequest instance.

Properties

adminDeleteEnabled bool?
If true, an admin can delete this organization with the Frontend API.
getter/setter pair
createdAt String?
A custom date/time denoting when the organization was created, specified in RFC3339 format (e.g. 2012-10-20T07:15:20.902Z).
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
maxAllowedMemberships int?
The maximum number of memberships allowed for this organization
getter/setter pair
name String?
The new name of the organization. May not contain URLs or HTML. Max length: 256
getter/setter pair
privateMetadata Map<String, Object>?
Metadata saved on the organization that is only visible to your backend.
getter/setter pair
publicMetadata Map<String, Object>?
Metadata saved on the organization, that is visible to both your frontend and backend.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slug String?
The new slug of the organization, which needs to be unique in the instance
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) UpdateOrganizationRequest?
Returns a new UpdateOrganizationRequest instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<UpdateOrganizationRequest>
mapFromJson(dynamic json) Map<String, UpdateOrganizationRequest>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<UpdateOrganizationRequest>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.