Class AssetRight
Rights are used to indicate the level of access that an Identity has to an Asset. Rights are not always signed by the owner, rather, they are signed by the same Identity as the associated Asset.
Assembly: SmartcryptProtocol.dll
Syntax
public sealed class AssetRight : BasePdu<AssetRight>, IEquatable<AssetRight>
Constructors
AssetRight(AssetRight)
Declaration
public AssetRight([NotNull] AssetRight other)
Parameters
Fields
AccessAllow
Indicates that the participant of this Right is allowed to access the associated Asset.
Declaration
public const string AccessAllow = "allow"
Field Value
AccessDeny
Indicates that the participant of this Right is not allowed to access the associated Asset.
Declaration
public const string AccessDeny = "deny"
Field Value
record
Declaration
[NotNull]
public readonly AssetRight.Record record
Field Value
Properties
assetid
Declaration
public long assetid { get; set; }
Property Value
created_at
Declaration
[CanBeNull]
public string created_at { get; set; }
Property Value
homeServer
Declaration
[CanBeNull]
public string homeServer { get; set; }
Property Value
id
Declaration
public long id { get; set; }
Property Value
ownerid
Declaration
public long ownerid { get; set; }
Property Value
participantid
Declaration
public long participantid { get; set; }
Property Value
signature
Declaration
[CanBeNull]
public string signature { get; set; }
Property Value
updated_at
Declaration
[CanBeNull]
public string updated_at { get; set; }
Property Value
Methods
ToJson(Boolean)
Declaration
protected override string ToJson(bool sending)
Parameters
Type |
Name |
Description |
Boolean |
sending |
|
Returns
Overrides
PKWARE.Smartcrypt.Protocol.BasePdu<PKWARE.Smartcrypt.Protocol.AssetRight>.ToJson(System.Boolean)
Implements