Class GroupCreate

java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.GroupCreate

@Generated("io.github.primelib.primecodegen") public class GroupCreate extends Object
GroupCreate
  • Field Details

  • Constructor Details

    • GroupCreate

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

      @Internal protected GroupCreate()
      Protected no-args constructor for use by serialization frameworks.
    • GroupCreate

      @Internal public GroupCreate(String type, String id)
      Constructs a validated instance of GroupCreate.

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

      Parameters:
      type - type
      id - id
  • Method Details

    • type

      public String type()
      Fluent getter for type.
      Returns:
      type
    • type

      public GroupCreate type(String type)
      Fluent setter for type.
      Parameters:
      type - type
      Returns:
      this
    • getType

      public String getType()
      Gets the value of type.
      Returns:
      type
    • setType

      public void setType(String type)
      Sets the value of type.
      Parameters:
      type - type
    • id

      public String id()
      Fluent getter for id.
      Returns:
      id
    • id

      public GroupCreate id(String id)
      Fluent setter for id.
      Parameters:
      id - id
      Returns:
      this
    • getId

      public String getId()
      Gets the value of id.
      Returns:
      id
    • setId

      public void setId(String id)
      Sets the value of id.
      Parameters:
      id - id
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object