skipcheck

TM1 client · Docs · Queries

ODataProperty

from skipcheck_tm1 import ODataProperty

A property path for queries, such as Name or Hierarchy/Name. The generated model provides constants implementing this, so queries are checked by the compiler; of works for any path.

Members

__init__ constructor
of staticA property path from text, with / between segments.
pathThe path, with / between segments, unencoded.
eqthis eq value, the value written as an OData literal (ODataLiterals.of).
nethis ne value, the value written as an OData literal (ODataLiterals.of).
gtthis gt value, the value written as an OData literal (ODataLiterals.of).
gethis ge value, the value written as an OData literal (ODataLiterals.of).
ltthis lt value, the value written as an OData literal (ODataLiterals.of).
lethis le value, the value written as an OData literal (ODataLiterals.of).
is_nullthis eq null.

__init__

constructor
__init__(path: str)

of

static
of(path: str) -> ODataProperty

A property path from text, with / between segments.

path

path() -> str

The path, with / between segments, unencoded.

eq

eq(value: Any) -> Filter

this eq value, the value written as an OData literal (ODataLiterals.of). None isn't allowed: use is_null.

ne

ne(value: Any) -> Filter

this ne value, the value written as an OData literal (ODataLiterals.of). None isn't allowed: use is_null.

gt

gt(value: Any) -> Filter

this gt value, the value written as an OData literal (ODataLiterals.of). None isn't allowed: use is_null.

ge

ge(value: Any) -> Filter

this ge value, the value written as an OData literal (ODataLiterals.of). None isn't allowed: use is_null.

lt

lt(value: Any) -> Filter

this lt value, the value written as an OData literal (ODataLiterals.of). None isn't allowed: use is_null.

le

le(value: Any) -> Filter

this le value, the value written as an OData literal (ODataLiterals.of). None isn't allowed: use is_null.

is_null

is_null() -> Filter

this eq null.