Class ODataJson
java.lang.Object
io.skipcheck.tm1.client.odata.ODataJson
OData 4.0 JSON control information names, and helpers for writing them.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe suffix binding a navigation property to existing entities in a request.static final StringThe context URL.static final StringThe total number of items, with$count=true.static final StringThe link for changes since this response, with change tracking.static final StringAn entity's ETag, for optimistic concurrency (If-Match).static final StringAn entity's ID.static final StringThe next page of a partial collection.static final StringThe (derived) type of an entity, e.g. -
Method Summary
Modifier and TypeMethodDescriptionA single-valued binding, for a request body:"Subset@odata.bind": "Dimensions('d')/Hierarchies('h')/Subsets('s')".A collection-valued binding:"Dimensions@odata.bind": ["Dimensions('a')", ...].
-
Field Details
-
CONTEXT
-
ETAG
-
TYPE
The (derived) type of an entity, e.g.#ibm.tm1.api.v1.MDXView.- See Also:
-
ID
-
NEXT_LINK
-
DELTA_LINK
The link for changes since this response, with change tracking.- See Also:
-
COUNT
-
BIND_SUFFIX
The suffix binding a navigation property to existing entities in a request.- See Also:
-
-
Method Details
-
bind
A single-valued binding, for a request body:"Subset@odata.bind": "Dimensions('d')/Hierarchies('h')/Subsets('s')".- Parameters:
navigation- the navigation property's nametarget- the entity to bind to- Returns:
- a one-entry map, to merge into the request body
-
bind
A collection-valued binding:"Dimensions@odata.bind": ["Dimensions('a')", ...]. In OData 4.0, which TM1 speaks, this is the only way to link to existing entities.- Parameters:
navigation- the navigation property's nametargets- the entities to bind to- Returns:
- a one-entry map, to merge into the request body
-