Class StatusRequestBody

    • Constructor Detail

      • StatusRequestBody

        public StatusRequestBody()
        Default constructor
      • StatusRequestBody

        public StatusRequestBody​(StatusRequestBody template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getStatus

        public GovernanceActionStatus getStatus()
        Return the status of the governance service.
        Returns:
        status enum
      • setStatus

        public void setStatus​(GovernanceActionStatus status)
        Set up the status of the governance service.
        Parameters:
        status - status enum
      • toString

        public String toString()
        JSON-style toString.
        Overrides:
        toString in class Object
        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 Object
        Parameters:
        objectToCompare - object to compare
        Returns:
        boolean result of comparison
      • hashCode

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