box-node-sdk
Version:
Official SDK for Box Platform APIs
38 lines (37 loc) • 1.83 kB
TypeScript
import { DateTime } from '../../internal/utils';
import { SerializedData } from '../../serialization/json';
export type ShieldRuleItemV2025R0TypeField = 'shield_rule';
export type ShieldRuleItemV2025R0PriorityField = 'informational' | 'low' | 'medium' | 'high' | 'critical' | string;
export interface ShieldRuleItemV2025R0 {
/**
* The identifier of the shield rule. */
readonly id?: string;
/**
* The value will always be `shield_rule`. */
readonly type?: ShieldRuleItemV2025R0TypeField;
/**
* The category of the shield rule. */
readonly ruleCategory?: string;
/**
* The name of the shield rule. */
readonly name?: string;
/**
* The description of the shield rule. */
readonly description?: string;
/**
* The priority level of the shield rule. */
readonly priority?: ShieldRuleItemV2025R0PriorityField;
/**
* The date and time when the shield rule was created. */
readonly createdAt?: DateTime;
/**
* The date and time when the shield rule was last modified. */
readonly modifiedAt?: DateTime;
readonly rawData?: SerializedData;
}
export declare function serializeShieldRuleItemV2025R0TypeField(val: ShieldRuleItemV2025R0TypeField): SerializedData;
export declare function deserializeShieldRuleItemV2025R0TypeField(val: SerializedData): ShieldRuleItemV2025R0TypeField;
export declare function serializeShieldRuleItemV2025R0PriorityField(val: ShieldRuleItemV2025R0PriorityField): SerializedData;
export declare function deserializeShieldRuleItemV2025R0PriorityField(val: SerializedData): ShieldRuleItemV2025R0PriorityField;
export declare function serializeShieldRuleItemV2025R0(val: ShieldRuleItemV2025R0): SerializedData;
export declare function deserializeShieldRuleItemV2025R0(val: SerializedData): ShieldRuleItemV2025R0;