Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KiiThingQuery

Hierarchy

  • KiiThingQuery

Index

Methods

  • getLimit(): number
  • getPaginationKey(): string
  • getThingType(): undefined | string
  • setLimit(limit: number): void
  • Set the limit of the given query

    Parameters

    • limit: number

      The maximum number of items obtained in one request.
      If specified limit is <= 0, 0 will be applied. This limit behaves in a best effort way. Actual number of returned result can be smaller than the requested number.
      If the specified limit is greater than the limit of the server or limit is set to 0, limit defined in server will be applied.

    Returns void

  • setPaginationKey(paginationKey: string): void
  • Set the pagination key.

    Parameters

    • paginationKey: string

      Pagination key

    Returns void

  • setThingType(thingType: string): void
  • Set the thing type to filter the results.

    Parameters

    • thingType: string

      Thing type

    Returns void

  • Construct KiiThingQuery.
    Both an owner and groups parameters are optional, but at least one of them must be supplied.

    throws

    {InvalidArgumentException} neither an owner nor groups parameters are supplied.

    Parameters

    Returns KiiThingQuery

Generated using TypeDoc