code: public ApiResponse<DeviceTypeEnvelope> getDeviceTypeWithHttpInfo(String deviceTypeId) throws ApiException {
          com.squareup.okhttp.Call call = getDeviceTypeValidateBeforeCall(deviceTypeId, null, null);
          Type localVarReturnType = new TypeToken<DeviceTypeEnvelope>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Get Device Type
  Retrieves a Device Type
  @param deviceTypeId deviceTypeId (required)
  @return ApiResponse&lt;DeviceTypeEnvelope&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body