Package com.stripe.model.privacy
Class RedactionJobValidationError
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.privacy.RedactionJobValidationError
- All Implemented Interfaces:
HasId
,StripeActiveObject
,StripeObjectInterface
The Redaction Job validation error object contains information about errors that affect the
ability to redact a specific object in a redaction job.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
If a Redaction Job Validation Error occurred because of a specific object, this will contain its identifier and object type.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getCode()
A code indicating the reason for the error.If the error is related to a specific object, this field includes the object's identifier and object type.getId()
Unique identifier for the object.A human-readable message providing more details about the error.String representing the object's type.int
hashCode()
list
(String job, RedactionJobValidationErrorListParams params) Returns a list of validation errors for the specified redaction job.list
(String job, RedactionJobValidationErrorListParams params, RequestOptions options) Returns a list of validation errors for the specified redaction job.Returns a list of validation errors for the specified redaction job.Returns a list of validation errors for the specified redaction job.void
A code indicating the reason for the error.void
setErroringObject
(RedactionJobValidationError.ErroringObject erroringObject) If the error is related to a specific object, this field includes the object's identifier and object type.void
Unique identifier for the object.void
setMessage
(String message) A human-readable message providing more details about the error.void
String representing the object's type.void
setResponseGetter
(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetter
implementations to set theStripeResponseGetter
instance used to make further requests.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
RedactionJobValidationError
public RedactionJobValidationError()
-
-
Method Details
-
list
public static RedactionJobValidationErrorCollection list(String job, Map<String, Object> params) throws StripeExceptionReturns a list of validation errors for the specified redaction job.- Throws:
StripeException
-
list
public static RedactionJobValidationErrorCollection list(String job, Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of validation errors for the specified redaction job.- Throws:
StripeException
-
list
public static RedactionJobValidationErrorCollection list(String job, RedactionJobValidationErrorListParams params) throws StripeException Returns a list of validation errors for the specified redaction job.- Throws:
StripeException
-
list
public static RedactionJobValidationErrorCollection list(String job, RedactionJobValidationErrorListParams params, RequestOptions options) throws StripeException Returns a list of validation errors for the specified redaction job.- Throws:
StripeException
-
setResponseGetter
Description copied from interface:StripeActiveObject
Method is used by the containing object orStripeResponseGetter
implementations to set theStripeResponseGetter
instance used to make further requests.- Specified by:
setResponseGetter
in interfaceStripeActiveObject
- Overrides:
setResponseGetter
in classApiResource
- Parameters:
responseGetter
- theStripeResponseGetter
instance to use for making further requests.
-
getCode
A code indicating the reason for the error.One of
invalid_cascading_source
,invalid_file_purpose
,invalid_state
,locked_by_other_job
, ortoo_many_objects
. -
getErroringObject
If the error is related to a specific object, this field includes the object's identifier and object type. -
getMessage
A human-readable message providing more details about the error. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
privacy.redaction_job_validation_error
. -
setCode
A code indicating the reason for the error.One of
invalid_cascading_source
,invalid_file_purpose
,invalid_state
,locked_by_other_job
, ortoo_many_objects
. -
setErroringObject
If the error is related to a specific object, this field includes the object's identifier and object type. -
setId
Unique identifier for the object. -
setMessage
A human-readable message providing more details about the error. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
privacy.redaction_job_validation_error
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-