public class ObjectsMetadataCatalogOperationsClient
extends MindsphereAPIClient
Modifier and Type | Class and Description |
---|---|
static class |
ObjectsMetadataCatalogOperationsClient.ClientBuilder |
Constructor and Description |
---|
ObjectsMetadataCatalogOperationsClient(ObjectsMetadataCatalogOperationsClient.ClientBuilder builder) |
Modifier and Type | Method and Description |
---|---|
static ObjectsMetadataCatalogOperationsClient.ClientBuilder |
builder() |
void |
createOrUpdateObjectMetadata(CreateOrUpdateObjectMetadataRequest requestObject)
Create/Update Metadata for the object.
|
ObjectMetaDataResponse |
retrieveObjectMetadata(RetrieveObjectMetadataRequest requestObject)
Get Metadata for the object.
|
public ObjectsMetadataCatalogOperationsClient(ObjectsMetadataCatalogOperationsClient.ClientBuilder builder)
public static ObjectsMetadataCatalogOperationsClient.ClientBuilder builder()
public void createOrUpdateObjectMetadata(CreateOrUpdateObjectMetadataRequest requestObject) throws MindsphereException
201 - Created
204 - No Content
400 - Bad request. Possible errors: <br> <table> <colgroup> <col span=\"1\" style=\"width: 30%;\"> <col span=\"1\" style=\"width: 70%;\"> </colgroup> <tr> <th align=\"left\">Code Suffix</th> <th align=\"left\">Message (parametrized)</th> </tr> <tr> <td>parameterPathTooLong</td> <td>Parameter complete path, which is, the default path {defaultpath} and input path must be no longer than 1024 characters.</td> </tr> <tr> <td>parameterPathInvalid</td> <td>Provided parameter path is invalid.</td> </tr> <tr> <td>tooManyTags</td> <td>More than 8 tags are not allowed.</td> </tr> <tr> <td>tagTooLong</td> <td>Tag length must not be greater than 128 characters.</td> </tr> <tr> <td>noSuchSubtenant</td> <td>Provided subtenant does not belong to tenant.</td> </tr> </table>
403 - Forbidden. Possible errors: <br> <table> <colgroup> <col span=\"1\" style=\"width: 30%;\"> <col span=\"1\" style=\"width: 70%;\"> </colgroup> <tr> <th align=\"left\">Code Suffix</th> <th align=\"left\">Message (parametrized)</th> </tr> <tr> <td>subtenantIdNotAllowed</td> <td>Only tenants can address a subtenant's resource using subtenantId.</td> </tr> </table>
0 - Other error with any status code and response body format.
requestObject
- - Object of type CreateOrUpdateObjectMetadataRequest {Parameters are path*,metadata*,subtenantId}MindsphereException
- if an error occurs while attempting to invoke the APIpublic ObjectMetaDataResponse retrieveObjectMetadata(RetrieveObjectMetadataRequest requestObject) throws MindsphereException
200 - OK
400 - Bad request. Possible errors: <br> <table> <colgroup> <col span=\"1\" style=\"width: 30%;\"> <col span=\"1\" style=\"width: 70%;\"> </colgroup> <tr> <th align=\"left\">Code Suffix</th> <th align=\"left\">Message (parametrized)</th> </tr> <tr> <td>parameterPathTooLong</td> <td>Parameter complete path, which is, the default path {defaultpath} and input path must be no longer than 1024 characters.</td> </tr> <tr> <td>parameterPathInvalid</td> <td>Provided parameter path is invalid.</td> </tr> <tr> <td>noSuchSubtenant</td> <td>Provided subtenant does not belong to tenant.</td> </tr> </table>
403 - Forbidden. Possible errors: <br> <table> <colgroup> <col span=\"1\" style=\"width: 30%;\"> <col span=\"1\" style=\"width: 70%;\"> </colgroup> <tr> <th align=\"left\">Code Suffix</th> <th align=\"left\">Message (parametrized)</th> </tr> <tr> <td>subtenantIdNotAllowed</td> <td>Only tenants can address a subtenant's resource using subtenantId.</td> </tr> </table>
404 - Not Found. Possible errors: <br> <table> <colgroup> <col span=\"1\" style=\"width: 30%;\"> <col span=\"1\" style=\"width: 70%;\"> </colgroup> <tr> <th align=\"left\">Code Suffix</th> <th align=\"left\">Message (parametrized)</th> </tr> <tr> <td>objectMetadataNotFound</td> <td>Object metadata not found.</td> </tr> </table>
0 - Other error with any status code and response body format.
requestObject
- - Object of type RetrieveObjectMetadataRequest {Parameters are path*,subtenantId}MindsphereException
- if an error occurs while attempting to invoke the API