Skip to content

Latest commit

 

History

History
306 lines (165 loc) · 8.25 KB

DocumentReport.md

File metadata and controls

306 lines (165 loc) · 8.25 KB

DocumentReport

Properties

Name Type Description Notes
Id string The unique identifier for the report. Read-only.
CreatedAt Pointer to time.Time The date and time at which the report was first initiated. Read-only. [optional]
Href Pointer to string The API endpoint to retrieve the report. Read-only. [optional]
Status Pointer to ReportStatus [optional]
Result Pointer to ReportResult [optional]
SubResult Pointer to ReportSubResult [optional]
CheckId Pointer to string The ID of the check to which the report belongs. Read-only. [optional]
Documents Pointer to []ReportDocument Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] [optional]
Name ReportName
Breakdown Pointer to DocumentBreakdown [optional]
Properties Pointer to DocumentProperties [optional]

Methods

NewDocumentReport

func NewDocumentReport(id string, name ReportName, ) *DocumentReport

NewDocumentReport instantiates a new DocumentReport object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewDocumentReportWithDefaults

func NewDocumentReportWithDefaults() *DocumentReport

NewDocumentReportWithDefaults instantiates a new DocumentReport object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetId

func (o *DocumentReport) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *DocumentReport) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *DocumentReport) SetId(v string)

SetId sets Id field to given value.

GetCreatedAt

func (o *DocumentReport) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *DocumentReport) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreatedAt

func (o *DocumentReport) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *DocumentReport) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetHref

func (o *DocumentReport) GetHref() string

GetHref returns the Href field if non-nil, zero value otherwise.

GetHrefOk

func (o *DocumentReport) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHref

func (o *DocumentReport) SetHref(v string)

SetHref sets Href field to given value.

HasHref

func (o *DocumentReport) HasHref() bool

HasHref returns a boolean if a field has been set.

GetStatus

func (o *DocumentReport) GetStatus() ReportStatus

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *DocumentReport) GetStatusOk() (*ReportStatus, bool)

GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStatus

func (o *DocumentReport) SetStatus(v ReportStatus)

SetStatus sets Status field to given value.

HasStatus

func (o *DocumentReport) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetResult

func (o *DocumentReport) GetResult() ReportResult

GetResult returns the Result field if non-nil, zero value otherwise.

GetResultOk

func (o *DocumentReport) GetResultOk() (*ReportResult, bool)

GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetResult

func (o *DocumentReport) SetResult(v ReportResult)

SetResult sets Result field to given value.

HasResult

func (o *DocumentReport) HasResult() bool

HasResult returns a boolean if a field has been set.

GetSubResult

func (o *DocumentReport) GetSubResult() ReportSubResult

GetSubResult returns the SubResult field if non-nil, zero value otherwise.

GetSubResultOk

func (o *DocumentReport) GetSubResultOk() (*ReportSubResult, bool)

GetSubResultOk returns a tuple with the SubResult field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSubResult

func (o *DocumentReport) SetSubResult(v ReportSubResult)

SetSubResult sets SubResult field to given value.

HasSubResult

func (o *DocumentReport) HasSubResult() bool

HasSubResult returns a boolean if a field has been set.

GetCheckId

func (o *DocumentReport) GetCheckId() string

GetCheckId returns the CheckId field if non-nil, zero value otherwise.

GetCheckIdOk

func (o *DocumentReport) GetCheckIdOk() (*string, bool)

GetCheckIdOk returns a tuple with the CheckId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCheckId

func (o *DocumentReport) SetCheckId(v string)

SetCheckId sets CheckId field to given value.

HasCheckId

func (o *DocumentReport) HasCheckId() bool

HasCheckId returns a boolean if a field has been set.

GetDocuments

func (o *DocumentReport) GetDocuments() []ReportDocument

GetDocuments returns the Documents field if non-nil, zero value otherwise.

GetDocumentsOk

func (o *DocumentReport) GetDocumentsOk() (*[]ReportDocument, bool)

GetDocumentsOk returns a tuple with the Documents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDocuments

func (o *DocumentReport) SetDocuments(v []ReportDocument)

SetDocuments sets Documents field to given value.

HasDocuments

func (o *DocumentReport) HasDocuments() bool

HasDocuments returns a boolean if a field has been set.

GetName

func (o *DocumentReport) GetName() ReportName

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *DocumentReport) GetNameOk() (*ReportName, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *DocumentReport) SetName(v ReportName)

SetName sets Name field to given value.

GetBreakdown

func (o *DocumentReport) GetBreakdown() DocumentBreakdown

GetBreakdown returns the Breakdown field if non-nil, zero value otherwise.

GetBreakdownOk

func (o *DocumentReport) GetBreakdownOk() (*DocumentBreakdown, bool)

GetBreakdownOk returns a tuple with the Breakdown field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBreakdown

func (o *DocumentReport) SetBreakdown(v DocumentBreakdown)

SetBreakdown sets Breakdown field to given value.

HasBreakdown

func (o *DocumentReport) HasBreakdown() bool

HasBreakdown returns a boolean if a field has been set.

GetProperties

func (o *DocumentReport) GetProperties() DocumentProperties

GetProperties returns the Properties field if non-nil, zero value otherwise.

GetPropertiesOk

func (o *DocumentReport) GetPropertiesOk() (*DocumentProperties, bool)

GetPropertiesOk returns a tuple with the Properties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProperties

func (o *DocumentReport) SetProperties(v DocumentProperties)

SetProperties sets Properties field to given value.

HasProperties

func (o *DocumentReport) HasProperties() bool

HasProperties returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]