Class PullIngestionConfig
Implements
Inherited Members
Namespace: CrashCABN.PullIngestion
Assembly: CrashCABN.PullIngestion.Abstractions.dll
Syntax
public sealed record PullIngestionConfig : IEquatable<PullIngestionConfig>
Constructors
View SourcePullIngestionConfig(IImmutableList<ApplicationConfig>, TimeRange, PullIngestionQuerySettings?)
Declaration
public PullIngestionConfig(IImmutableList<ApplicationConfig> apps, TimeRange cadence, PullIngestionQuerySettings? defaults = null)
Parameters
Type | Name | Description |
---|---|---|
IImmutableList<ApplicationConfig> | apps | |
TimeRange | cadence | |
PullIngestionQuerySettings | defaults |
Properties
View SourceApps
Gets the applications to query.
Declaration
public IImmutableList<ApplicationConfig> Apps { get; }
Property Value
Type | Description |
---|---|
IImmutableList<ApplicationConfig> |
Cadence
Gets how frequently to perform pull ingestion.
Declaration
public TimeRange Cadence { get; }
Property Value
Type | Description |
---|---|
TimeRange |
Defaults
Gets the default query settings.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public PullIngestionQuerySettings? Defaults { get; }
Property Value
Type | Description |
---|---|
PullIngestionQuerySettings |
Methods
View SourceEquals(PullIngestionConfig?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(PullIngestionConfig? other)
Parameters
Type | Name | Description |
---|---|---|
PullIngestionConfig | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the |
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |