@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class BounceProjection extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BounceProjection.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BOUNCE_MTA |
static String |
SERIALIZED_NAME_BOUNCE_TYPE |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_SENDER |
static String |
SERIALIZED_NAME_SUBJECT |
Constructor and Description |
---|
BounceProjection() |
Modifier and Type | Method and Description |
---|---|
BounceProjection |
bounceMta(String bounceMta) |
BounceProjection |
bounceType(String bounceType) |
BounceProjection |
createdAt(OffsetDateTime createdAt) |
boolean |
equals(Object o) |
static BounceProjection |
fromJson(String jsonString)
Create an instance of BounceProjection given an JSON string
|
String |
getBounceMta()
Get bounceMta
|
String |
getBounceType()
Get bounceType
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
UUID |
getId()
Get id
|
String |
getSender()
Get sender
|
String |
getSubject()
Get subject
|
int |
hashCode() |
BounceProjection |
id(UUID id) |
BounceProjection |
sender(String sender) |
void |
setBounceMta(String bounceMta) |
void |
setBounceType(String bounceType) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setId(UUID id) |
void |
setSender(String sender) |
void |
setSubject(String subject) |
BounceProjection |
subject(String subject) |
String |
toJson()
Convert an instance of BounceProjection to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_SUBJECT
public static final String SERIALIZED_NAME_SENDER
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_BOUNCE_TYPE
public static final String SERIALIZED_NAME_BOUNCE_MTA
public BounceProjection id(UUID id)
public void setId(UUID id)
public BounceProjection subject(String subject)
public void setSubject(String subject)
public BounceProjection sender(String sender)
public void setSender(String sender)
public BounceProjection createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public BounceProjection bounceType(String bounceType)
public void setBounceType(String bounceType)
public BounceProjection bounceMta(String bounceMta)
public void setBounceMta(String bounceMta)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to BounceProjectionpublic static BounceProjection fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to BounceProjectionpublic String toJson()
Copyright © 2023. All rights reserved.