Class UpdateEmployeeApiModelEthnicitySourceValue
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.UpdateEmployeeApiModelEthnicitySourceValue
-
public class UpdateEmployeeApiModelEthnicitySourceValue extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateEmployeeApiModelEthnicitySourceValue._Deserializer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()static UpdateEmployeeApiModelEthnicitySourceValueof(boolean value)static UpdateEmployeeApiModelEthnicitySourceValueof(double value)static UpdateEmployeeApiModelEthnicitySourceValueof(UpdateEmployeeApiModelSourceValueEthnicity4 value)static UpdateEmployeeApiModelEthnicitySourceValueof(java.lang.String value)static UpdateEmployeeApiModelEthnicitySourceValueof(java.util.List<java.lang.Object> value)java.lang.StringtoString()java.lang.Objectvalue()Returns an instance of one of these types:java.lang.Stringdoublebooleancom.stackone.stackone_client_java.models.components.UpdateEmployeeApiModelSourceValueEthnicity4java.util.List<java.lang.Object>
-
-
-
Method Detail
-
of
public static UpdateEmployeeApiModelEthnicitySourceValue of(java.lang.String value)
-
of
public static UpdateEmployeeApiModelEthnicitySourceValue of(double value)
-
of
public static UpdateEmployeeApiModelEthnicitySourceValue of(boolean value)
-
of
public static UpdateEmployeeApiModelEthnicitySourceValue of(UpdateEmployeeApiModelSourceValueEthnicity4 value)
-
of
public static UpdateEmployeeApiModelEthnicitySourceValue of(java.util.List<java.lang.Object> value)
-
value
public java.lang.Object value()
Returns an instance of one of these types:java.lang.Stringdoublebooleancom.stackone.stackone_client_java.models.components.UpdateEmployeeApiModelSourceValueEthnicity4java.util.List<java.lang.Object>
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
-
-