Product

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

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

Inheritance

objectProduct

Implements

IMessage<Product>, IEquatable<Product>, IDeepCloneable<Product>, IBufferMessage, IMessage

Inherited Members

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

Constructors

Product()

public Product()

Product(Product)

public Product(Product other)

Parameters

NameDescription

other Product

Fields

CodeFieldNumber

Field number for the "code" field.

public const int CodeFieldNumber = 2

Field Value

int

CopyrightFieldNumber

Field number for the "copyright" field.

public const int CopyrightFieldNumber = 6

Field Value

int

CreatedAtFieldNumber

Field number for the "created_at" field.

public const int CreatedAtFieldNumber = 7

Field Value

int

CurrencyFieldNumber

Field number for the "currency" field.

public const int CurrencyFieldNumber = 11

Field Value

int

DescriptionFieldNumber

Field number for the "description" field.

public const int DescriptionFieldNumber = 4

Field Value

int

IdFieldNumber

Field number for the "id" field.

public const int IdFieldNumber = 1

Field Value

int

ImageFieldNumber

Field number for the "image" field.

public const int ImageFieldNumber = 8

Field Value

int

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 3

Field Value

int

PriceFieldNumber

Field number for the "price" field.

public const int PriceFieldNumber = 9

Field Value

int

ResellerPriceFieldNumber

Field number for the "reseller_price" field.

public const int ResellerPriceFieldNumber = 10

Field Value

int

SignatureKeysIdFieldNumber

Field number for the "signature_keys_id" field.

public const int SignatureKeysIdFieldNumber = 12

Field Value

int

UrlFieldNumber

Field number for the "url" field.

public const int UrlFieldNumber = 5

Field Value

int

Properties

Code

public string Code { get; set; }

Property Value

string

public string Copyright { get; set; }

Property Value

string

CreatedAt

public Timestamp CreatedAt { get; set; }

Property Value

Timestamp

Currency

public string Currency { get; set; }

Property Value

string

Description

public string Description { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Id

public int? Id { get; set; }

Property Value

int?

Image

public ByteString Image { get; set; }

Property Value

ByteString

Name

public string Name { get; set; }

Property Value

string

Parser

public static MessageParser<Product> Parser { get; }

Property Value

MessageParser<Product>

Price

public double? Price { get; set; }

Property Value

double?

ResellerPrice

public double? ResellerPrice { get; set; }

Property Value

double?

SignatureKeysId

public int? SignatureKeysId { get; set; }

Property Value

int?

Url

public string Url { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

NameDescription

Clone()

public Product Clone()

Returns

NameDescription

Equals(object)

public override bool Equals(object other)

Parameters

NameDescription

other object

Returns

NameDescription

Equals(Product)

public bool Equals(Product other)

Parameters

NameDescription

other Product

Returns

NameDescription

GetHashCode()

public override int GetHashCode()

Returns

NameDescription

MergeFrom(Product)

public void MergeFrom(Product other)

Parameters

NameDescription

other Product

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