Class PullIngestionQuerySettings
Inheritance
PullIngestionQuerySettings
Assembly: CrashCABN.PullIngestion.Abstractions.dll
Syntax
public sealed record PullIngestionQuerySettings : IEquatable<PullIngestionQuerySettings>
Constructors
View Source
PullIngestionQuerySettings(TimeRange?, int?, int?, int?, IImmutableList<string>?, IImmutableList<string>?, ForwardingConfig?, string?)
Declaration
public PullIngestionQuerySettings(TimeRange? queryRange = null, int? minApportionedHits = null, int? maxCrashesToPull = null, int? maxCrashesPerFailure = null, IImmutableList<string>? includeFailures = null, IImmutableList<string>? excludeFailures = null, ForwardingConfig? forwarding = null, string? shuffle = null)
Parameters
Properties
View Source
ExcludeFailures
Gets the normalized failure names to ignore if found in the query results.
Declaration
public IImmutableList<string> ExcludeFailures { get; }
Property Value
View Source
Forwarding
Gets the configuration for forwarding crash data.
Declaration
[JsonProperty(Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public ForwardingConfig? Forwarding { get; }
Property Value
View Source
IncludeFailures
Gets the normalized failure names to include if found in the query results.
Declaration
public IImmutableList<string> IncludeFailures { get; }
Property Value
View Source
MaxCrashesPerFailure
Gets the maximum number of crashes to file for each failure bucket and app version.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public int? MaxCrashesPerFailure { get; }
Property Value
View Source
MaxCrashesToPull
Gets the maximum number of crashes to pull for a given app version.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public int? MaxCrashesToPull { get; }
Property Value
View Source
MinApportionedHits
Gets the minimum number of apportioned hits for a failure to be ingested.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public int? MinApportionedHits { get; }
Property Value
View Source
QueryRange
Gets the time range to query for crashes.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public TimeRange? QueryRange { get; }
Property Value
View Source
QuerySince
Gets the date time to query for crashes since.
Declaration
[JsonIgnore]
public DateTime? QuerySince { get; }
Property Value
View Source
Shuffle
Gets how to shuffle the builds to query.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string? Shuffle { get; }
Property Value
Methods
View Source
Create(params PullIngestionQuerySettings?[]?)
Declaration
public static PullIngestionQuerySettings Create(params PullIngestionQuerySettings?[]? others)
Parameters
Returns
View Source
Equals(PullIngestionQuerySettings?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(PullIngestionQuerySettings? other)
Parameters
Returns
Type |
Description |
bool |
true if the current object is equal to the other parameter; otherwise, false.
|
View Source
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A hash code for the current object.
|
Overrides
View Source
OrDefault(PullIngestionQuerySettings?)
Declaration
public PullIngestionQuerySettings OrDefault(PullIngestionQuerySettings? other)
Parameters
Returns
View Source
ShouldSerializeExcludeFailures()
Declaration
public bool ShouldSerializeExcludeFailures()
Returns
View Source
ShouldSerializeIncludeFailures()
Declaration
public bool ShouldSerializeIncludeFailures()
Returns
View Source
ValidateAndSetDefaults()
Declaration
public PullIngestionQuerySettings ValidateAndSetDefaults()
Returns
Implements