box-node-sdk
Version:
Official SDK for Box Platform APIs
40 lines • 1.84 kB
TypeScript
import { SerializedData } from '../../serialization/json';
export type HubBaseV2025R0TypeField = 'hubs';
export declare class HubBaseV2025R0 {
/**
* The unique identifier that represent a Box Hub.
*
* The ID for any Box Hub can be determined
* by visiting a Box Hub in the web application
* and copying the ID from the URL. For example,
* for the URL `https://*.app.box.com/hubs/123`
* the `hub_id` is `123`. */
readonly id: string;
/**
* The value will always be `hubs`. */
readonly type: HubBaseV2025R0TypeField;
readonly rawData?: SerializedData;
constructor(fields: Omit<HubBaseV2025R0, 'type'> & Partial<Pick<HubBaseV2025R0, 'type'>>);
}
export interface HubBaseV2025R0Input {
/**
* The unique identifier that represent a Box Hub.
*
* The ID for any Box Hub can be determined
* by visiting a Box Hub in the web application
* and copying the ID from the URL. For example,
* for the URL `https://*.app.box.com/hubs/123`
* the `hub_id` is `123`. */
readonly id: string;
/**
* The value will always be `hubs`. */
readonly type?: HubBaseV2025R0TypeField;
readonly rawData?: SerializedData;
}
export declare function serializeHubBaseV2025R0TypeField(val: HubBaseV2025R0TypeField): SerializedData;
export declare function deserializeHubBaseV2025R0TypeField(val: SerializedData): HubBaseV2025R0TypeField;
export declare function serializeHubBaseV2025R0(val: HubBaseV2025R0): SerializedData;
export declare function deserializeHubBaseV2025R0(val: SerializedData): HubBaseV2025R0;
export declare function serializeHubBaseV2025R0Input(val: HubBaseV2025R0Input): SerializedData;
export declare function deserializeHubBaseV2025R0Input(val: SerializedData): HubBaseV2025R0Input;
//# sourceMappingURL=hubBaseV2025R0.d.ts.map