wallee
Version:
TypeScript/JavaScript client for wallee
59 lines (58 loc) • 2.63 kB
TypeScript
import type { SubscriptionProductComponentReferenceState } from './SubscriptionProductComponentReferenceState';
/**
* The product component reference links components from different product versions, which makes it possible to carry out migrations.
* @export
* @interface SubscriptionProductComponentReference
*/
export interface SubscriptionProductComponentReference {
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof SubscriptionProductComponentReference
*/
readonly linkedSpaceId?: number;
/**
* The name used to identify the component reference.
* @type {string}
* @memberof SubscriptionProductComponentReference
*/
readonly name?: string;
/**
* The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed.
* @type {Date}
* @memberof SubscriptionProductComponentReference
*/
readonly plannedPurgeDate?: Date;
/**
* A unique identifier for the object.
* @type {number}
* @memberof SubscriptionProductComponentReference
*/
readonly id?: number;
/**
*
* @type {SubscriptionProductComponentReferenceState}
* @memberof SubscriptionProductComponentReference
*/
state?: SubscriptionProductComponentReferenceState;
/**
* The component reference sku as a unique identifier.
* @type {string}
* @memberof SubscriptionProductComponentReference
*/
readonly sku?: string;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof SubscriptionProductComponentReference
*/
readonly version?: number;
}
/**
* Check if a given object implements the SubscriptionProductComponentReference interface.
*/
export declare function instanceOfSubscriptionProductComponentReference(value: object): value is SubscriptionProductComponentReference;
export declare function SubscriptionProductComponentReferenceFromJSON(json: any): SubscriptionProductComponentReference;
export declare function SubscriptionProductComponentReferenceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionProductComponentReference;
export declare function SubscriptionProductComponentReferenceToJSON(json: any): SubscriptionProductComponentReference;
export declare function SubscriptionProductComponentReferenceToJSONTyped(value?: Omit<SubscriptionProductComponentReference, 'linkedSpaceId' | 'name' | 'plannedPurgeDate' | 'id' | 'sku' | 'version'> | null, ignoreDiscriminator?: boolean): any;