/* tslint:disable */
/* eslint-disable */
/**
* Elastic Email REST API
* This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available here). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository here
*
* The version of the OpenAPI document: 4.0.0
* Contact: support@elasticemail.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { AccessLevel } from './access-level';
/**
* Newly generated ApiKey with Token
* @export
* @interface NewApiKey
*/
export interface NewApiKey {
/**
* Unique token to be used in the system
* @type {string}
* @memberof NewApiKey
*/
'Token'?: string;
/**
* Access level or permission to be assigned to this ApiKey.
* @type {Array}
* @memberof NewApiKey
*/
'AccessLevel'?: Array;
/**
* Name of the ApiKey.
* @type {string}
* @memberof NewApiKey
*/
'Name'?: string;
/**
* Date this ApiKey was created.
* @type {string}
* @memberof NewApiKey
*/
'DateCreated'?: string;
/**
* Date this ApiKey was last used.
* @type {string}
* @memberof NewApiKey
*/
'LastUse'?: string | null;
/**
* Date this ApiKey expires.
* @type {string}
* @memberof NewApiKey
*/
'Expires'?: string | null;
/**
* Which IPs can use this ApiKey
* @type {Array}
* @memberof NewApiKey
*/
'RestrictAccessToIPRange'?: Array;
}