StringBooleanGetAppServiceDataGetAppServiceDataStringGet the ServiceType
Kind: Instance method of GetAppServiceData
Returns: String - the KEY_SERVICE_TYPE value
BooleanGet the Subscribe
Kind: Instance method of GetAppServiceData
Returns: Boolean - the KEY_SUBSCRIBE value
GetAppServiceDataSet the ServiceType
Kind: Instance method of GetAppServiceData
Returns: GetAppServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| type | String |
The type of service that is to be offered by this app. See AppServiceType for known enum equivalent types. Parameter is a string to allow for new service types to be used by apps on older versions of SDL Core. - The desired ServiceType. {'string_min_length': 1} |
GetAppServiceDataSet the Subscribe
Kind: Instance method of GetAppServiceData
Returns: GetAppServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| subscribe | Boolean |
If true, the consumer is requesting to subscribe to all future updates from the service publisher. If false, the consumer doesn't wish to subscribe and should be unsubscribed if it was previously subscribed. - The desired Subscribe. |