optOutUsersFromOktaCommunicationEmails() {
    let url = `${this.baseUrl}/api/v1/org/privacy/oktaCommunication/optOut`;

    const resources = [];

    const request = this.http.postJson(
      url,
      null,
      { resources }
    );
    return request.then(jsonRes => new models.OrgOktaCommunicationSetting(jsonRes, this));
  }
/**
   *
   * @description
   * Opts out all users of this org from Okta Communication emails.
   * @returns {Promise<OrgOktaCommunicationSetting>}
   */
@description
Opts out all users of this org from Okta Communication emails.
@returns {Promise}
@description Opts out all users of this org from Okta Communication emails . @returns { Promise }
optOutUsersFromOktaCommunicationEmails() {
    let url = `${this.baseUrl}/api/v1/org/privacy/oktaCommunication/optOut`;
    const resources = [];
    const request = this.http.postJson(
      url,
      null,
      { resources }
    );
    return request.then(jsonRes => new models.OrgOktaCommunicationSetting(jsonRes, this));
  }
optOutUsersFromOktaCommunicationEmails ( ) { let url = ` ${ this . baseUrl } ` ; const resources = [ ] ; const request = this . http . postJson ( url , null , { resources } ) ; return request . then ( jsonRes => new models . OrgOktaCommunicationSetting ( jsonRes , this ) ) ; }
@description
 Opts out all users of this org from Okta Communication emails.
@description Opts out all users of this org from Okta Communication emails .