public void setHasTimeRangeValue(Float minValue, Float maxValue) {
   TimeRange timeRange = new TimeRange();
   MilliSecond minValueMs = new MilliSecond();
   MilliSecond maxValueMs = new MilliSecond();
   minValueMs.setValue(minValue);
   maxValueMs.setValue(maxValue);
   timeRange.setMin(minValueMs);
   timeRange.setMax(maxValueMs);
   if (getCloudResponseTime() == null) {
     CloudResponseTime cloudResponseTime = new CloudResponseTime();
     setCloudResponseTime(cloudResponseTime);
   }
   getCloudResponseTime().setHasTimeRangeValue(timeRange);
 }
 public void setMaxValueMs(Float maxValue) {
   if (getCloudResponseTime() != null && getCloudResponseTime().getHasTimeRangeValue() != null) {
     MilliSecond maxValueMs = new MilliSecond();
     maxValueMs.setValue(maxValue);
     getCloudResponseTime().getHasTimeRangeValue().setMax(maxValueMs);
   } else {
     if (getCloudResponseTime() == null) {
       CloudResponseTime cloudResponseTime = new CloudResponseTime();
       setCloudResponseTime(cloudResponseTime);
     }
     if (getCloudResponseTime().getHasTimeRangeValue() == null) {
       TimeRange timeRange = new TimeRange();
       MilliSecond maxValueMs = new MilliSecond();
       maxValueMs.setValue(maxValue);
       timeRange.setMax(maxValueMs);
       getCloudResponseTime().setHasTimeRangeValue(timeRange);
     }
   }
 }