> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSStatusMonitorPeriods

> Obsolete, use SaintConfiguration carrier and methods instead. Was:Definition of the three periods for status monitors.

Obsolete, use SaintConfiguration carrier and methods instead. Was:Definition of the three periods for status monitors.

## Constructors

### NSStatusMonitorPeriods()

```crmscript theme={null}
NSStatusMonitorPeriods
```

Initializes a new instance of the NSStatusMonitorPeriods class.

## Methods

## GetPeriod1()

```crmscript theme={null}
Integer GetPeriod1()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Days in the first period.

**Example:**

```crmscript theme={null}
NSStatusMonitorPeriods thing;
Integer period1 = thing.GetPeriod1();
```

## GetPeriod2()

```crmscript theme={null}
Integer GetPeriod2()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Days in the second period.

**Example:**

```crmscript theme={null}
NSStatusMonitorPeriods thing;
Integer period2 = thing.GetPeriod2();
```

## GetPeriod3()

```crmscript theme={null}
Integer GetPeriod3()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Days in the third period.

**Example:**

```crmscript theme={null}
NSStatusMonitorPeriods thing;
Integer period3 = thing.GetPeriod3();
```

## SetPeriod1(Integer)

```crmscript theme={null}
Void SetPeriod1(Integer period1)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSStatusMonitorPeriods thing;
Integer period1;
thing.SetPeriod1(period1);
```

## SetPeriod2(Integer)

```crmscript theme={null}
Void SetPeriod2(Integer period2)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSStatusMonitorPeriods thing;
Integer period2;
thing.SetPeriod2(period2);
```

## SetPeriod3(Integer)

```crmscript theme={null}
Void SetPeriod3(Integer period3)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSStatusMonitorPeriods thing;
Integer period3;
thing.SetPeriod3(period3);
```


## Related topics

- [NSSaintAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSSaintAgent.md)
- [Save Status Monitor Periods](/en/api/reference/restful/agent/saint_agent/save-status-monitor-periods.md)
- [Get Status Monitor Periods](/en/api/reference/restful/agent/saint_agent/get-status-monitor-periods.md)
- [Create Default Status Monitor Periods](/en/api/reference/restful/agent/saint_agent/create-default-status-monitor-periods.md)
- [SuperOffice.WebApi.Data.StatusMonitorPeriods](/en/api/reference/webapi/SuperOffice.WebApi.Data.StatusMonitorPeriods.md)
- [SuperOffice.WebApi.Data.Saint GetStatusMonitorPeriodsRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Saint_GetStatusMonitorPeriodsRequest.md)
