Package com.boldsign.model
Class WebhookActorDetails
- java.lang.Object
-
- com.boldsign.model.WebhookActorDetails
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class WebhookActorDetails extends Object
WebhookActorDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebhookActorDetails.CustomTypeAdapterFactorystatic classWebhookActorDetails.UserTypeEnumGets or Sets userType
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_USER_TYPE
-
Constructor Summary
Constructors Constructor Description WebhookActorDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>createFormData()booleanequals(Object o)static WebhookActorDetailsfromJson(String jsonString)Create an instance of WebhookActorDetails given an JSON stringStringgetId()Get idWebhookActorDetails.UserTypeEnumgetUserType()Get userTypeinthashCode()WebhookActorDetailsid(String id)voidsetId(String id)voidsetUserType(WebhookActorDetails.UserTypeEnum userType)StringtoJson()Convert an instance of WebhookActorDetails to an JSON stringStringtoString()WebhookActorDetailsuserType(WebhookActorDetails.UserTypeEnum userType)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_USER_TYPE
public static final String SERIALIZED_NAME_USER_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
userType
public WebhookActorDetails userType(WebhookActorDetails.UserTypeEnum userType)
-
getUserType
@Nonnull public WebhookActorDetails.UserTypeEnum getUserType()
Get userType- Returns:
- userType
-
setUserType
public void setUserType(WebhookActorDetails.UserTypeEnum userType)
-
id
public WebhookActorDetails id(String id)
-
setId
public void setId(String id)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to WebhookActorDetails
-
fromJson
public static WebhookActorDetails fromJson(String jsonString) throws IOException
Create an instance of WebhookActorDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WebhookActorDetails
- Throws:
IOException- if the JSON string is invalid with respect to WebhookActorDetails
-
toJson
public String toJson()
Convert an instance of WebhookActorDetails to an JSON string- Returns:
- JSON string
-
-