Class JobPostingContentSectionSourceValue
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.JobPostingContentSectionSourceValue
-
public class JobPostingContentSectionSourceValue extends java.lang.ObjectJobPostingContentSectionSourceValueThe source value of the description type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJobPostingContentSectionSourceValue._Deserializer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()static JobPostingContentSectionSourceValueof(boolean value)static JobPostingContentSectionSourceValueof(double value)static JobPostingContentSectionSourceValueof(JobPostingContentSectionSourceValue4 value)static JobPostingContentSectionSourceValueof(java.lang.String value)static JobPostingContentSectionSourceValueof(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.JobPostingContentSectionSourceValue4java.util.List<java.lang.Object>
-
-
-
Method Detail
-
of
public static JobPostingContentSectionSourceValue of(java.lang.String value)
-
of
public static JobPostingContentSectionSourceValue of(double value)
-
of
public static JobPostingContentSectionSourceValue of(boolean value)
-
of
public static JobPostingContentSectionSourceValue of(JobPostingContentSectionSourceValue4 value)
-
of
public static JobPostingContentSectionSourceValue 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.JobPostingContentSectionSourceValue4java.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
-
-