code: public MetadataEnvelope getProperties(String did, Boolean includeTimestamp) throws ApiException {
          ApiResponse<MetadataEnvelope> resp = getPropertiesWithHttpInfo(did, includeTimestamp);
          return resp.getData();
      }
docs: Read a device&#39;s properties.
  Read a device&#39;s properties.
  @param did Device ID. (required)
  @param includeTimestamp Include timestamp. (optional)
  @return MetadataEnvelope
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body