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 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
    • OperationCheckResult

      protected OperationCheckResult()
  • Method Details

    • operation

      public String operation()
      The operation itself.
    • targetType

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

      public OperationCheckResult operation(String operation)
      The operation itself.
      Returns:
      this.
    • targetType

      public OperationCheckResult targetType(String targetType)
      The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space
      Returns:
      this.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object