wallee
Version:
TypeScript/JavaScript client for wallee
46 lines (45 loc) • 1.87 kB
TypeScript
/**
*
* @export
* @interface SubscriptionComponentConfiguration
*/
export interface SubscriptionComponentConfiguration {
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof SubscriptionComponentConfiguration
*/
readonly linkedSpaceId?: number;
/**
* The component that is being configured.
* @type {number}
* @memberof SubscriptionComponentConfiguration
*/
readonly component?: number;
/**
* The quantity that should be applied to the component.
* @type {number}
* @memberof SubscriptionComponentConfiguration
*/
readonly quantity?: number;
/**
* A unique identifier for the object.
* @type {number}
* @memberof SubscriptionComponentConfiguration
*/
readonly id?: number;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof SubscriptionComponentConfiguration
*/
readonly version?: number;
}
/**
* Check if a given object implements the SubscriptionComponentConfiguration interface.
*/
export declare function instanceOfSubscriptionComponentConfiguration(value: object): value is SubscriptionComponentConfiguration;
export declare function SubscriptionComponentConfigurationFromJSON(json: any): SubscriptionComponentConfiguration;
export declare function SubscriptionComponentConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionComponentConfiguration;
export declare function SubscriptionComponentConfigurationToJSON(json: any): SubscriptionComponentConfiguration;
export declare function SubscriptionComponentConfigurationToJSONTyped(value?: Omit<SubscriptionComponentConfiguration, 'linkedSpaceId' | 'component' | 'quantity' | 'id' | 'version'> | null, ignoreDiscriminator?: boolean): any;