mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-08 20:37:46 +00:00
starting point for adding python sdk docs
This commit is contained in:
38
docs/tools/sdk/python/Reference/V2024/Models/ScheduleDays.md
Normal file
38
docs/tools/sdk/python/Reference/V2024/Models/ScheduleDays.md
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
id: v2024-schedule-days
|
||||
title: ScheduleDays
|
||||
pagination_label: ScheduleDays
|
||||
sidebar_label: ScheduleDays
|
||||
sidebar_class_name: pythonsdk
|
||||
keywords: ['python', 'Python', 'sdk', 'ScheduleDays', 'V2024ScheduleDays']
|
||||
slug: /tools/sdk/python/v2024/models/schedule-days
|
||||
tags: ['SDK', 'Software Development Kit', 'ScheduleDays', 'V2024ScheduleDays']
|
||||
---
|
||||
|
||||
# ScheduleDays
|
||||
|
||||
Specifies which day(s) a schedule is active for. This is required for all schedule types. The \"values\" field holds different data depending on the type of schedule: * WEEKLY: days of the week (1-7) * MONTHLY: days of the month (1-31, L, L-1...) * ANNUALLY: if the \"months\" field is also set: days of the month (1-31, L, L-1...); otherwise: ISO-8601 dates without year (\"--12-31\") * CALENDAR: ISO-8601 dates (\"2020-12-31\") Note that CALENDAR only supports the LIST type, and ANNUALLY does not support the RANGE type when provided with ISO-8601 dates without year. Examples: On Sundays: * type LIST * values \"1\" The second to last day of the month: * type LIST * values \"L-1\" From the 20th to the last day of the month: * type RANGE * values \"20\", \"L\" Every March 2nd: * type LIST * values \"--03-02\" On March 2nd, 2021: * type: LIST * values \"2021-03-02\"
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**type** | **Enum** [ 'LIST', 'RANGE' ] | Enum type to specify days value | [required]
|
||||
**values** | **[]str** | Values of the days based on the enum type mentioned above | [required]
|
||||
**interval** | **int** | Interval between the cert generations | [optional]
|
||||
}
|
||||
|
||||
## Example
|
||||
|
||||
```python
|
||||
from sailpoint.v2024.models.schedule_days import ScheduleDays
|
||||
|
||||
schedule_days = ScheduleDays(
|
||||
type='LIST',
|
||||
values=[1],
|
||||
interval=2
|
||||
)
|
||||
|
||||
```
|
||||
[[Back to top]](#)
|
||||
|
||||
Reference in New Issue
Block a user