Allowed Resource Type Search Builder

AllowedResourceTypeSearchBuilder

AllowedResourceTypeSearchBuilder Objects

class AllowedResourceTypeSearchBuilder()

Defined a search over mobile phone provider catalog

constructor
function constructor()

Arguments:

  • parent InternalOpenGateAPI - Instance of our InternalOpenGateAPI

build
function build() -> 'StaticSearch'

Build a instance of StaticSearch

Returns:

  • StaticSearch

Example:

  ogapi.AllowedResourceTypeSearchBuilder().build()

customFilters
function customFilters()

withType
function withType(type: string) -> 'AllowedResourceTypeSearchBuilder'

Sets type to search

Arguments:

  • type string - type to searcg

Returns:

  • AllowedResourceTypeSearchBuilder

Example:

 ogapi.AllowedResourceTypeSearchBuilder().withType('device').build()