Class StreamIndexServiceResponsePercentage
StreamIndexServiceResponsePercentage is computation result by percentage.
Inheritance
System.Object
StreamIndexServiceResponsePercentage
Implements
Google.Protobuf.IBufferMessage
Assembly: KaikoSdk.dll
Syntax
public sealed class StreamIndexServiceResponsePercentage : Google.Protobuf.IMessage<StreamIndexServiceResponsePercentage>
Constructors
StreamIndexServiceResponsePercentage()
Declaration
public StreamIndexServiceResponsePercentage()
StreamIndexServiceResponsePercentage(StreamIndexServiceResponsePercentage)
Declaration
public StreamIndexServiceResponsePercentage(StreamIndexServiceResponsePercentage other)
Parameters
Fields
PairsFieldNumber
Field number for the "pairs" field.
Declaration
public const int PairsFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
PercentageFieldNumber
Field number for the "percentage" field.
Declaration
public const int PercentageFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
PriceFieldNumber
Field number for the "price" field.
Declaration
public const int PriceFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Pairs
Detailed computation by pairs.
Declaration
public Google.Protobuf.Collections.RepeatedField<StreamIndexServiceResponsePairs> Pairs { get; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<StreamIndexServiceResponsePercentage> Parser { get; }
Property Value
Percentage
Declaration
public double Percentage { get; set; }
Property Value
Type |
Description |
System.Double |
|
Price
Price computed for the whole percentage.
Declaration
public double Price { get; set; }
Property Value
Type |
Description |
System.Double |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public StreamIndexServiceResponsePercentage Clone()
Returns
Equals(StreamIndexServiceResponsePercentage)
Declaration
public bool Equals(StreamIndexServiceResponsePercentage other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
MergeFrom(StreamIndexServiceResponsePercentage)
Declaration
public void MergeFrom(StreamIndexServiceResponsePercentage other)
Parameters
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|
Implements
Google.Protobuf.IBufferMessage