Class ContentStatusRequestBody


public class ContentStatusRequestBody extends QueryOptions
ContentStatusRequestBody provides a structure for passing the status.
  • Constructor Details

    • ContentStatusRequestBody

      public ContentStatusRequestBody()
      Default constructor
    • ContentStatusRequestBody

      public ContentStatusRequestBody(ContentStatusRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getContentStatus

      public ContentStatus getContentStatus()
      Return the status value.
      Returns:
      element status enum value
    • setContentStatus

      public void setContentStatus(ContentStatus contentStatus)
      Set up the status value.
      Parameters:
      contentStatus - element status enum value
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class QueryOptions
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class QueryOptions
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class QueryOptions
      Returns:
      int hash code