Class GenericAspect
- java.lang.Object
-
- io.datahubproject.openapi.generated.GenericAspect
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-12-06T11:25:47.362934Z[Etc/UTC]") public class GenericAspect extends java.lang.ObjectGeneric record structure for serializing an Aspect
-
-
Constructor Summary
Constructors Constructor Description GenericAspect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericAspectcontentType(java.lang.String contentType)booleanequals(java.lang.Object o)@NotNull java.lang.StringgetContentType()The content type, which represents the fashion in which the aspect was serialized.@NotNull OneOfGenericAspectValuegetValue()Get valueinthashCode()voidsetContentType(java.lang.String contentType)voidsetValue(OneOfGenericAspectValue value)java.lang.StringtoString()GenericAspectvalue(OneOfGenericAspectValue value)
-
-
-
Method Detail
-
value
public GenericAspect value(OneOfGenericAspectValue value)
-
getValue
@NotNull public @NotNull OneOfGenericAspectValue getValue()
Get value- Returns:
- value
-
setValue
public void setValue(OneOfGenericAspectValue value)
-
contentType
public GenericAspect contentType(java.lang.String contentType)
-
getContentType
@NotNull public @NotNull java.lang.String getContentType()
The content type, which represents the fashion in which the aspect was serialized. The only type currently supported is application/json.- Returns:
- contentType
-
setContentType
public void setContentType(java.lang.String contentType)
-
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
-
-