skipcheck

TM1 client · Docs · The client

Tm1Operation

import io.skipcheck.tm1.client.Tm1Operation;

An action or function of the TM1 REST API, as $metadata declares it. The generated Tm1Operations catalog has one per operation; services refer to them, so a request can check that the server has the operation (capability) and the coverage gate can tell which operations the client implements.

Members

Tm1Operation constructorChecks that a bound operation has no import name and an unbound one has one.
boundWhether it's bound to a type, rather than invoked from the service root.
deprecatedWhether $metadata marks it deprecated.
endpointThe endpoint as the coverage gate names it.
capabilityWhat a request using it needs the server to have, with the version that added it, for Tm1Request.requires.
toString
hashCode
equals
kind
name
bindingType
importName
parameters
returnType
addedIn
deprecatedIn

Tm1Operation

constructor
Tm1Operation(Tm1Operation.Kind kind, String name, String bindingType, String importName, List<Tm1Operation.Parameter> parameters, String returnType, String addedIn, String deprecatedIn)

Checks that a bound operation has no import name and an unbound one has one.

Throws

IllegalArgumentException
if it has both or neither

bound

boolean bound()

Whether it's bound to a type, rather than invoked from the service root.

Returns

true if it's bound

deprecated

boolean deprecated()

Whether $metadata marks it deprecated.

Returns

true if it's deprecated

endpoint

String endpoint()

The endpoint as the coverage gate names it: Action Chore/Activate, Function Cube/DimensionsStorageOrder, ActionImport ExecuteMDX.

Returns

the endpoint's name

capability

Tm1Capability capability()

What a request using it needs the server to have, with the version that added it, for Tm1Request.requires.

Returns

the capability

toString

String toString()

hashCode

int hashCode()

equals

boolean equals(Object o)

kind

Tm1Operation.Kind kind()

name

String name()

bindingType

String bindingType()

importName

String importName()

parameters

List<Tm1Operation.Parameter> parameters()

returnType

String returnType()

addedIn

String addedIn()

deprecatedIn

String deprecatedIn()

Also in the Javadoc.