Class SummarySamples
- Namespace
- Tudormobile.Airthings.Service
- Assembly
- Airthings.Service.dll
Represents a summary of the latest sensor readings across all devices, including service metadata.
public sealed record SummarySamples : IEquatable<SummarySamples>
- Inheritance
-
SummarySamples
- Implements
- Inherited Members
Constructors
SummarySamples()
public SummarySamples()
Properties
LastUpdated
Gets or sets the UTC timestamp indicating when this summary was last populated from the Airthings API.
public DateTimeOffset LastUpdated { get; set; }
Property Value
Samples
Gets or sets the collection of individual sensor summaries, one per device.
public List<SummarySample> Samples { get; set; }
Property Value
Version
Gets or sets the version and metadata of the Airthings Service that produced this response.
public ServiceVersion Version { get; set; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(SummarySamples?)
public bool Equals(SummarySamples? other)
Parameters
otherSummarySamples
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(SummarySamples?, SummarySamples?)
public static bool operator ==(SummarySamples? left, SummarySamples? right)
Parameters
leftSummarySamplesrightSummarySamples
Returns
operator !=(SummarySamples?, SummarySamples?)
public static bool operator !=(SummarySamples? left, SummarySamples? right)
Parameters
leftSummarySamplesrightSummarySamples