Class BowireAgentRegistration
- Namespace
- Kuestenlogik.Bowire.AgentHub
- Assembly
- Kuestenlogik.Bowire.dll
What an agent sends the hub, at start and on every heartbeat (#128).
public sealed record BowireAgentRegistration : IEquatable<BowireAgentRegistration>
- Inheritance
-
BowireAgentRegistration
- Implements
- Inherited Members
Constructors
BowireAgentRegistration(string, string, string, string?, string?, IReadOnlyList<string>?, IReadOnlyList<BowireCatalogueEntry>?, double?)
What an agent sends the hub, at start and on every heartbeat (#128).
public BowireAgentRegistration(string ServiceName, string InstanceId, string CallbackUrl, string? Version = null, string? Owner = null, IReadOnlyList<string>? Tags = null, IReadOnlyList<BowireCatalogueEntry>? Entries = null, double? HeartbeatSeconds = null)
Parameters
ServiceNamestringInstanceIdstringCallbackUrlstringVersionstringOwnerstringTagsIReadOnlyList<string>EntriesIReadOnlyList<BowireCatalogueEntry>HeartbeatSecondsdouble?
Properties
CallbackUrl
[JsonPropertyName("callbackUrl")]
public string CallbackUrl { get; init; }
Property Value
Entries
[JsonPropertyName("entries")]
public IReadOnlyList<BowireCatalogueEntry>? Entries { get; init; }
Property Value
HeartbeatSeconds
[JsonPropertyName("heartbeatSeconds")]
public double? HeartbeatSeconds { get; init; }
Property Value
InstanceId
[JsonPropertyName("instanceId")]
public string InstanceId { get; init; }
Property Value
Owner
[JsonPropertyName("owner")]
public string? Owner { get; init; }
Property Value
ServiceName
[JsonPropertyName("serviceName")]
public string ServiceName { get; init; }
Property Value
Tags
[JsonPropertyName("tags")]
public IReadOnlyList<string>? Tags { get; init; }
Property Value
Version
[JsonPropertyName("version")]
public string? Version { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out string, out string?, out string?, out IReadOnlyList<string>?, out IReadOnlyList<BowireCatalogueEntry>?, out double?)
public void Deconstruct(out string ServiceName, out string InstanceId, out string CallbackUrl, out string? Version, out string? Owner, out IReadOnlyList<string>? Tags, out IReadOnlyList<BowireCatalogueEntry>? Entries, out double? HeartbeatSeconds)
Parameters
ServiceNamestringInstanceIdstringCallbackUrlstringVersionstringOwnerstringTagsIReadOnlyList<string>EntriesIReadOnlyList<BowireCatalogueEntry>HeartbeatSecondsdouble?
Equals(BowireAgentRegistration?)
public bool Equals(BowireAgentRegistration? other)
Parameters
otherBowireAgentRegistration
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BowireAgentRegistration?, BowireAgentRegistration?)
public static bool operator ==(BowireAgentRegistration? left, BowireAgentRegistration? right)
Parameters
leftBowireAgentRegistrationrightBowireAgentRegistration
Returns
operator !=(BowireAgentRegistration?, BowireAgentRegistration?)
public static bool operator !=(BowireAgentRegistration? left, BowireAgentRegistration? right)
Parameters
leftBowireAgentRegistrationrightBowireAgentRegistration