void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); writer.WritePropertyName("startTime"); writer.WriteStringValue(StartTime, "O"); writer.WritePropertyName("endTime"); writer.WriteStringValue(EndTime, "O"); writer.WritePropertyName("timeMode"); writer.WriteStringValue(TimeMode.ToString()); writer.WriteEndObject(); }
/// <summary> /// </summary> public GetAlertsOptions(DateTimeOffset startTime, DateTimeOffset endTime, TimeMode timeMode) { StartTime = startTime; EndTime = endTime; TimeMode = timeMode; }
public AlertingResultQuery(DateTimeOffset startTime, DateTimeOffset endTime, TimeMode timeMode) { StartTime = startTime; EndTime = endTime; TimeMode = timeMode; }