@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class ConnectorSyncRequestResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConnectorSyncRequestResult.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_EVENT_ID |
static String |
SERIALIZED_NAME_EXCEPTION |
static String |
SERIALIZED_NAME_SYNC_RESULT |
Constructor and Description |
---|
ConnectorSyncRequestResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ConnectorSyncRequestResult |
eventId(UUID eventId) |
ConnectorSyncRequestResult |
exception(ConnectorSyncRequestResultException exception) |
static ConnectorSyncRequestResult |
fromJson(String jsonString)
Create an instance of ConnectorSyncRequestResult given an JSON string
|
UUID |
getEventId()
Get eventId
|
ConnectorSyncRequestResultException |
getException()
Get exception
|
ConnectorSyncResult |
getSyncResult()
Get syncResult
|
int |
hashCode() |
void |
setEventId(UUID eventId) |
void |
setException(ConnectorSyncRequestResultException exception) |
void |
setSyncResult(ConnectorSyncResult syncResult) |
ConnectorSyncRequestResult |
syncResult(ConnectorSyncResult syncResult) |
String |
toJson()
Convert an instance of ConnectorSyncRequestResult 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_SYNC_RESULT
public static final String SERIALIZED_NAME_EXCEPTION
public static final String SERIALIZED_NAME_EVENT_ID
public ConnectorSyncRequestResult syncResult(ConnectorSyncResult syncResult)
@Nullable public ConnectorSyncResult getSyncResult()
public void setSyncResult(ConnectorSyncResult syncResult)
public ConnectorSyncRequestResult exception(ConnectorSyncRequestResultException exception)
@Nullable public ConnectorSyncRequestResultException getException()
public void setException(ConnectorSyncRequestResultException exception)
public ConnectorSyncRequestResult eventId(UUID eventId)
public void setEventId(UUID eventId)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to ConnectorSyncRequestResultpublic static ConnectorSyncRequestResult fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to ConnectorSyncRequestResultpublic String toJson()
Copyright © 2023. All rights reserved.