skipcheck

TM1 client · Docs · The client

Tm1ClientBuilder

using Skipcheck.Tm1.Client;

Builds a Tm1Client: the same settings as Tm1ClientBuilder, which it delegates to.

Members

BaseUrlThe service root, such as http://localhost:8010/api/v1/.
AddressThe server's address, such as http://tm1:8010.
DialectThe kind of deployment.
BasicAuthBasic authentication.
AuthenticatorWhat supplies the credentials for each login.
ImpersonateThe TM1 user to act as.
SessionContextThe session context sent to TM1.
TimeoutsThe timeouts.
ErrorClassifierThe classifier for error responses.
HttpHandlerThe HTTP handler to send through.
CheckCapabilitiesWhether requests check the server's $metadata for what they need.
BuildThe client.

BaseUrl

Tm1ClientBuilder BaseUrl(string baseUrl)

The service root, such as http://localhost:8010/api/v1/: see Tm1SessionBuilder.BaseUrl.

Address

Tm1ClientBuilder Address(string address)

The server's address, such as http://tm1:8010: see Tm1SessionBuilder.Address.

Dialect

Tm1ClientBuilder Dialect(Tm1Dialect dialect)

The kind of deployment: see Tm1SessionBuilder.Dialect.

BasicAuth

Tm1ClientBuilder BasicAuth(string user, string? password)

Basic authentication: see Tm1SessionBuilder.BasicAuth.

Authenticator

Tm1ClientBuilder Authenticator(Tm1Authenticator authenticator)

What supplies the credentials for each login: see Tm1SessionBuilder.Authenticator.

Impersonate

Tm1ClientBuilder Impersonate(string user)

The TM1 user to act as: see Tm1SessionBuilder.Impersonate.

SessionContext

Tm1ClientBuilder SessionContext(string sessionContext)

The session context sent to TM1: see Tm1SessionBuilder.SessionContext.

Timeouts

Tm1ClientBuilder Timeouts(Tm1Timeouts timeouts)

The timeouts: see Tm1SessionBuilder.Timeouts.

ErrorClassifier

Tm1ClientBuilder ErrorClassifier(Tm1ErrorClassifier classifier)

The classifier for error responses: see Tm1SessionBuilder.ErrorClassifier.

HttpHandler

Tm1ClientBuilder HttpHandler(System.Net.Http.HttpMessageHandler handler)

The HTTP handler to send through: see Tm1SessionBuilder.HttpHandler, which says what a handler needs for names outside ASCII.

CheckCapabilities

Tm1ClientBuilder CheckCapabilities(bool check)

Whether requests check the server's $metadata for what they need: see Tm1SessionBuilder.CheckCapabilities.

Build

Tm1Client Build()

The client. Nothing is sent to TM1 until the first request.