Class DetectionRequest


  • public final class DetectionRequest
    extends Object
    Detection request.
    • Constructor Detail

      • DetectionRequest

        public DetectionRequest()
    • Method Detail

      • getSource

        public String getSource()
        Get the source property: Source link to the input variables. Each variable should be a csv with two columns, `timestamp` and `value`. The file name of the variable will be used as its name. The variables used in detection should be exactly the same with those used in the training phase.
        Returns:
        the source value.
      • setSource

        public DetectionRequest setSource​(String source)
        Set the source property: Source link to the input variables. Each variable should be a csv with two columns, `timestamp` and `value`. The file name of the variable will be used as its name. The variables used in detection should be exactly the same with those used in the training phase.
        Parameters:
        source - the source value to set.
        Returns:
        the DetectionRequest object itself.
      • getStartTime

        public OffsetDateTime getStartTime()
        Get the startTime property: A required field, indicating the start time of data for detection. Should be date-time.
        Returns:
        the startTime value.
      • setStartTime

        public DetectionRequest setStartTime​(OffsetDateTime startTime)
        Set the startTime property: A required field, indicating the start time of data for detection. Should be date-time.
        Parameters:
        startTime - the startTime value to set.
        Returns:
        the DetectionRequest object itself.
      • getEndTime

        public OffsetDateTime getEndTime()
        Get the endTime property: A required field, indicating the end time of data for detection. Should be date-time.
        Returns:
        the endTime value.
      • setEndTime

        public DetectionRequest setEndTime​(OffsetDateTime endTime)
        Set the endTime property: A required field, indicating the end time of data for detection. Should be date-time.
        Parameters:
        endTime - the endTime value to set.
        Returns:
        the DetectionRequest object itself.