Members on this page
Meshline.Sdk
Meshline.Models.Protocol
GroupUpdate Class
Changes group metadata through a signed management-chain operation.
public sealed record GroupUpdate : Meshline.Models.Protocol.GroupManagementOperation, System.IEquatable<Meshline.Models.Protocol.GroupUpdate>
Inheritance System.Object → ProtocolModel → TypedProtocolModel → GroupManagementOperation → GroupUpdate
Implements System.IEquatable<GroupUpdate>
Constructors
GroupUpdate() Constructor
Changes group metadata through a signed management-chain operation.
public GroupUpdate();
Properties
GroupUpdate.Description Property
The update to the description; the default value leaves the field unchanged.
public Meshline.Models.FieldUpdate<string> Description { get; init; }
Property Value
Meshline.Models.FieldUpdate<System.String>
GroupUpdate.InvitePolicy Property
The update to the group invitation policy; the default value leaves the field unchanged.
public Meshline.Models.FieldUpdate<Meshline.Models.Protocol.GroupInvitePolicy> InvitePolicy { get; init; }
Property Value
Meshline.Models.FieldUpdate<GroupInvitePolicy>
GroupUpdate.MemberCapacity Property
The update to the group member capacity; the default value leaves the field unchanged.
public Meshline.Models.FieldUpdate<long> MemberCapacity { get; init; }
Property Value
Meshline.Models.FieldUpdate<System.Int64>
GroupUpdate.Name Property
The update to the display name; the default value leaves the field unchanged.
public Meshline.Models.FieldUpdate<string> Name { get; init; }
Property Value
Meshline.Models.FieldUpdate<System.String>
Methods
GroupUpdate.Validate(NetworkContext) Method
Validates management-chain fields and changed metadata, rejecting deletion of required group fields.
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.