Class: TargetProxy¶
TargetProxy is a developer-facing class that provides access to a target. It is passed to rules to provide access to a target for application specific customizations
Hierarchy¶
-
TargetProxy
Implements¶
Summary¶
Constructors¶
Properties¶
Class Properties¶
- _entitySet
- _function
- _outputPath
- _path
- _queryOptions
- _readLink
- _requestProperties
- _serverSidePaging
- _service
- _specifier
Inherited Properties¶
Currently none inherited from the parent class(es).
Accessors¶
Class Accessors¶
Inherited Accessors¶
Currently none inherited from the parent class(es).
Methods¶
Class Methods¶
- getEntitySet
- getFunction
- getOutputPath
- getPath
- getQueryOptions
- getReadLink
- getRequestProperties
- getServerSidePaging
- getService
- setEntitySet
- setFunction
- setOutputPath
- setPath
- setQueryOptions
- setReadLink
- setRequestProperties
- setServerSidePaging
- setService
Inherited Methods¶
Currently none inherited from the parent class(es).
Constructors¶
Constructor¶
+ new TargetProxy(specifier: any): TargetProxy
Parameters:
| Name | Type |
|---|---|
| specifier | any |
Returns: TargetProxy
Properties¶
Protected _entitySet¶
• _entitySet: string
Protected _function¶
• _function: any
Protected _outputPath¶
• _outputPath: string
Protected _path¶
• _path: string
Protected _queryOptions¶
• _queryOptions: string
Protected _readLink¶
• _readLink: string
Protected _requestProperties¶
• _requestProperties: any
Protected _serverSidePaging¶
• _serverSidePaging: boolean = false
Protected _service¶
• _service: string
Protected _specifier¶
• _specifier: any
Accessors¶
specifier¶
Get Signature¶
▸ getter
Get the specifier of the target
Returns¶
any
Methods¶
getEntitySet¶
▸ getEntitySet(): string
Get the entity set name
Implementation of ITargetProxy.getEntitySet
Returns: string
getFunction¶
▸ getFunction(): any
Get the function object in {Name: string, Parameters?: {key: string, value: any}} format
Implementation of ITargetProxy.getFunction
Returns: any
getOutputPath¶
▸ getOutputPath(): string
Get the Outputpath
Implementation of ITargetProxy.getOutputPath
Returns: string
getPath¶
▸ getPath(): string
Get the Path
Implementation of ITargetProxy.getPath
Returns: string
getQueryOptions¶
▸ getQueryOptions(): string
Get the QueryOptions
Implementation of ITargetProxy.getQueryOptions
Returns: string
getReadLink¶
▸ getReadLink(): string
Get the ReadLink
Implementation of ITargetProxy.getReadLink
Returns: string
getRequestProperties¶
▸ getRequestProperties(): string
Get the RequestProperties
Implementation of ITargetProxy.getRequestProperties
Returns: string
getServerSidePaging¶
▸ getServerSidePaging(): boolean
Get the ServerSidePaging
Implementation of ITargetProxy.getServerSidePaging
Returns: boolean
getService¶
▸ getService(): string
Get the Service name
Implementation of ITargetProxy.getService
Returns: string
setEntitySet¶
▸ setEntitySet(value: string): TargetProxy
Set the EntitySet for the Target
Implementation of ITargetProxy.setEntitySet
Parameters:
| Name | Type | Description |
|---|---|---|
| value | string | the EntitySet name |
Returns: TargetProxy
this, can be chained
setFunction¶
▸ setFunction(value: any): TargetProxy
Set the Target Function
Implementation of ITargetProxy.setFunction
Parameters:
| Name | Type | Description |
|---|---|---|
| value | any | the function object in {Name: string, Parameters?: {key: string, value: any}} format |
Returns: TargetProxy
this, can be chained
setOutputPath¶
▸ setOutputPath(value: string): TargetProxy
Set the Target OutputPath
Implementation of ITargetProxy.setOutputPath
Parameters:
| Name | Type | Description |
|---|---|---|
| value | string | web client target output path |
Returns: TargetProxy
this, can be chained
setPath¶
▸ setPath(value: string): TargetProxy
Set the Target Path
Implementation of ITargetProxy.setPath
Parameters:
| Name | Type | Description |
|---|---|---|
| value | string | web client target path |
Returns: TargetProxy
this, can be chained
setQueryOptions¶
▸ setQueryOptions(value: string): TargetProxy
Set the Target QueryOptions
Implementation of ITargetProxy.setQueryOptions
Parameters:
| Name | Type | Description |
|---|---|---|
| value | string | query string |
Returns: TargetProxy
this, can be chained
setReadLink¶
▸ setReadLink(value: string): TargetProxy
Set the Target ReadLink
Implementation of ITargetProxy.setReadLink
Parameters:
| Name | Type | Description |
|---|---|---|
| value | string | query string |
Returns: TargetProxy
this, can be chained
setRequestProperties¶
▸ setRequestProperties(value: any): TargetProxy
set the Target RequestProperties
Implementation of ITargetProxy.setRequestProperties
Parameters:
| Name | Type | Description |
|---|---|---|
| value | any | web client requestProperties {Method: string, Headers?: {key: string, value: any}, Parameters?: {key: string, value: any}, Body?: string} |
Returns: TargetProxy
this, can be chained
setServerSidePaging¶
▸ setServerSidePaging(value: boolean): TargetProxy
Set the Target ServerSidePaging value
Implementation of ITargetProxy.setServerSidePaging
Parameters:
| Name | Type | Description |
|---|---|---|
| value | boolean | boolean value for if server supports ServerSidePaging(skiptoken) for pagination |
Returns: TargetProxy
this, can be chained
setService¶
▸ setService(value: string): TargetProxy
Set the Target Service name
Implementation of ITargetProxy.setService
Parameters:
| Name | Type | Description |
|---|---|---|
| value | string | service name |
Returns: TargetProxy
this, can be chained