Class CeiloMeterSample

    • Constructor Detail

      • CeiloMeterSample

        public CeiloMeterSample()
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in interface Sample
        Returns:
        the idof the meter
      • getUnit

        public String getUnit()
        Specified by:
        getUnit in interface Sample
        Returns:
        Returns unit
      • getVolume

        public Float getVolume()
        Specified by:
        getVolume in interface Sample
        Returns:
        the actual measured value
      • getSource

        public String getSource()
        Specified by:
        getSource in interface Sample
        Returns:
        The ID of the source that identifies where the sample comes from
      • getProjectId

        public String getProjectId()
        Specified by:
        getProjectId in interface Sample
        Returns:
        he ID of the project or tenant that owns the resource
      • getUserId

        public String getUserId()
        Specified by:
        getUserId in interface Sample
        Returns:
        The ID of the user who last triggered an update to the resource
      • getResourceId

        public String getResourceId()
        Specified by:
        getResourceId in interface Sample
        Returns:
        The ID of the Resource for which the measurements are taken
      • getTimestamp

        public String getTimestamp()
        Specified by:
        getTimestamp in interface Sample
        Returns:
        UTC date and time when the measurement was made
      • getMetadata

        public Map<String,​Object> getMetadata()
        Specified by:
        getMetadata in interface Sample
        Returns:
        Arbitrary metadata associated with the resource
      • getRecordedAt

        public String getRecordedAt()
        Specified by:
        getRecordedAt in interface Sample
        Returns:
        UTC date and time when the sample was recorded
      • getMeter

        public String getMeter()
        Specified by:
        getMeter in interface Sample
        Returns:
        the meter