listIdentityProviderApplicationUsers(idpId) {
    if (!idpId) {
      return Promise.reject(new Error('OKTA API listIdentityProviderApplicationUsers parameter idpId is required.'));
    }
    let url = `${this.baseUrl}/api/v1/idps/${idpId}/users`;

    return new Collection(
      this,
      url,
      new ModelFactory(models.IdentityProviderApplicationUser),
    );
  }
/**
   *
   * @param idpId {String}
   * @description
   * Find all the users linked to an identity provider
   * @returns {Collection} A collection that will yield {@link IdentityProviderApplicationUser} instances.
   */
@param idpId {String}
@description
Find all the users linked to an identity provider
@returns {Collection} A collection that will yield  IdentityProviderApplicationUser instances.
@param idpId { String } @description Find all the users linked to an identity provider @returns { Collection } A collection that will yield IdentityProviderApplicationUser instances .
listIdentityProviderApplicationUsers(idpId) {
    if (!idpId) {
      return Promise.reject(new Error('OKTA API listIdentityProviderApplicationUsers parameter idpId is required.'));
    }
    let url = `${this.baseUrl}/api/v1/idps/${idpId}/users`;
    return new Collection(
      this,
      url,
      new ModelFactory(models.IdentityProviderApplicationUser),
    );
  }
listIdentityProviderApplicationUsers ( idpId ) { if ( ! idpId ) { return Promise . reject ( new Error ( 'OKTA API listIdentityProviderApplicationUsers parameter idpId is required.' ) ) ; } let url = ` ${ this . baseUrl } ${ idpId } ` ; return new Collection ( this , url , new ModelFactory ( models . IdentityProviderApplicationUser ) , ) ; }
@param idpId {String}
 @description
 Find all the users linked to an identity provider
 @returns {Collection} A collection that will yield {@link IdentityProviderApplicationUser} instances.
@param idpId { String } @description Find all the users linked to an identity provider @returns { Collection } A collection that will yield { @link IdentityProviderApplicationUser } instances .