listOAuth2Claims(authServerId) {
    if (!authServerId) {
      return Promise.reject(new Error('OKTA API listOAuth2Claims parameter authServerId is required.'));
    }
    let url = `${this.baseUrl}/api/v1/authorizationServers/${authServerId}/claims`;

    return new Collection(
      this,
      url,
      new ModelFactory(models.OAuth2Claim),
    );
  }
/**
   *
   * @param authServerId {String}
   * @description
   * Success
   * @returns {Collection} A collection that will yield {@link OAuth2Claim} instances.
   */
@param authServerId {String}
@description
Success
@returns {Collection} A collection that will yield  OAuth2Claim instances.
@param authServerId { String } @description Success @returns { Collection } A collection that will yield OAuth2Claim instances .
listOAuth2Claims(authServerId) {
    if (!authServerId) {
      return Promise.reject(new Error('OKTA API listOAuth2Claims parameter authServerId is required.'));
    }
    let url = `${this.baseUrl}/api/v1/authorizationServers/${authServerId}/claims`;
    return new Collection(
      this,
      url,
      new ModelFactory(models.OAuth2Claim),
    );
  }
listOAuth2Claims ( authServerId ) { if ( ! authServerId ) { return Promise . reject ( new Error ( 'OKTA API listOAuth2Claims parameter authServerId is required.' ) ) ; } let url = ` ${ this . baseUrl } ${ authServerId } ` ; return new Collection ( this , url , new ModelFactory ( models . OAuth2Claim ) , ) ; }
@param authServerId {String}
 @description
 Success
 @returns {Collection} A collection that will yield {@link OAuth2Claim} instances.
@param authServerId { String } @description Success @returns { Collection } A collection that will yield { @link OAuth2Claim } instances .