Class ParameterShovelValue
- Namespace
- EasyNetQ.Management.Client.Model
- Assembly
- EasyNetQ.Management.Client.dll
About shovel parameters: https://www.rabbitmq.com/shovel-dynamic.html
public record ParameterShovelValue : IEquatable<ParameterShovelValue>
- Inheritance
-
ParameterShovelValue
- Implements
- Inherited Members
Constructors
ParameterShovelValue(ParameterShovelValue)
protected ParameterShovelValue(ParameterShovelValue original)
Parameters
original
ParameterShovelValue
ParameterShovelValue(string, string, string?, string?, IReadOnlyDictionary<string, object?>?, string?, string?, string?, int?, string?, string?, IReadOnlyDictionary<string, object?>?, string?, string?, bool?, bool?, string?, int?)
About shovel parameters: https://www.rabbitmq.com/shovel-dynamic.html
public ParameterShovelValue(string SrcUri, string DestUri, string? SrcProtocol = null, string? SrcQueue = null, IReadOnlyDictionary<string, object?>? SrcQueueArguments = null, string? SrcExchange = null, string? SrcExchangeKey = null, string? SrcDeleteAfter = null, int? SrcPrefetchCount = null, string? DestProtocol = null, string? DestQueue = null, IReadOnlyDictionary<string, object?>? DestQueueArguments = null, string? DestExchange = null, string? DestExchangeKey = null, bool? DestAddForwardHeaders = null, bool? DestAddTimestampHeader = null, string? AckMode = null, int? ReconnectDelay = null)
Parameters
SrcUri
stringDestUri
stringSrcProtocol
stringSrcQueue
stringSrcQueueArguments
IReadOnlyDictionary<string, object>SrcExchange
stringSrcExchangeKey
stringSrcDeleteAfter
stringSrcPrefetchCount
int?DestProtocol
stringDestQueue
stringDestQueueArguments
IReadOnlyDictionary<string, object>DestExchange
stringDestExchangeKey
stringDestAddForwardHeaders
bool?DestAddTimestampHeader
bool?AckMode
stringReconnectDelay
int?
Properties
AckMode
[JsonPropertyName("ack-mode")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? AckMode { get; init; }
Property Value
DestAddForwardHeaders
[JsonPropertyName("dest-add-forward-headers")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? DestAddForwardHeaders { get; init; }
Property Value
- bool?
DestAddTimestampHeader
[JsonPropertyName("dest-add-timestamp-header")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? DestAddTimestampHeader { get; init; }
Property Value
- bool?
DestExchange
[JsonPropertyName("dest-exchange")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? DestExchange { get; init; }
Property Value
DestExchangeKey
[JsonPropertyName("dest-exchange-key")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? DestExchangeKey { get; init; }
Property Value
DestProtocol
[JsonPropertyName("dest-protocol")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? DestProtocol { get; init; }
Property Value
DestQueue
[JsonPropertyName("dest-queue")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? DestQueue { get; init; }
Property Value
DestQueueArguments
[JsonPropertyName("dest-queue-args")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(StringObjectReadOnlyDictionaryConverter))]
public IReadOnlyDictionary<string, object?>? DestQueueArguments { get; init; }
Property Value
DestUri
[JsonPropertyName("dest-uri")]
public string DestUri { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
ExtensionData
[JsonIgnore]
public IReadOnlyDictionary<string, object?>? ExtensionData { get; set; }
Property Value
JsonExtensionData
[JsonExtensionData]
public IDictionary<string, JsonElement>? JsonExtensionData { get; set; }
Property Value
ReconnectDelay
[JsonPropertyName("reconnect-delay")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? ReconnectDelay { get; init; }
Property Value
- int?
SrcDeleteAfter
[JsonPropertyName("src-delete-after")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? SrcDeleteAfter { get; init; }
Property Value
SrcExchange
[JsonPropertyName("src-exchange")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? SrcExchange { get; init; }
Property Value
SrcExchangeKey
[JsonPropertyName("src-exchange-key")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? SrcExchangeKey { get; init; }
Property Value
SrcPrefetchCount
[JsonPropertyName("src-prefetch-count")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? SrcPrefetchCount { get; init; }
Property Value
- int?
SrcProtocol
[JsonPropertyName("src-protocol")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? SrcProtocol { get; init; }
Property Value
SrcQueue
[JsonPropertyName("src-queue")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? SrcQueue { get; init; }
Property Value
SrcQueueArguments
[JsonPropertyName("src-queue-args")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(StringObjectReadOnlyDictionaryConverter))]
public IReadOnlyDictionary<string, object?>? SrcQueueArguments { get; init; }
Property Value
SrcUri
[JsonPropertyName("src-uri")]
public string SrcUri { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out string?, out string?, out IReadOnlyDictionary<string, object?>?, out string?, out string?, out string?, out int?, out string?, out string?, out IReadOnlyDictionary<string, object?>?, out string?, out string?, out bool?, out bool?, out string?, out int?)
public void Deconstruct(out string SrcUri, out string DestUri, out string? SrcProtocol, out string? SrcQueue, out IReadOnlyDictionary<string, object?>? SrcQueueArguments, out string? SrcExchange, out string? SrcExchangeKey, out string? SrcDeleteAfter, out int? SrcPrefetchCount, out string? DestProtocol, out string? DestQueue, out IReadOnlyDictionary<string, object?>? DestQueueArguments, out string? DestExchange, out string? DestExchangeKey, out bool? DestAddForwardHeaders, out bool? DestAddTimestampHeader, out string? AckMode, out int? ReconnectDelay)
Parameters
SrcUri
stringDestUri
stringSrcProtocol
stringSrcQueue
stringSrcQueueArguments
IReadOnlyDictionary<string, object>SrcExchange
stringSrcExchangeKey
stringSrcDeleteAfter
stringSrcPrefetchCount
int?DestProtocol
stringDestQueue
stringDestQueueArguments
IReadOnlyDictionary<string, object>DestExchange
stringDestExchangeKey
stringDestAddForwardHeaders
bool?DestAddTimestampHeader
bool?AckMode
stringReconnectDelay
int?
Equals(ParameterShovelValue?)
public virtual bool Equals(ParameterShovelValue? other)
Parameters
other
ParameterShovelValue
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
ToString()
public override string ToString()
Returns
<Clone>$()
public virtual ParameterShovelValue <Clone>$()
Returns
Operators
operator ==(ParameterShovelValue?, ParameterShovelValue?)
public static bool operator ==(ParameterShovelValue? left, ParameterShovelValue? right)
Parameters
left
ParameterShovelValueright
ParameterShovelValue
Returns
operator !=(ParameterShovelValue?, ParameterShovelValue?)
public static bool operator !=(ParameterShovelValue? left, ParameterShovelValue? right)
Parameters
left
ParameterShovelValueright
ParameterShovelValue