Klasse SpaceCreate

java.lang.Object
io.github.primelib.confluence4j.rest.v1.model.SpaceCreate

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class SpaceCreate extends Object
SpaceCreate
  • Felddetails

    • key

      protected String key
      The key for the new space. Format: See [Space keys](https://confluence.atlassian.com/x/lqNMMQ).
    • name

      protected String name
      The name of the new space.
    • description

      protected SpaceDescriptionCreate description
    • permissions

      protected List<SpacePermissionCreate> permissions
      The permissions for the new space. If no permissions are provided, the [Confluence default space permissions](https://confluence.atlassian.com/x/UAgzKw#CreateaSpace-Spacepermissions) 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.
  • Konstruktordetails

    • SpaceCreate

      public SpaceCreate(Consumer<SpaceCreate> spec)
      Constructs a validated instance of SpaceCreate.
      Parameter:
      spec - the specification to process
    • SpaceCreate

      @Internal public SpaceCreate(String key, String name, SpaceDescriptionCreate description, List<SpacePermissionCreate> permissions)
      Constructs a validated instance of SpaceCreate.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using SpaceCreate(Consumer) instead.

      Parameter:
      key - The key for the new space. Format: See [Space keys](https://confluence.atlassian.com/x/lqNMMQ).
      name - The name of the new space.
      description - description
      permissions - The permissions for the new space. If no permissions are provided, the [Confluence default space permissions](https://confluence.atlassian.com/x/UAgzKw#CreateaSpace-Spacepermissions) 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.
    • SpaceCreate

      protected SpaceCreate()
  • Methodendetails

    • builder

      public static SpaceCreate.SpaceCreateBuilder builder()
    • key

      public String key()
      The key for the new space. Format: See [Space keys](https://confluence.atlassian.com/x/lqNMMQ).
    • name

      public String name()
      The name of the new space.
    • description

      public SpaceDescriptionCreate description()
    • permissions

      public List<SpacePermissionCreate> permissions()
      The permissions for the new space. If no permissions are provided, the [Confluence default space permissions](https://confluence.atlassian.com/x/UAgzKw#CreateaSpace-Spacepermissions) 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.
    • key

      public SpaceCreate key(String key)
      The key for the new space. Format: See [Space keys](https://confluence.atlassian.com/x/lqNMMQ).
      Gibt zurück:
      this.
    • name

      public SpaceCreate name(String name)
      The name of the new space.
      Gibt zurück:
      this.
    • description

      public SpaceCreate description(SpaceDescriptionCreate description)
      Gibt zurück:
      this.
    • permissions

      public SpaceCreate permissions(List<SpacePermissionCreate> permissions)
      The permissions for the new space. If no permissions are provided, the [Confluence default space permissions](https://confluence.atlassian.com/x/UAgzKw#CreateaSpace-Spacepermissions) 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.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object