Class CreateSkillsApiModelProficiencySourceValue
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.CreateSkillsApiModelProficiencySourceValue
-
public class CreateSkillsApiModelProficiencySourceValue extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateSkillsApiModelProficiencySourceValue._Deserializer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()static CreateSkillsApiModelProficiencySourceValueof(boolean value)static CreateSkillsApiModelProficiencySourceValueof(double value)static CreateSkillsApiModelProficiencySourceValueof(CreateSkillsApiModelSourceValueProficiency4 value)static CreateSkillsApiModelProficiencySourceValueof(java.lang.String value)static CreateSkillsApiModelProficiencySourceValueof(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.CreateSkillsApiModelSourceValueProficiency4java.util.List<java.lang.Object>
-
-
-
Method Detail
-
of
public static CreateSkillsApiModelProficiencySourceValue of(java.lang.String value)
-
of
public static CreateSkillsApiModelProficiencySourceValue of(double value)
-
of
public static CreateSkillsApiModelProficiencySourceValue of(boolean value)
-
of
public static CreateSkillsApiModelProficiencySourceValue of(CreateSkillsApiModelSourceValueProficiency4 value)
-
of
public static CreateSkillsApiModelProficiencySourceValue 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.CreateSkillsApiModelSourceValueProficiency4java.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
-
-