Class StartHalfDay
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.StartHalfDay
-
public class StartHalfDay extends java.lang.ObjectStartHalfDay - True if the start of the time off request begins half way through the day
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStartHalfDay._Deserializer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()static StartHalfDayof(boolean value)static StartHalfDayof(Two value)java.lang.StringtoString()java.lang.Objectvalue()Returns an instance of one of these types:booleancom.stackone.stackone_client_java.models.components.Two
-
-
-
Method Detail
-
of
public static StartHalfDay of(boolean value)
-
of
public static StartHalfDay of(Two value)
-
value
public java.lang.Object value()
Returns an instance of one of these types:booleancom.stackone.stackone_client_java.models.components.Two
Use
instanceofto determine what type is returned. For example:if (obj.value() instanceof String) { String answer = (String) obj.value(); System.out.println("answer=" + answer); }- Returns:
- value of oneOf type
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-