code: public ApiResponse<MetadataEnvelope> updateServerPropertiesWithHttpInfo(String did, Object deviceProperties) throws ApiException {
          com.squareup.okhttp.Call call = updateServerPropertiesValidateBeforeCall(did, deviceProperties, null, null);
          Type localVarReturnType = new TypeToken<MetadataEnvelope>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
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 ApiResponse&lt;MetadataEnvelope&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body