Show / Hide Table of Contents

Class StreamMarketUpdateResponseV1.Types.Snapshot

Snapshot is an orderbook snapshot.

Inheritance
System.Object
StreamMarketUpdateResponseV1.Types.Snapshot
Implements
Google.Protobuf.IBufferMessage
Namespace: KaikoSdk.Stream.MarketUpdateV1
Assembly: KaikoSdk.dll
Syntax
public sealed class Snapshot : Google.Protobuf.IMessage<StreamMarketUpdateResponseV1.Types.Snapshot>

Constructors

Snapshot()

Declaration
public Snapshot()

Snapshot(StreamMarketUpdateResponseV1.Types.Snapshot)

Declaration
public Snapshot(StreamMarketUpdateResponseV1.Types.Snapshot other)
Parameters
Type Name Description
StreamMarketUpdateResponseV1.Types.Snapshot other

Fields

AsksFieldNumber

Field number for the "asks" field.

Declaration
public const int AsksFieldNumber = null
Field Value
Type Description
System.Int32

BidsFieldNumber

Field number for the "bids" field.

Declaration
public const int BidsFieldNumber = null
Field Value
Type Description
System.Int32

Properties

Asks

Asks is the list of asks of the orderbook.

Declaration
public Google.Protobuf.Collections.RepeatedField<StreamMarketUpdateResponseV1.Types.Snapshot.Types.Order> Asks { get; }
Property Value
Type Description
Google.Protobuf.Collections.RepeatedField<StreamMarketUpdateResponseV1.Types.Snapshot.Types.Order>

Bids

Bids is the list of bids of the orderbook.

Declaration
public Google.Protobuf.Collections.RepeatedField<StreamMarketUpdateResponseV1.Types.Snapshot.Types.Order> Bids { get; }
Property Value
Type Description
Google.Protobuf.Collections.RepeatedField<StreamMarketUpdateResponseV1.Types.Snapshot.Types.Order>

Descriptor

Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type Description
Google.Protobuf.Reflection.MessageDescriptor

Parser

Declaration
public static Google.Protobuf.MessageParser<StreamMarketUpdateResponseV1.Types.Snapshot> Parser { get; }
Property Value
Type Description
Google.Protobuf.MessageParser<StreamMarketUpdateResponseV1.Types.Snapshot>

Methods

CalculateSize()

Declaration
public int CalculateSize()
Returns
Type Description
System.Int32

Clone()

Declaration
public StreamMarketUpdateResponseV1.Types.Snapshot Clone()
Returns
Type Description
StreamMarketUpdateResponseV1.Types.Snapshot

Equals(StreamMarketUpdateResponseV1.Types.Snapshot)

Declaration
public bool Equals(StreamMarketUpdateResponseV1.Types.Snapshot other)
Parameters
Type Name Description
StreamMarketUpdateResponseV1.Types.Snapshot other
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

MergeFrom(Google.Protobuf.CodedInputStream)

Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type Name Description
Google.Protobuf.CodedInputStream input

MergeFrom(StreamMarketUpdateResponseV1.Types.Snapshot)

Declaration
public void MergeFrom(StreamMarketUpdateResponseV1.Types.Snapshot other)
Parameters
Type Name Description
StreamMarketUpdateResponseV1.Types.Snapshot other

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
In This Article
Back to top Generated by DocFX