SpaceCreate class
This is the request object used when creating a new space.
Constructors
-
SpaceCreate({required String key, required String name, SpaceDescriptionCreate? description, List<
SpacePermissionCreate> ? permissions}) -
SpaceCreate.fromJson(Map<
String, Object?> json) -
factory
Properties
- description → SpaceDescriptionCreate?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
The key for the new space. Format: See Space
keys.
final
- name → String
-
The name of the new space.
final
-
permissions
→ List<
SpacePermissionCreate> -
The permissions for the new space. If no permissions are provided, the
Confluence default space permissions
are applied. Note that if permissions are provided, the space is
created with only the provided set of permissions, not
including the default space permissions. Space permissions
can be modified after creation using the space permissions
endpoints, and a private space can be created using the
create private space endpoint.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? key, String? name, SpaceDescriptionCreate? description, List< SpacePermissionCreate> ? permissions}) → SpaceCreate -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited