async createInbox(opts) {
      opts = opts || {};
      let postBody = null;

      let pathParams = {
      };
      let queryParams = {
        'description': opts['description'],
        'emailAddress': opts['emailAddress'],
        'expiresAt': opts['expiresAt'],
        'favourite': opts['favourite'],
        'name': opts['name'],
        'tags': this.buildCollectionParam(opts['tags'], 'multi')
      };
      let headerParams = {
      };
      let formParams = {
      };

      let authNames = ['API_KEY'];
      let contentTypes = [];
      let accepts = ['application/json'];
      let returnType = Inbox;

      return this.callApi(
        '/inboxes', 'POST',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
/**
     * Create an Inbox (email address)
     * Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty. 
     * @param {Object} opts Optional parameters
     * @param {String} opts.description Optional description for an inbox.
     * @param {String} opts.emailAddress Optional email address including domain you wish inbox to use (eg: test123@mydomain.com). Only supports domains that you have registered and verified with MailSlurp using dashboard or `createDomain` method.
     * @param {Date} opts.expiresAt Optional expires at timestamp. If your plan supports this feature you can specify when an inbox should expire. If left empty inbox will exist permanently or expire when your plan dictates
     * @param {Boolean} opts.favourite Is inbox favourited.
     * @param {String} opts.name Optional name for an inbox.
     * @param {Array.<String>} opts.tags Optional tags for an inbox. Can be used for searching and filtering inboxes.
     * @return {Promise<Inbox>}
     */
Create an Inbox (email address)
Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty.
@param {Object} opts Optional parameters
@param {String} opts.description Optional description for an inbox.
@param {String} opts.emailAddress Optional email address including domain you wish inbox to use . Only supports domains that you have registered and verified with MailSlurp using dashboard or `createDomain` method.
@param {Date} opts.expiresAt Optional expires at timestamp. If your plan supports this feature you can specify when an inbox should expire. If left empty inbox will exist permanently or expire when your plan dictates
@param {Boolean} opts.favourite Is inbox favourited.
@param {String} opts.name Optional name for an inbox.
@param {Array.} opts.tags Optional tags for an inbox. Can be used for searching and filtering inboxes.
@return {Promise}
Create an Inbox ( email address ) Create a new inbox and with a randomized email address to send and receive from . Pass emailAddress parameter if you wish to use a specific email address . Creating an inbox is required before sending or receiving emails . If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty . @param { Object } opts Optional parameters @param { String } opts . description Optional description for an inbox . @param { String } opts . emailAddress Optional email address including domain you wish inbox to use . Only supports domains that you have registered and verified with MailSlurp using dashboard or ` createDomain ` method . @param { Date } opts . expiresAt Optional expires at timestamp . If your plan supports this feature you can specify when an inbox should expire . If left empty inbox will exist permanently or expire when your plan dictates @param { Boolean } opts . favourite Is inbox favourited . @param { String } opts . name Optional name for an inbox . @param { Array . } opts . tags Optional tags for an inbox . Can be used for searching and filtering inboxes . @return { Promise }
async createInbox(opts) {
      opts = opts || {};
      let postBody = null;
      let pathParams = {
      };
      let queryParams = {
        'description': opts['description'],
        'emailAddress': opts['emailAddress'],
        'expiresAt': opts['expiresAt'],
        'favourite': opts['favourite'],
        'name': opts['name'],
        'tags': this.buildCollectionParam(opts['tags'], 'multi')
      };
      let headerParams = {
      };
      let formParams = {
      };
      let authNames = ['API_KEY'];
      let contentTypes = [];
      let accepts = ['application/json'];
      let returnType = Inbox;
      return this.callApi(
        '/inboxes', 'POST',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
async createInbox ( opts ) { opts = opts || { } ; let postBody = null ; let pathParams = { } ; let queryParams = { 'description' : opts [ 'description' ] , 'emailAddress' : opts [ 'emailAddress' ] , 'expiresAt' : opts [ 'expiresAt' ] , 'favourite' : opts [ 'favourite' ] , 'name' : opts [ 'name' ] , 'tags' : this . buildCollectionParam ( opts [ 'tags' ] , 'multi' ) } ; let headerParams = { } ; let formParams = { } ; let authNames = [ 'API_KEY' ] ; let contentTypes = [ ] ; let accepts = [ 'application/json' ] ; let returnType = Inbox ; return this . callApi ( '/inboxes' , 'POST' , pathParams , queryParams , headerParams , formParams , postBody , authNames , contentTypes , accepts , returnType ) ; }
Create an Inbox (email address)
 Create a new inbox and with a randomized email address to send and receive from.
Create an Inbox ( email address ) Create a new inbox and with a randomized email address to send and receive from .