code: public MetadataEnvelope updateServerProperties(String did, Object deviceProperties) throws ApiException {
          ApiResponse<MetadataEnvelope> resp = updateServerPropertiesWithHttpInfo(did, deviceProperties);
          return resp.getData();
      }
docs: Updates a device&#39;s server properties.
  Updates a device&#39;s server properties.
  @param did Device ID. (required)
  @param deviceProperties Device properties object to be set (required)
  @return MetadataEnvelope
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body