Contact

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

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

Inheritance

objectContact

Implements

IMessage<Contact>, IEquatable<Contact>, IDeepCloneable<Contact>, IBufferMessage, IMessage

Inherited Members

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

Constructors

Contact()

public Contact()

Contact(Contact)

public Contact(Contact other)

Parameters

NameDescription

other Contact

Fields

CustomerIdFieldNumber

Field number for the "customer_id" field.

public const int CustomerIdFieldNumber = 10

Field Value

int

DetailsFieldNumber

Field number for the "details" field.

public const int DetailsFieldNumber = 9

Field Value

int

EmailFieldNumber

Field number for the "email" field.

public const int EmailFieldNumber = 5

Field Value

int

FaxFieldNumber

Field number for the "fax" field.

public const int FaxFieldNumber = 8

Field Value

int

FirstNameFieldNumber

Field number for the "firstName" field.

public const int FirstNameFieldNumber = 3

Field Value

int

IdFieldNumber

Field number for the "id" field.

public const int IdFieldNumber = 1

Field Value

int

LastNameFieldNumber

Field number for the "lastName" field.

public const int LastNameFieldNumber = 4

Field Value

int

MobileFieldNumber

Field number for the "mobile" field.

public const int MobileFieldNumber = 7

Field Value

int

PhoneFieldNumber

Field number for the "phone" field.

public const int PhoneFieldNumber = 6

Field Value

int

TitleFieldNumber

Field number for the "title" field.

public const int TitleFieldNumber = 2

Field Value

int

Properties

CustomerId

public int? CustomerId { get; set; }

Property Value

int?

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Details

public string Details { get; set; }

Property Value

string

Email

public string Email { get; set; }

Property Value

string

Fax

public string Fax { get; set; }

Property Value

string

FirstName

public string FirstName { get; set; }

Property Value

string

Id

public int? Id { get; set; }

Property Value

int?

LastName

public string LastName { get; set; }

Property Value

string

Mobile

public string Mobile { get; set; }

Property Value

string

Parser

public static MessageParser<Contact> Parser { get; }

Property Value

MessageParser<Contact>

Phone

public string Phone { get; set; }

Property Value

string

Title

public string Title { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

NameDescription

Clone()

public Contact Clone()

Returns

NameDescription

Equals(object)

public override bool Equals(object other)

Parameters

NameDescription

other object

Returns

NameDescription

Equals(Contact)

public bool Equals(Contact other)

Parameters

NameDescription

other Contact

Returns

NameDescription

GetHashCode()

public override int GetHashCode()

Returns

NameDescription

MergeFrom(Contact)

public void MergeFrom(Contact other)

Parameters

NameDescription

other Contact

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