Class Name

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

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

  • Constructor Details

    • Name

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

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

      @Internal public Name(String key, List<Object> args)
      Constructs a validated instance of Name.

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

      Parameters:
      key - key
      args - args
  • Method Details

    • key

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

      public Name key(String key)
      Fluent setter for key.
      Parameters:
      key - key
      Returns:
      this
    • getKey

      public String getKey()
      Gets the value of key.
      Returns:
      key
    • setKey

      public void setKey(String key)
      Sets the value of key.
      Parameters:
      key - key
    • args

      public List<Object> args()
      Fluent getter for args.
      Returns:
      args
    • args

      public Name args(List<Object> args)
      Fluent setter for args.
      Parameters:
      args - args
      Returns:
      this
    • getArgs

      public List<Object> getArgs()
      Gets the value of args.
      Returns:
      args
    • setArgs

      public void setArgs(List<Object> args)
      Sets the value of args.
      Parameters:
      args - args
    • 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