wallee
Version:
TypeScript/JavaScript client for wallee
38 lines (37 loc) • 1.51 kB
TypeScript
/**
* A metric represents the usage of a resource that can be measured.
* @export
* @interface SubscriptionMetricUpdate
*/
export interface SubscriptionMetricUpdate {
/**
* The localized name of the metric that is displayed to the customer.
* @type {{ [key: string]: string; }}
* @memberof SubscriptionMetricUpdate
*/
name?: {
[key: string]: string;
};
/**
* The localized description of the metric that is displayed to the customer.
* @type {{ [key: string]: string; }}
* @memberof SubscriptionMetricUpdate
*/
description?: {
[key: string]: string;
};
/**
* The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
* @type {number}
* @memberof SubscriptionMetricUpdate
*/
version: number;
}
/**
* Check if a given object implements the SubscriptionMetricUpdate interface.
*/
export declare function instanceOfSubscriptionMetricUpdate(value: object): value is SubscriptionMetricUpdate;
export declare function SubscriptionMetricUpdateFromJSON(json: any): SubscriptionMetricUpdate;
export declare function SubscriptionMetricUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionMetricUpdate;
export declare function SubscriptionMetricUpdateToJSON(json: any): SubscriptionMetricUpdate;
export declare function SubscriptionMetricUpdateToJSONTyped(value?: SubscriptionMetricUpdate | null, ignoreDiscriminator?: boolean): any;