stripe-ruby/lib/stripe/resources/privacy/redaction_job_validation_error.rb
2025-05-12 21:38:17 +00:00

28 lines
1019 B
Ruby

# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
module Privacy
# The Redaction Job validation error object contains information about
# errors that affect the ability to redact a specific object in a
# redaction job.
class RedactionJobValidationError < APIResource
OBJECT_NAME = "privacy.redaction_job_validation_error"
def self.object_name
"privacy.redaction_job_validation_error"
end
# A code indicating the reason for the error.
attr_reader :code
# If the error is related to a specific object, this field will include the object's identifier in `id` and object type in `object`.
attr_reader :erroring_object
# Unique identifier for the object.
attr_reader :id
# A human-readable message providing more details about the error.
attr_reader :message
# String representing the object's type. Objects of the same type share the same value.
attr_reader :object
end
end
end