ActivateLicenseResponse

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

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

Inheritance

objectActivateLicenseResponse

Implements

IMessage<ActivateLicenseResponse>, IEquatable<ActivateLicenseResponse>, IDeepCloneable<ActivateLicenseResponse>, IBufferMessage, IMessage

Inherited Members

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

Constructors

ActivateLicenseResponse()

public ActivateLicenseResponse()

ActivateLicenseResponse(ActivateLicenseResponse)

public ActivateLicenseResponse(ActivateLicenseResponse other)

Parameters

NameDescription

Fields

ActiveClientCountFieldNumber

Field number for the "active_client_count" field.

public const int ActiveClientCountFieldNumber = 4

Field Value

int

LicenseFieldNumber

Field number for the "license" field.

public const int LicenseFieldNumber = 6

Field Value

int

LicenseTokenFieldNumber

Field number for the "license_token" field.

public const int LicenseTokenFieldNumber = 2

Field Value

int

MaxClientCountFieldNumber

Field number for the "max_client_count" field.

public const int MaxClientCountFieldNumber = 5

Field Value

int

SuccessFieldNumber

Field number for the "success" field.

public const int SuccessFieldNumber = 1

Field Value

int

TokenExpireAtFieldNumber

Field number for the "token_expire_at" field.

public const int TokenExpireAtFieldNumber = 3

Field Value

int

Properties

ActiveClientCount

public int ActiveClientCount { get; set; }

Property Value

int

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

License

public License License { get; set; }

Property Value

License

LicenseToken

public string LicenseToken { get; set; }

Property Value

string

MaxClientCount

public int MaxClientCount { get; set; }

Property Value

int

Parser

public static MessageParser<ActivateLicenseResponse> Parser { get; }

Property Value

MessageParser<ActivateLicenseResponse>

Success

public bool Success { get; set; }

Property Value

bool

TokenExpireAt

public Timestamp TokenExpireAt { get; set; }

Property Value

Timestamp

Methods

CalculateSize()

public int CalculateSize()

Returns

NameDescription

Clone()

public ActivateLicenseResponse Clone()

Returns

Equals(object)

public override bool Equals(object other)

Parameters

NameDescription

other object

Returns

NameDescription

Equals(ActivateLicenseResponse)

public bool Equals(ActivateLicenseResponse other)

Parameters

NameDescription

Returns

NameDescription

GetHashCode()

public override int GetHashCode()

Returns

NameDescription

MergeFrom(ActivateLicenseResponse)

public void MergeFrom(ActivateLicenseResponse 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