@Validated
@Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
date="2022-09-21T05:34:26.783Z[Etc/UTC]")
public class GenericPayload
extends java.lang.Object
| Constructor and Description |
|---|
GenericPayload() |
| Modifier and Type | Method and Description |
|---|---|
GenericPayload |
contentType(java.lang.String contentType) |
boolean |
equals(java.lang.Object o) |
@NotNull java.lang.String |
getContentType()
The content type, which represents the fashion in which the event was serialized.
|
@NotNull @Pattern(regexp="^[\u0000-\u00ff]*$") java.lang.String |
getValue()
The value of the event, serialized as bytes.
|
int |
hashCode() |
void |
setContentType(java.lang.String contentType) |
void |
setValue(java.lang.String value) |
java.lang.String |
toString() |
GenericPayload |
value(java.lang.String value) |
public GenericPayload value(java.lang.String value)
@NotNull @Pattern(regexp="^[\u0000-\u00ff]*$") public @NotNull @Pattern(regexp="^[\u0000-\u00ff]*$") java.lang.String getValue()
public void setValue(java.lang.String value)
public GenericPayload contentType(java.lang.String contentType)
@NotNull public @NotNull java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object