async updateInbox(inboxId, updateInboxOptions) {
      let postBody = updateInboxOptions;
      // verify the required parameter 'inboxId' is set
      if (inboxId === undefined || inboxId === null) {
        throw new Error("Missing the required parameter 'inboxId' when calling updateInbox");
      }
      // verify the required parameter 'updateInboxOptions' is set
      if (updateInboxOptions === undefined || updateInboxOptions === null) {
        throw new Error("Missing the required parameter 'updateInboxOptions' when calling updateInbox");
      }

      let pathParams = {
        'inboxId': inboxId
      };
      let queryParams = {
      };
      let headerParams = {
      };
      let formParams = {
      };

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

      return this.callApi(
        '/inboxes/{inboxId}', 'PATCH',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
/**
     * Update Inbox
     * Update editable fields on an inbox
     * @param {String} inboxId inboxId
     * @param {UpdateInboxOptions} updateInboxOptions updateInboxOptions
     * @return {Promise<Inbox>}
     */
Update Inbox
Update editable fields on an inbox
@param {String} inboxId inboxId
@param {UpdateInboxOptions} updateInboxOptions updateInboxOptions
@return {Promise}
Update Inbox Update editable fields on an inbox @param { String } inboxId inboxId @param { UpdateInboxOptions } updateInboxOptions updateInboxOptions @return { Promise }
async updateInbox(inboxId, updateInboxOptions) {
      let postBody = updateInboxOptions;
      if (inboxId === undefined || inboxId === null) {
        throw new Error("Missing the required parameter 'inboxId' when calling updateInbox");
      }
      if (updateInboxOptions === undefined || updateInboxOptions === null) {
        throw new Error("Missing the required parameter 'updateInboxOptions' when calling updateInbox");
      }
      let pathParams = {
        'inboxId': inboxId
      };
      let queryParams = {
      };
      let headerParams = {
      };
      let formParams = {
      };
      let authNames = ['API_KEY'];
      let contentTypes = ['application/json'];
      let accepts = ['application/json'];
      let returnType = Inbox;
      return this.callApi(
        '/inboxes/{inboxId}', 'PATCH',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
async updateInbox ( inboxId , updateInboxOptions ) { let postBody = updateInboxOptions ; if ( inboxId === undefined || inboxId === null ) { throw new Error ( "Missing the required parameter 'inboxId' when calling updateInbox" ) ; } if ( updateInboxOptions === undefined || updateInboxOptions === null ) { throw new Error ( "Missing the required parameter 'updateInboxOptions' when calling updateInbox" ) ; } let pathParams = { 'inboxId' : inboxId } ; let queryParams = { } ; let headerParams = { } ; let formParams = { } ; let authNames = [ 'API_KEY' ] ; let contentTypes = [ 'application/json' ] ; let accepts = [ 'application/json' ] ; let returnType = Inbox ; return this . callApi ( '/inboxes/{inboxId}' , 'PATCH' , pathParams , queryParams , headerParams , formParams , postBody , authNames , contentTypes , accepts , returnType ) ; }
Update Inbox
 Update editable fields on an inbox
 @param {String} inboxId inboxId
 @param {UpdateInboxOptions} updateInboxOptions updateInboxOptions
 @return {Promise<Inbox>}
Update Inbox Update editable fields on an inbox @param { String } inboxId inboxId @param { UpdateInboxOptions } updateInboxOptions updateInboxOptions @return { Promise<Inbox > }
// verify the required parameter 'inboxId' is set // verify the required parameter 'updateInboxOptions' is set