Class Ethnicity
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Ethnicity
-
public class Ethnicity extends java.lang.ObjectEthnicity - The employee ethnicity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEthnicity.Builder
-
Constructor Summary
Constructors Constructor Description Ethnicity()Ethnicity(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeEthnicityValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeEthnicitySourceValue> sourceValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ethnicity.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<EmployeeEthnicitySourceValue>sourceValue()java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<EmployeeEthnicityValue>value()EthnicitywithSourceValue(EmployeeEthnicitySourceValue sourceValue)EthnicitywithSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeEthnicitySourceValue> sourceValue)EthnicitywithValue(EmployeeEthnicityValue value)EthnicitywithValue(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeEthnicityValue> value)
-
-
-
Constructor Detail
-
Ethnicity
public Ethnicity(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeEthnicityValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeEthnicitySourceValue> sourceValue)
-
Ethnicity
public Ethnicity()
-
-
Method Detail
-
value
public org.openapitools.jackson.nullable.JsonNullable<EmployeeEthnicityValue> value()
-
sourceValue
public org.openapitools.jackson.nullable.JsonNullable<EmployeeEthnicitySourceValue> sourceValue()
-
builder
public static final Ethnicity.Builder builder()
-
withValue
public Ethnicity withValue(EmployeeEthnicityValue value)
-
withValue
public Ethnicity withValue(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeEthnicityValue> value)
-
withSourceValue
public Ethnicity withSourceValue(EmployeeEthnicitySourceValue sourceValue)
-
withSourceValue
public Ethnicity withSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeEthnicitySourceValue> sourceValue)
-
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
-
-