/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface ScheduleSyncRuleCreatePayloadV2 */ export interface ScheduleSyncRuleCreatePayloadV2 { /** * Annotations that track metadata about this resource */ annotations?: { [key: string]: string; }; /** * IDs of users to always keep in the Slack user group, regardless of who is on call. Each must be an active user in your organisation. Defaults to none. */ permanent_member_user_ids?: Array; /** * If set, scopes the rule to a single rotation on the schedule. When unset, all rotations are synced. */ rotation_id?: string; /** * The sync target to link to */ schedule_sync_target_id: string; /** * Which schedule members sync to the user group */ sync_type: ScheduleSyncRuleCreatePayloadV2SyncTypeEnum; } /** * @export */ export declare const ScheduleSyncRuleCreatePayloadV2SyncTypeEnum: { readonly OnCall: "on_call"; readonly AllUsers: "all_users"; readonly NextOnCall: "next_on_call"; }; export type ScheduleSyncRuleCreatePayloadV2SyncTypeEnum = typeof ScheduleSyncRuleCreatePayloadV2SyncTypeEnum[keyof typeof ScheduleSyncRuleCreatePayloadV2SyncTypeEnum]; /** * Check if a given object implements the ScheduleSyncRuleCreatePayloadV2 interface. */ export declare function instanceOfScheduleSyncRuleCreatePayloadV2(value: object): value is ScheduleSyncRuleCreatePayloadV2; export declare function ScheduleSyncRuleCreatePayloadV2FromJSON(json: any): ScheduleSyncRuleCreatePayloadV2; export declare function ScheduleSyncRuleCreatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): ScheduleSyncRuleCreatePayloadV2; export declare function ScheduleSyncRuleCreatePayloadV2ToJSON(json: any): ScheduleSyncRuleCreatePayloadV2; export declare function ScheduleSyncRuleCreatePayloadV2ToJSONTyped(value?: ScheduleSyncRuleCreatePayloadV2 | null, ignoreDiscriminator?: boolean): any;