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

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

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

      return this.callApi(
        '/groups/{groupId}/contacts', 'PUT',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
/**
     * Add contacts to a group
     * @param {String} groupId groupId
     * @param {UpdateGroupContacts} updateGroupContactsOption updateGroupContactsOption
     * @return {Promise<GroupContactsDto>}
     */
Add contacts to a group
@param {String} groupId groupId
@param {UpdateGroupContacts} updateGroupContactsOption updateGroupContactsOption
@return {Promise}
Add contacts to a group @param { String } groupId groupId @param { UpdateGroupContacts } updateGroupContactsOption updateGroupContactsOption @return { Promise }
async addContactsToGroup(groupId, updateGroupContactsOption) {
      let postBody = updateGroupContactsOption;
      if (groupId === undefined || groupId === null) {
        throw new Error("Missing the required parameter 'groupId' when calling addContactsToGroup");
      }
      if (updateGroupContactsOption === undefined || updateGroupContactsOption === null) {
        throw new Error("Missing the required parameter 'updateGroupContactsOption' when calling addContactsToGroup");
      }
      let pathParams = {
        'groupId': groupId
      };
      let queryParams = {
      };
      let headerParams = {
      };
      let formParams = {
      };
      let authNames = ['API_KEY'];
      let contentTypes = ['application/json'];
      let accepts = ['application/json'];
      let returnType = GroupContactsDto;
      return this.callApi(
        '/groups/{groupId}/contacts', 'PUT',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
async addContactsToGroup ( groupId , updateGroupContactsOption ) { let postBody = updateGroupContactsOption ; if ( groupId === undefined || groupId === null ) { throw new Error ( "Missing the required parameter 'groupId' when calling addContactsToGroup" ) ; } if ( updateGroupContactsOption === undefined || updateGroupContactsOption === null ) { throw new Error ( "Missing the required parameter 'updateGroupContactsOption' when calling addContactsToGroup" ) ; } let pathParams = { 'groupId' : groupId } ; let queryParams = { } ; let headerParams = { } ; let formParams = { } ; let authNames = [ 'API_KEY' ] ; let contentTypes = [ 'application/json' ] ; let accepts = [ 'application/json' ] ; let returnType = GroupContactsDto ; return this . callApi ( '/groups/{groupId}/contacts' , 'PUT' , pathParams , queryParams , headerParams , formParams , postBody , authNames , contentTypes , accepts , returnType ) ; }
Add contacts to a group
 @param {String} groupId groupId
 @param {UpdateGroupContacts} updateGroupContactsOption updateGroupContactsOption
 @return {Promise<GroupContactsDto>}
Add contacts to a group @param { String } groupId groupId @param { UpdateGroupContacts } updateGroupContactsOption updateGroupContactsOption @return { Promise<GroupContactsDto > }
// verify the required parameter 'groupId' is set // verify the required parameter 'updateGroupContactsOption' is set