LicenseInfoResponse

Namespace: Babel.Licensing.Service Assembly: Babel.Licensing.dll

public sealed class LicenseInfoResponse : IMessage<LicenseInfoResponse>, IEquatable<LicenseInfoResponse>, IDeepCloneable<LicenseInfoResponse>, IBufferMessage, IMessage

Inheritance

objectLicenseInfoResponse

Implements

IMessage<LicenseInfoResponse>, IEquatable<LicenseInfoResponse>, IDeepCloneable<LicenseInfoResponse>, IBufferMessage, IMessage

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

LicenseInfoResponse()

public LicenseInfoResponse()

LicenseInfoResponse(LicenseInfoResponse)

public LicenseInfoResponse(LicenseInfoResponse other)

Parameters

NameDescription

Fields

ActiveClientCountFieldNumber

Field number for the "active_client_count" field.

public const int ActiveClientCountFieldNumber = 4

Field Value

int

ExpireAtFieldNumber

Field number for the "expire_at" field.

public const int ExpireAtFieldNumber = 8

Field Value

int

IssuedAtFieldNumber

Field number for the "issued_at" field.

public const int IssuedAtFieldNumber = 7

Field Value

int

LicenseIdFieldNumber

Field number for the "license_id" field.

public const int LicenseIdFieldNumber = 2

Field Value

int

LicenseTokensFieldNumber

Field number for the "license_tokens" field.

public const int LicenseTokensFieldNumber = 1

Field Value

int

LicensingModeFieldNumber

Field number for the "licensing_mode" field.

public const int LicensingModeFieldNumber = 5

Field Value

int

MaxClientCountFieldNumber

Field number for the "max_client_count" field.

public const int MaxClientCountFieldNumber = 3

Field Value

int

RevokedFieldNumber

Field number for the "revoked" field.

public const int RevokedFieldNumber = 6

Field Value

int

SupportExpireAtFieldNumber

Field number for the "support_expire_at" field.

public const int SupportExpireAtFieldNumber = 9

Field Value

int

Properties

ActiveClientCount

public int ActiveClientCount { get; set; }

Property Value

int

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

ExpireAt

public Timestamp ExpireAt { get; set; }

Property Value

Timestamp

IssuedAt

public Timestamp IssuedAt { get; set; }

Property Value

Timestamp

LicenseId

public string LicenseId { get; set; }

Property Value

string

LicenseTokens

public RepeatedField<LicenseToken> LicenseTokens { get; }

Property Value

RepeatedField<LicenseToken>

LicensingMode

public LicensingMode LicensingMode { get; set; }

Property Value

LicensingMode

MaxClientCount

public int MaxClientCount { get; set; }

Property Value

int

Parser

public static MessageParser<LicenseInfoResponse> Parser { get; }

Property Value

MessageParser<LicenseInfoResponse>

Revoked

public bool Revoked { get; set; }

Property Value

bool

SupportExpireAt

public Timestamp SupportExpireAt { get; set; }

Property Value

Timestamp

Methods

CalculateSize()

public int CalculateSize()

Returns

NameDescription

Clone()

public LicenseInfoResponse Clone()

Returns

NameDescription

Equals(object)

public override bool Equals(object other)

Parameters

NameDescription

other object

Returns

NameDescription

Equals(LicenseInfoResponse)

public bool Equals(LicenseInfoResponse other)

Parameters

NameDescription

Returns

NameDescription

GetHashCode()

public override int GetHashCode()

Returns

NameDescription

MergeFrom(LicenseInfoResponse)

public void MergeFrom(LicenseInfoResponse other)

Parameters

NameDescription

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)

Parameters

NameDescription

input CodedInputStream

ToString()

public override string ToString()

Returns

NameDescription

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Parameters

NameDescription

output CodedOutputStream

Last updated