# Grafeas V1 Client - Class Justification (1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.0 1.3.2 1.2.2 1.1.3 1.0.0 0.10.3 0.9.0 0.8.3 0.7.1 0.6.0 0.5.0 0.4.4 Reference documentation and code samples for the Grafeas V1 Client class Justification.

Justification provides the justification when the state of the
assessment if NOT_AFFECTED.

Generated from protobuf message `grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification`

## Namespace

Grafeas \\ V1 \\ VulnerabilityAssessmentNote \\ Assessment

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ justification_type` | `int` The justification type for this vulnerability. |
| `↳ details` | `string` Additional details on why this justification was chosen. |

### getJustificationType

The justification type for this vulnerability.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setJustificationType

The justification type for this vulnerability.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDetails

Additional details on why this justification was chosen.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDetails

Additional details on why this justification was chosen.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |