Package model
Class CreateWebhookRequestAuthenticationBearer
- java.lang.Object
-
- model.CreateWebhookRequestAuthenticationBearer
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CreateWebhookRequestAuthenticationBearer extends Object
The bearer authentication configuration. Null if bearer is not being used.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateWebhookRequestAuthenticationBearer.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_TOKEN
-
Constructor Summary
Constructors Constructor Description CreateWebhookRequestAuthenticationBearer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static CreateWebhookRequestAuthenticationBearerfromJson(String jsonString)Create an instance of CreateWebhookRequestAuthenticationBearer given an JSON stringStringgetToken()The string that Finix will send as the bearer token.inthashCode()voidsetToken(String token)StringtoJson()Convert an instance of CreateWebhookRequestAuthenticationBearer to an JSON stringCreateWebhookRequestAuthenticationBearertoken(String token)StringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
token
public CreateWebhookRequestAuthenticationBearer token(String token)
-
getToken
@Nullable public String getToken()
The string that Finix will send as the bearer token.- Returns:
- token
-
setToken
public void setToken(String token)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to CreateWebhookRequestAuthenticationBearer
-
fromJson
public static CreateWebhookRequestAuthenticationBearer fromJson(String jsonString) throws IOException
Create an instance of CreateWebhookRequestAuthenticationBearer given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateWebhookRequestAuthenticationBearer
- Throws:
IOException- if the JSON string is invalid with respect to CreateWebhookRequestAuthenticationBearer
-
toJson
public String toJson()
Convert an instance of CreateWebhookRequestAuthenticationBearer to an JSON string- Returns:
- JSON string
-
-