/**
 * MySQL Database Service API
 * The API for the MySQL Database Service
 * OpenAPI spec version: 20190415
 * Contact: mysql-cloud-dev_ww_grp@oracle.com
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */ import * as model from "../model" ; import common = require ( "oci-common" ) ; /**
 * HeatWave cluster memory estimate
 * that can be used to determine a suitable HeatWave cluster size. For each MySQL user table the estimated memory
 * footprint when the table is loaded to the HeatWave cluster memory is returned.
 *
 */ export interface HeatWaveClusterMemoryEstimate { /**
     * The OCID of the DB System the HeatWave cluster memory estimate is associated with.
     *
     */ "dbSystemId" : string ; /**
     * Current status of the Work Request generating the HeatWave cluster memory estimate.
     */ "status" : model . HeatWaveClusterMemoryEstimateStatus ; /**
     * The date and time that the Work Request to generate the HeatWave cluster memory estimate was issued, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc333).
     */ "timeCreated" : Date ; /**
     * The date and time that the HeatWave cluster memory estimate was generated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc333).
     */ "timeUpdated" : Date ; /**
     * Collection of schemas with estimated memory footprints for MySQL user tables of each schema
     * when loaded to HeatWave cluster memory.
     *
     */ "tableSchemas" : Array < model . HeatWaveClusterSchemaMemoryEstimate > ; } export namespace HeatWaveClusterMemoryEstimate { export function getJsonObj ( obj ) { const jsonObj = { ... obj , ... { "tableSchemas" : obj . tableSchemas ? obj . tableSchemas . map ( item => { return model . HeatWaveClusterSchemaMemoryEstimate . getJsonObj ( item ) ; } ) : undefined } } ; return jsonObj ; } export function getDeserializedJsonObj ( obj ) { const jsonObj = { ... obj , ... { "tableSchemas" : obj . tableSchemas ? obj . tableSchemas . map ( item => { return model . HeatWaveClusterSchemaMemoryEstimate . getDeserializedJsonObj ( item ) ; } ) : undefined } } ; return jsonObj ; } }