Show / Hide Table of Contents

Class PullIngestionQuerySettings

Inheritance
object
PullIngestionQuerySettings
Implements
IEquatable<PullIngestionQuerySettings>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: CrashCABN.PullIngestion
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
Type Name Description
TimeRange queryRange
int? minApportionedHits
int? maxCrashesToPull
int? maxCrashesPerFailure
IImmutableList<string> includeFailures
IImmutableList<string> excludeFailures
ForwardingConfig forwarding
string shuffle

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
Type Description
IImmutableList<string>
View Source

Forwarding

Gets the configuration for forwarding crash data.

Declaration
[JsonProperty(Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public ForwardingConfig? Forwarding { get; }
Property Value
Type Description
ForwardingConfig
View Source

IncludeFailures

Gets the normalized failure names to include if found in the query results.

Declaration
public IImmutableList<string> IncludeFailures { get; }
Property Value
Type Description
IImmutableList<string>
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
Type Description
int?
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
Type Description
int?
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
Type Description
int?
View Source

QueryRange

Gets the time range to query for crashes.

Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public TimeRange? QueryRange { get; }
Property Value
Type Description
TimeRange
View Source

QuerySince

Gets the date time to query for crashes since.

Declaration
[JsonIgnore]
public DateTime? QuerySince { get; }
Property Value
Type Description
DateTime?
View Source

Shuffle

Gets how to shuffle the builds to query.

Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string? Shuffle { get; }
Property Value
Type Description
string

Methods

View Source

Create(params PullIngestionQuerySettings?[]?)

Declaration
public static PullIngestionQuerySettings Create(params PullIngestionQuerySettings?[]? others)
Parameters
Type Name Description
PullIngestionQuerySettings[] others
Returns
Type Description
PullIngestionQuerySettings
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
Type Name Description
PullIngestionQuerySettings other

An object to compare with this object.

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
object.GetHashCode()
View Source

OrDefault(PullIngestionQuerySettings?)

Declaration
public PullIngestionQuerySettings OrDefault(PullIngestionQuerySettings? other)
Parameters
Type Name Description
PullIngestionQuerySettings other
Returns
Type Description
PullIngestionQuerySettings
View Source

ShouldSerializeExcludeFailures()

Declaration
public bool ShouldSerializeExcludeFailures()
Returns
Type Description
bool
View Source

ShouldSerializeIncludeFailures()

Declaration
public bool ShouldSerializeIncludeFailures()
Returns
Type Description
bool
View Source

ValidateAndSetDefaults()

Declaration
public PullIngestionQuerySettings ValidateAndSetDefaults()
Returns
Type Description
PullIngestionQuerySettings

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX