public class MappingsClient
extends MindsphereAPIClient
| Modifier and Type | Class and Description |
|---|---|
static class |
MappingsClient.ClientBuilder |
| Constructor and Description |
|---|
MappingsClient(MappingsClient.ClientBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
static MappingsClient.ClientBuilder |
builder() |
PagedMapping |
dataPointMappingsGet(DataPointMappingsGetRequest requestObject)
Get mappings.
|
void |
dataPointMappingsIdDelete(DataPointMappingsIdDeleteRequest requestObject)
Delete a mapping
Deletes a mapping.
|
Mapping |
dataPointMappingsIdGet(DataPointMappingsIdGetRequest requestObject)
Get a mapping by id
Gets a mapping by given id.
|
Mapping |
dataPointMappingsPost(DataPointMappingsPostRequest requestObject)
Create single mapping
Creates a single mapping.
|
public MappingsClient(MappingsClient.ClientBuilder builder)
public static MappingsClient.ClientBuilder builder()
public PagedMapping dataPointMappingsGet(DataPointMappingsGetRequest requestObject) throws MindsphereException
200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
0 - unexpected error
requestObject - - Object of type DataPointMappingsGetRequest {Parameters are filter,size,page,sort}MindsphereException - if an error occurs while attempting to invoke the APIpublic void dataPointMappingsIdDelete(DataPointMappingsIdDeleteRequest requestObject) throws MindsphereException
204 - Deleted
400 - Bad Request
401 - unauthorized
403 - Forbidden
404 - Mapping not found
0 - unexpected error
requestObject - - Object of type DataPointMappingsIdDeleteRequest {Parameters are id*}MindsphereException - if an error occurs while attempting to invoke the APIpublic Mapping dataPointMappingsIdGet(DataPointMappingsIdGetRequest requestObject) throws MindsphereException
200 - OK
400 - Bad Request
401 - unauthorized
403 - Forbidden
404 - Mapping not found
0 - unexpected error
requestObject - - Object of type DataPointMappingsIdGetRequest {Parameters are id*}MindsphereException - if an error occurs while attempting to invoke the APIpublic Mapping dataPointMappingsPost(DataPointMappingsPostRequest requestObject) throws MindsphereException
201 - Created
400 - Bad Request. Request validations failed.
401 - Unauthorized
403 - Forbidden
409 - Conflict
0 - unexpected error
requestObject - - Object of type DataPointMappingsPostRequest {Parameters are mapping*}MindsphereException - if an error occurs while attempting to invoke the API