Class ContentType
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.ContentType
-
public class ContentType extends java.lang.ObjectContentTypeThe type of content
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContentType.Builder
-
Constructor Summary
Constructors Constructor Description ContentType()ContentType(org.openapitools.jackson.nullable.JsonNullable<? extends ContentValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends ContentSourceValue> sourceValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContentType.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<ContentSourceValue>sourceValue()java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<ContentValue>value()ContentTypewithSourceValue(ContentSourceValue sourceValue)ContentTypewithSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends ContentSourceValue> sourceValue)ContentTypewithValue(ContentValue value)ContentTypewithValue(org.openapitools.jackson.nullable.JsonNullable<? extends ContentValue> value)
-
-
-
Constructor Detail
-
ContentType
public ContentType(org.openapitools.jackson.nullable.JsonNullable<? extends ContentValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends ContentSourceValue> sourceValue)
-
ContentType
public ContentType()
-
-
Method Detail
-
value
public org.openapitools.jackson.nullable.JsonNullable<ContentValue> value()
-
sourceValue
public org.openapitools.jackson.nullable.JsonNullable<ContentSourceValue> sourceValue()
-
builder
public static final ContentType.Builder builder()
-
withValue
public ContentType withValue(ContentValue value)
-
withValue
public ContentType withValue(org.openapitools.jackson.nullable.JsonNullable<? extends ContentValue> value)
-
withSourceValue
public ContentType withSourceValue(ContentSourceValue sourceValue)
-
withSourceValue
public ContentType withSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends ContentSourceValue> 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
-
-