/**
 * API Gateway API
 * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
For more information, see
[Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).

 * OpenAPI spec version: 20190501
 *
 *
 * 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" ) ; /**
 * Information about the SDK.
 */ export interface Sdk { /**
     * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource.
     *
     */ "id" : string ; /**
     * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of API resource
     *
     */ "apiId" : string ; /**
     * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the
     * resource is created.
     *
     */ "compartmentId" ? : string ; /**
     * The time this resource was created. An RFC3339 formatted datetime string.
     */ "timeCreated" ? : Date ; /**
     * The time this resource was last updated. An RFC3339 formatted datetime string.
     */ "timeUpdated" ? : Date ; /**
      * A user-friendly name. Does not have to be unique, and it's changeable.
  * Avoid entering confidential information.
  * <p>
  Example: `My new resource`
  *
      */ "displayName" : string ; /**
     * The string representing the target programming language for generating the SDK.
     *
     */ "targetLanguage" : string ; /**
     * File location for generated SDK.
     */ "artifactUrl" ? : string ; /**
     * Expiry of artifact url.
     */ "timeArtifactUrlExpiresAt" ? : Date ; /**
     * The current state of the SDK.
     * - The SDK will be in CREATING state if the SDK creation is in progress.
     * - The SDK will be in ACTIVE state if create is successful.
     * - The SDK will be in FAILED state if the create, or delete fails.
     * - The SDK will be in DELETING state if the deletion in in progress.
     * - The SDK will be in DELETED state if the delete is successful.
     *
     */ "lifecycleState" ? : Sdk . LifecycleState ; /**
     * A message describing the current state in more detail.
     * For example, can be used to provide actionable information for a
     * resource in a Failed state.
     *
     */ "lifecycleDetails" ? : string ; /**
      * Free-form tags for this resource. Each tag is a simple key-value pair
  * with no predefined name, type, or namespace. For more information, see
  * [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
  * <p>
  Example: `{\"Department\": \"Finance\"}`
  *
      */ "freeformTags" ? : { [ key ] : string ; } ; /**
      * Defined tags for this resource. Each key is predefined and scoped to a
  * namespace. For more information, see
  * [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
  * <p>
  Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
  *
      */ "definedTags" ? : { [ key ] : { [ key ] : any ; } ; } ; /**
      * Additional optional configurations passed.
  * The applicable config keys are listed under \"parameters\" when \"/sdkLanguageTypes\" is called.
  * <p>
  Example: `{\"configName\": \"configValue\"}`
  *
      */ "parameters" ? : { [ key ] : string ; } ; } export namespace Sdk { export enum LifecycleState { Creating = "CREATING" , Active = "ACTIVE" , Failed = "FAILED" , Deleting = "DELETING" , Deleted = "DELETED" , /**
         * This value is used if a service returns a value for this enum that is not recognized by this
         * version of the SDK.
         */ UnknownValue = "UNKNOWN_VALUE" } export function getJsonObj ( obj ) { const jsonObj = { ... obj , ... { } } ; return jsonObj ; } export function getDeserializedJsonObj ( obj ) { const jsonObj = { ... obj , ... { } } ; return jsonObj ; } }