@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class InboxRulesetDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InboxRulesetDto.ActionEnum
Gets or Sets action
|
static class |
InboxRulesetDto.CustomTypeAdapterFactory |
static class |
InboxRulesetDto.HandlerEnum
Gets or Sets handler
|
static class |
InboxRulesetDto.ScopeEnum
Gets or Sets scope
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ACTION |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_HANDLER |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_INBOX_ID |
static String |
SERIALIZED_NAME_SCOPE |
static String |
SERIALIZED_NAME_TARGET |
Constructor and Description |
---|
InboxRulesetDto() |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_INBOX_ID
public static final String SERIALIZED_NAME_SCOPE
public static final String SERIALIZED_NAME_ACTION
public static final String SERIALIZED_NAME_TARGET
public static final String SERIALIZED_NAME_HANDLER
public static final String SERIALIZED_NAME_CREATED_AT
public InboxRulesetDto id(UUID id)
public void setId(UUID id)
public InboxRulesetDto inboxId(UUID inboxId)
public void setInboxId(UUID inboxId)
public InboxRulesetDto scope(InboxRulesetDto.ScopeEnum scope)
@Nonnull public InboxRulesetDto.ScopeEnum getScope()
public void setScope(InboxRulesetDto.ScopeEnum scope)
public InboxRulesetDto action(InboxRulesetDto.ActionEnum action)
@Nonnull public InboxRulesetDto.ActionEnum getAction()
public void setAction(InboxRulesetDto.ActionEnum action)
public InboxRulesetDto target(String target)
public void setTarget(String target)
public InboxRulesetDto handler(InboxRulesetDto.HandlerEnum handler)
@Nonnull public InboxRulesetDto.HandlerEnum getHandler()
public void setHandler(InboxRulesetDto.HandlerEnum handler)
public InboxRulesetDto createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to InboxRulesetDtopublic static InboxRulesetDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to InboxRulesetDtopublic String toJson()
Copyright © 2023. All rights reserved.