AssessmentStatusResponse Class

public final class AssessmentStatusResponse
extends AssessmentStatus

The result of the assessment.

Constructor Summary

Constructor Description
AssessmentStatusResponse()

Creates an instance of AssessmentStatusResponse class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime firstEvaluationDate()

Get the firstEvaluationDate property: The time that the assessment was created and first evaluated.

OffsetDateTime statusChangeDate()

Get the statusChangeDate property: The time that the status of the assessment last changed.

void validate()

Validates the instance.

AssessmentStatusResponse withCause(String cause)

Set the cause property: Programmatic code for the cause of the assessment status.

AssessmentStatusResponse withCode(AssessmentStatusCode code)

Set the code property: Programmatic code for the status of the assessment.

AssessmentStatusResponse withDescription(String description)

Set the description property: Human readable description of the assessment status.

Methods inherited from AssessmentStatus

Methods inherited from java.lang.Object

Constructor Details

AssessmentStatusResponse

public AssessmentStatusResponse()

Creates an instance of AssessmentStatusResponse class.

Method Details

firstEvaluationDate

public OffsetDateTime firstEvaluationDate()

Get the firstEvaluationDate property: The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format.

Returns:

the firstEvaluationDate value.

statusChangeDate

public OffsetDateTime statusChangeDate()

Get the statusChangeDate property: The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format.

Returns:

the statusChangeDate value.

validate

public void validate()

Validates the instance.

Overrides:

AssessmentStatusResponse.validate()

withCause

public AssessmentStatusResponse withCause(String cause)

Set the cause property: Programmatic code for the cause of the assessment status.

Overrides:

AssessmentStatusResponse.withCause(String cause)

Parameters:

cause

withCode

public AssessmentStatusResponse withCode(AssessmentStatusCode code)

Set the code property: Programmatic code for the status of the assessment.

Overrides:

AssessmentStatusResponse.withCode(AssessmentStatusCode code)

Parameters:

code

withDescription

public AssessmentStatusResponse withDescription(String description)

Set the description property: Human readable description of the assessment status.

Overrides:

AssessmentStatusResponse.withDescription(String description)

Parameters:

description

Applies to