Members on this page
Meshline.Sdk
Meshline.Models.Protocol
GroupSubscriptionRequest Class
Identifies groups for a relay notification subscription operation.
public sealed record GroupSubscriptionRequest : Meshline.Models.Protocol.ProtocolModel, System.IEquatable<Meshline.Models.Protocol.GroupSubscriptionRequest>
Inheritance System.Object → ProtocolModel → GroupSubscriptionRequest
Implements System.IEquatable<GroupSubscriptionRequest>
Properties
GroupSubscriptionRequest.GroupIds Property
The group identifiers affected by the subscription operation.
public System.Collections.Immutable.ImmutableArray<string> GroupIds { get; init; }
Property Value
System.Collections.Immutable.ImmutableArray<System.String>
Methods
GroupSubscriptionRequest.Validate(NetworkContext) Method
Validates the group identifier list and rejects duplicate subscriptions.
public override Meshline.Validation.ProtocolViolation? Validate(Meshline.Models.NetworkContext? context=null);
Parameters
context NetworkContext
The optional network context passed to nested validation when needed; field-only validation may ignore it.
Returns
ProtocolViolation
The first detected protocol violation, or null if the implemented checks pass.