Package model

Class CreateWebhookRequestAuthenticationBearer


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class CreateWebhookRequestAuthenticationBearer
    extends Object
    The bearer authentication configuration. Null if bearer is not being used.
    • Constructor Detail

      • CreateWebhookRequestAuthenticationBearer

        public CreateWebhookRequestAuthenticationBearer()
    • Method Detail

      • getToken

        @Nullable
        public String getToken()
        The string that Finix will send as the bearer token.
        Returns:
        token
      • setToken

        public void setToken​(String token)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates 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