Class Layer

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

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

    • width

      protected String width
    • height

      protected String height
  • Constructor Details

    • Layer

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

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

      @Internal public Layer(String width, String height)
      Constructs a validated instance of Layer.

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

      Parameters:
      width - width
      height - height
  • Method Details

    • width

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

      public Layer width(String width)
      Fluent setter for width.
      Parameters:
      width - width
      Returns:
      this
    • getWidth

      public String getWidth()
      Gets the value of width.
      Returns:
      width
    • setWidth

      public void setWidth(String width)
      Sets the value of width.
      Parameters:
      width - width
    • height

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

      public Layer height(String height)
      Fluent setter for height.
      Parameters:
      height - height
      Returns:
      this
    • getHeight

      public String getHeight()
      Gets the value of height.
      Returns:
      height
    • setHeight

      public void setHeight(String height)
      Sets the value of height.
      Parameters:
      height - height
    • 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