LicenseTemplate

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

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

Inheritance

objectLicenseTemplate

Implements

IMessage<LicenseTemplate>, IEquatable<LicenseTemplate>, IDeepCloneable<LicenseTemplate>, IBufferMessage, IMessage

Inherited Members

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

Constructors

LicenseTemplate()

public LicenseTemplate()

LicenseTemplate(LicenseTemplate)

public LicenseTemplate(LicenseTemplate other)

Parameters

NameDescription

Fields

AssembliesFieldNumber

Field number for the "assemblies" field.

public const int AssembliesFieldNumber = 16

Field Value

int

CodeFieldNumber

Field number for the "code" field.

public const int CodeFieldNumber = 3

Field Value

int

ComponentsFieldNumber

Field number for the "components" field.

public const int ComponentsFieldNumber = 15

Field Value

int

DescriptionFieldNumber

Field number for the "description" field.

public const int DescriptionFieldNumber = 7

Field Value

int

FeaturesFieldNumber

Field number for the "features" field.

public const int FeaturesFieldNumber = 18

Field Value

int

FieldsFieldNumber

Field number for the "fields" field.

public const int FieldsFieldNumber = 17

Field Value

int

FormatFieldNumber

Field number for the "format" field.

public const int FormatFieldNumber = 4

Field Value

int

GenerateKeyInfoFieldNumber

Field number for the "generate_key_info" field.

public const int GenerateKeyInfoFieldNumber = 6

Field Value

int

IdFieldNumber

Field number for the "id" field.

public const int IdFieldNumber = 1

Field Value

int

LicenseFileNameFieldNumber

Field number for the "license_file_name" field.

public const int LicenseFileNameFieldNumber = 5

Field Value

int

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 2

Field Value

int

ProductFieldNumber

Field number for the "product" field.

public const int ProductFieldNumber = 14

Field Value

int

ProductIdFieldNumber

Field number for the "product_id" field.

public const int ProductIdFieldNumber = 9

Field Value

int

ReleaseIdFieldNumber

Field number for the "release_id" field.

public const int ReleaseIdFieldNumber = 13

Field Value

int

RestrictionsFieldNumber

Field number for the "restrictions" field.

public const int RestrictionsFieldNumber = 19

Field Value

int

SignatureKeysIdFieldNumber

Field number for the "signature_keys_id" field.

public const int SignatureKeysIdFieldNumber = 11

Field Value

int

TemplateFieldNumber

Field number for the "template" field.

public const int TemplateFieldNumber = 8

Field Value

int

Properties

Assemblies

public RepeatedField<Assembly> Assemblies { get; }

Property Value

RepeatedField<Assembly>

Code

public string Code { get; set; }

Property Value

string

Components

public RepeatedField<string> Components { get; }

Property Value

RepeatedField<string>

Description

public string Description { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Features

public RepeatedField<LicenseFeature> Features { get; }

Property Value

RepeatedField<LicenseFeature>

Fields

public RepeatedField<LicenseField> Fields { get; }

Property Value

RepeatedField<LicenseField>

Format

public LicenseFormat Format { get; set; }

Property Value

LicenseFormat

GenerateKeyInfo

public bool? GenerateKeyInfo { get; set; }

Property Value

bool?

Id

public int? Id { get; set; }

Property Value

int?

LicenseFileName

public string LicenseFileName { get; set; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

Parser

public static MessageParser<LicenseTemplate> Parser { get; }

Property Value

MessageParser<LicenseTemplate>

Product

public LicenseProduct Product { get; set; }

Property Value

LicenseProduct

ProductId

public int? ProductId { get; set; }

Property Value

int?

ReleaseId

public int? ReleaseId { get; set; }

Property Value

int?

Restrictions

public RepeatedField<LicenseRestriction> Restrictions { get; }

Property Value

RepeatedField<LicenseRestriction>

SignatureKeysId

public int? SignatureKeysId { get; set; }

Property Value

int?

Template

public ByteString Template { get; set; }

Property Value

ByteString

Methods

CalculateSize()

public int CalculateSize()

Returns

NameDescription

Clone()

public LicenseTemplate Clone()

Returns

NameDescription

Equals(object)

public override bool Equals(object other)

Parameters

NameDescription

other object

Returns

NameDescription

Equals(LicenseTemplate)

public bool Equals(LicenseTemplate other)

Parameters

NameDescription

Returns

NameDescription

GetHashCode()

public override int GetHashCode()

Returns

NameDescription

MergeFrom(LicenseTemplate)

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