box-node-sdk
Version:
Official SDK for Box Platform APIs
45 lines (44 loc) • 2.29 kB
TypeScript
import { EnterpriseBase } from './enterpriseBase';
import { UserBase } from './userBase';
import { DateTime } from '../internal/utils';
import { SerializedData } from '../serialization/json';
export type ShieldInformationBarrierTypeField = 'shield_information_barrier';
export type ShieldInformationBarrierStatusField = 'draft' | 'pending' | 'disabled' | 'enabled' | 'invalid' | string;
export interface ShieldInformationBarrier {
/**
* The unique identifier for the shield information barrier. */
readonly id?: string;
/**
* The type of the shield information barrier. */
readonly type?: ShieldInformationBarrierTypeField;
/**
* The `type` and `id` of enterprise this barrier is under. */
readonly enterprise?: EnterpriseBase;
/**
* Status of the shield information barrier. */
readonly status?: ShieldInformationBarrierStatusField;
/**
* ISO date time string when this
* shield information barrier object was created. */
readonly createdAt?: DateTime;
/**
* The user who created this shield information barrier. */
readonly createdBy?: UserBase;
/**
* ISO date time string when this shield information barrier was updated. */
readonly updatedAt?: DateTime;
/**
* The user that updated this shield information barrier. */
readonly updatedBy?: UserBase;
/**
* ISO date time string when this shield information barrier was enabled. */
readonly enabledAt?: DateTime;
readonly enabledBy?: UserBase;
readonly rawData?: SerializedData;
}
export declare function serializeShieldInformationBarrierTypeField(val: ShieldInformationBarrierTypeField): SerializedData;
export declare function deserializeShieldInformationBarrierTypeField(val: SerializedData): ShieldInformationBarrierTypeField;
export declare function serializeShieldInformationBarrierStatusField(val: ShieldInformationBarrierStatusField): SerializedData;
export declare function deserializeShieldInformationBarrierStatusField(val: SerializedData): ShieldInformationBarrierStatusField;
export declare function serializeShieldInformationBarrier(val: ShieldInformationBarrier): SerializedData;
export declare function deserializeShieldInformationBarrier(val: SerializedData): ShieldInformationBarrier;