wallee
Version:
TypeScript/JavaScript client for wallee
38 lines (37 loc) • 1.42 kB
TypeScript
/**
* A metric represents the usage of a resource that can be measured.
* @export
* @interface SubscriptionMetricCreate
*/
export interface SubscriptionMetricCreate {
/**
* The localized name of the metric that is displayed to the customer.
* @type {{ [key: string]: string; }}
* @memberof SubscriptionMetricCreate
*/
name: {
[key: string]: string;
};
/**
* The localized description of the metric that is displayed to the customer.
* @type {{ [key: string]: string; }}
* @memberof SubscriptionMetricCreate
*/
description?: {
[key: string]: string;
};
/**
* The type of the metric.
* @type {number}
* @memberof SubscriptionMetricCreate
*/
type: number;
}
/**
* Check if a given object implements the SubscriptionMetricCreate interface.
*/
export declare function instanceOfSubscriptionMetricCreate(value: object): value is SubscriptionMetricCreate;
export declare function SubscriptionMetricCreateFromJSON(json: any): SubscriptionMetricCreate;
export declare function SubscriptionMetricCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionMetricCreate;
export declare function SubscriptionMetricCreateToJSON(json: any): SubscriptionMetricCreate;
export declare function SubscriptionMetricCreateToJSONTyped(value?: SubscriptionMetricCreate | null, ignoreDiscriminator?: boolean): any;