Skip to content
Meshline
SDK 1.1.0 · TypeView source on GitHub

Developer guide · API index

Members on this page

Meshline.Sdk

Meshline.Models.Protocol

GroupRoleUpdate Class

Changes a member's role through the group's signed management chain.

public sealed record GroupRoleUpdate : Meshline.Models.Protocol.GroupManagementOperation, System.IEquatable<Meshline.Models.Protocol.GroupRoleUpdate>

Inheritance System.Object → ProtocolModel → TypedProtocolModel → GroupManagementOperation → GroupRoleUpdate

Implements System.IEquatable<GroupRoleUpdate>

Constructors

GroupRoleUpdate() Constructor

Changes a member's role through the group's signed management chain.

public GroupRoleUpdate();

Properties

GroupRoleUpdate.Account Property

The account's CAIP-10 identifier.

public string Account { get; init; }

Property Value

System.String

GroupRoleUpdate.Role Property

The account's group role.

public Meshline.Models.Protocol.GroupRole Role { get; init; }

Property Value

GroupRole

Methods

GroupRoleUpdate.Validate(NetworkContext) Method

Validates management-chain fields, the member account, and an administrator or ordinary-member role assignment.

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.