Package com.uc4.api.objects
Class SyncState
- java.lang.Object
-
- com.uc4.api.objects.SyncState
-
public class SyncState extends java.lang.Object
This class represents the state of a Sync object.
-
-
Constructor Summary
Constructors Constructor Description SyncState(java.lang.String state, java.lang.String description)
Constructs a newSyncState
using the specified state name and description.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDescription()
Returns the description of the state.java.lang.String
getState()
Returns the name of the state.int
hashCode()
void
setDescription(java.lang.String description)
Sets the description of the state.void
setState(java.lang.String state)
Sets the name of the state.java.lang.String
toString()
-
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Returns the description of the state.- Returns:
- Description
-
setDescription
public void setDescription(java.lang.String description)
Sets the description of the state. Max. 80 characters are allowed.- Parameters:
description
- Description
-
getState
public java.lang.String getState()
Returns the name of the state.- Returns:
- Name of the state
-
setState
public void setState(java.lang.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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-