Class SyncState

java.lang.Object
com.uc4.api.objects.SyncState

public class SyncState extends Object
This class represents the state of a Sync object.
  • Constructor Details

    • SyncState

      public SyncState(String state, String description)
      Constructs a new SyncState using the specified state name and description.
      Parameters:
      state - Name of the state
      description - Description of the state
  • Method Details

    • getDescription

      public String getDescription()
      Returns the description of the state.
      Returns:
      Description
    • setDescription

      public void setDescription(String description)
      Sets the description of the state. Max. 80 characters are allowed.
      Parameters:
      description - Description
    • getState

      public String getState()
      Returns the name of the state.
      Returns:
      Name of the state
    • setState

      public void setState(String state)
      Sets the name of the state. Max. 30 characters are allowed.
      Parameters:
      state - Name of the state
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object