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 classIf 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_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetCode()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.inthashCode()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.voidA code indicating the reason for the error.voidsetErroringObject(RedactionJobValidationError.ErroringObject erroringObject) If the error is related to a specific object, this field includes the object's identifier and object type.voidUnique identifier for the object.voidsetMessage(String message) A human-readable message providing more details about the error.voidString representing the object's type.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance 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.
-