/** * 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. */ import type { EngineParamBindingV2 } from './EngineParamBindingV2.js'; import type { PolicyReminderCadenceV2 } from './PolicyReminderCadenceV2.js'; /** * * @export * @interface PolicyAssignmentRulesV2 */ export interface PolicyAssignmentRulesV2 { /** * Bindings which define the user to be assigned. We will assign the first user which evaluates; the rest are fallback values */ bindings: Array; /** * */ reminder_cadence_after?: PolicyReminderCadenceV2; /** * */ reminder_cadence_before?: PolicyReminderCadenceV2; /** * List of hours relative to when the finding was detected to remind the assignee. Non-negative only; 0 means immediately on detection. Only valid for policy types that support detection reminders (e.g. schedule). */ reminder_detected_date_offset_hours?: Array; /** * List of hours relative to the due date to remind the assignee. Negative values are before the due date, positive after. */ reminder_due_date_offset_hours: Array; } /** * Check if a given object implements the PolicyAssignmentRulesV2 interface. */ export declare function instanceOfPolicyAssignmentRulesV2(value: object): value is PolicyAssignmentRulesV2; export declare function PolicyAssignmentRulesV2FromJSON(json: any): PolicyAssignmentRulesV2; export declare function PolicyAssignmentRulesV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): PolicyAssignmentRulesV2; export declare function PolicyAssignmentRulesV2ToJSON(json: any): PolicyAssignmentRulesV2; export declare function PolicyAssignmentRulesV2ToJSONTyped(value?: PolicyAssignmentRulesV2 | null, ignoreDiscriminator?: boolean): any;