/** * The metric usage is the actual usage of a metric for a particular subscription as collected by an external application. * @export * @interface SubscriptionMetricUsageReport */ export interface SubscriptionMetricUsageReport { /** * The number of resources consumed, will be charged in the next billing cycle. * @type {number} * @memberof SubscriptionMetricUsageReport */ readonly consumedUnits?: number; /** * The ID of the user the usage report was created by. * @type {number} * @memberof SubscriptionMetricUsageReport */ readonly createdByUserId?: number; /** * The ID of the space this object belongs to. * @type {number} * @memberof SubscriptionMetricUsageReport */ readonly linkedSpaceId?: number; /** * The metric that the usage report is recorded for. * @type {number} * @memberof SubscriptionMetricUsageReport */ readonly metric?: number; /** * 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 SubscriptionMetricUsageReport */ readonly plannedPurgeDate?: Date; /** * A description used to identify the usage report. * @type {string} * @memberof SubscriptionMetricUsageReport */ readonly description?: string; /** * A client-generated nonce which uniquely identifies some action to be executed. Subsequent requests with the same external ID do not execute the action again, but return the original result. * @type {string} * @memberof SubscriptionMetricUsageReport */ readonly externalId?: string; /** * A unique identifier for the object. * @type {number} * @memberof SubscriptionMetricUsageReport */ readonly id?: number; /** * The subscription that the usage report is recorded for. * @type {number} * @memberof SubscriptionMetricUsageReport */ readonly subscription?: number; /** * The date and time when the usage report was created. * @type {Date} * @memberof SubscriptionMetricUsageReport */ readonly createdOn?: Date; /** * The version is used for optimistic locking and incremented whenever the object is updated. * @type {number} * @memberof SubscriptionMetricUsageReport */ readonly version?: number; } /** * Check if a given object implements the SubscriptionMetricUsageReport interface. */ export declare function instanceOfSubscriptionMetricUsageReport(value: object): value is SubscriptionMetricUsageReport; export declare function SubscriptionMetricUsageReportFromJSON(json: any): SubscriptionMetricUsageReport; export declare function SubscriptionMetricUsageReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionMetricUsageReport; export declare function SubscriptionMetricUsageReportToJSON(json: any): SubscriptionMetricUsageReport; export declare function SubscriptionMetricUsageReportToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any;