0.9.0 (latest) 0.8.0 0.7.2 0.5.0 0.4.0 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle Client class TimeOff.

System record for leave/time-off from a Human Capital Management (HCM)
system.

Generated from protobuf message `google.backstory.TimeOff`

## Namespace

Google \\ Backstory

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ interval` | `Google\Type\Interval` Interval duration of the leave. |
| `↳ description` | `string` Description of the leave if available (e.g. 'Vacation'). |

### getInterval

Interval duration of the leave.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Type\Interval|null` |   |

### hasInterval

### clearInterval

### setInterval

Interval duration of the leave.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Type\Interval` |

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

### getDescription

Description of the leave if available (e.g. 'Vacation').

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

### setDescription

Description of the leave if available (e.g. 'Vacation').

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

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