Class OperationCheckResult

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

@Generated("io.github.primelib.primecodegen") public class OperationCheckResult extends Object
OperationCheckResult

An operation and the target entity that it applies to, e.g. create page.

  • Field Details

    • operation

      protected String operation
      The operation itself.
    • targetType

      protected String targetType
      The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space
  • Constructor Details

    • OperationCheckResult

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

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

      @Internal public OperationCheckResult(String operation, String targetType)
      Constructs a validated instance of OperationCheckResult.

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

      Parameters:
      operation - The operation itself.
      targetType - The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space
  • Method Details

    • operation

      public String operation()
      Fluent getter for operation.

      The operation itself.

      Returns:
      operation
    • operation

      public OperationCheckResult operation(String operation)
      Fluent setter for operation.

      The operation itself.

      Parameters:
      operation - operation
      Returns:
      this
    • getOperation

      public String getOperation()
      Gets the value of operation.

      The operation itself.

      Returns:
      operation
    • setOperation

      public void setOperation(String operation)
      Sets the value of operation.

      The operation itself.

      Parameters:
      operation - operation
    • targetType

      public String targetType()
      Fluent getter for targetType.

      The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space

      Returns:
      targetType
    • targetType

      public OperationCheckResult targetType(String targetType)
      Fluent setter for targetType.

      The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space

      Parameters:
      targetType - targetType
      Returns:
      this
    • getTargetType

      public String getTargetType()
      Gets the value of targetType.

      The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space

      Returns:
      targetType
    • setTargetType

      public void setTargetType(String targetType)
      Sets the value of targetType.

      The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space

      Parameters:
      targetType - targetType
    • 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