LUSID C# SDK
Public Member Functions | Protected Member Functions | Properties | List of all members
Lusid.Sdk.Model.BlockAndOrdersRequest Class Reference

BlockAndOrdersRequest More...

Inheritance diagram for Lusid.Sdk.Model.BlockAndOrdersRequest:
Inheritance graph
[legend]

Public Member Functions

 BlockAndOrdersRequest (ResourceId blockId=default(ResourceId), List< BlockedOrderRequest > orders=default(List< BlockedOrderRequest >), Dictionary< string, PerpetualProperty > blockProperties=default(Dictionary< string, PerpetualProperty >), Dictionary< string, string > instrumentIdentifiers=default(Dictionary< string, string >), string side=default(string), string type=default(string), string timeInForce=default(string), DateTimeOffset date=default(DateTimeOffset), CurrencyAndAmount limitPrice=default(CurrencyAndAmount), CurrencyAndAmount stopPrice=default(CurrencyAndAmount))
 Initializes a new instance of the BlockAndOrdersRequest class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
virtual string ToJson ()
 Returns the JSON string presentation of the object More...
 
override bool Equals (object input)
 Returns true if objects are equal More...
 
bool Equals (BlockAndOrdersRequest input)
 Returns true if BlockAndOrdersRequest instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 BlockAndOrdersRequest ()
 Initializes a new instance of the BlockAndOrdersRequest class. More...
 

Properties

ResourceId BlockId [get, set]
 Gets or Sets BlockId More...
 
List< BlockedOrderRequestOrders [get, set]
 An order which belongs to a block. Fields common to both entities (such as instrument) should be derived from the block. More...
 
Dictionary< string, PerpetualPropertyBlockProperties [get, set]
 Client-defined properties associated with this block. More...
 
Dictionary< string, string > InstrumentIdentifiers [get, set]
 The instrument ordered. More...
 
string Side [get, set]
 The client&#39;s representation of the block&#39;s side (buy, sell, short, etc) More...
 
string Type [get, set]
 The block order&#39;s type (examples: Limit, Market, ...) More...
 
string TimeInForce [get, set]
 The block orders&#39; time in force (examples: Day, GoodTilCancel, ...) More...
 
DateTimeOffset Date [get, set]
 The date on which the block was made More...
 
CurrencyAndAmount LimitPrice [get, set]
 Gets or Sets LimitPrice More...
 
CurrencyAndAmount StopPrice [get, set]
 Gets or Sets StopPrice More...
 

Detailed Description

BlockAndOrdersRequest

Constructor & Destructor Documentation

◆ BlockAndOrdersRequest() [1/2]

Lusid.Sdk.Model.BlockAndOrdersRequest.BlockAndOrdersRequest ( )
inlineprotected

Initializes a new instance of the BlockAndOrdersRequest class.

◆ BlockAndOrdersRequest() [2/2]

Lusid.Sdk.Model.BlockAndOrdersRequest.BlockAndOrdersRequest ( ResourceId  blockId = default(ResourceId),
List< BlockedOrderRequest orders = default(List<BlockedOrderRequest>),
Dictionary< string, PerpetualProperty blockProperties = default(Dictionary<string, PerpetualProperty>),
Dictionary< string, string >  instrumentIdentifiers = default(Dictionary<string, string>),
string  side = default(string),
string  type = default(string),
string  timeInForce = default(string),
DateTimeOffset  date = default(DateTimeOffset),
CurrencyAndAmount  limitPrice = default(CurrencyAndAmount),
CurrencyAndAmount  stopPrice = default(CurrencyAndAmount) 
)
inline

Initializes a new instance of the BlockAndOrdersRequest class.

Parameters
blockIdblockId (required).
ordersAn order which belongs to a block. Fields common to both entities (such as instrument) should be derived from the block. (required).
blockPropertiesClient-defined properties associated with this block..
instrumentIdentifiersThe instrument ordered. (required).
sideThe client&#39;s representation of the block&#39;s side (buy, sell, short, etc) (required).
typeThe block order&#39;s type (examples: Limit, Market, ...).
timeInForceThe block orders&#39; time in force (examples: Day, GoodTilCancel, ...).
dateThe date on which the block was made.
limitPricelimitPrice.
stopPricestopPrice.

Member Function Documentation

◆ Equals() [1/2]

bool Lusid.Sdk.Model.BlockAndOrdersRequest.Equals ( BlockAndOrdersRequest  input)
inline

Returns true if BlockAndOrdersRequest instances are equal

Parameters
inputInstance of BlockAndOrdersRequest to be compared
Returns
Boolean

◆ Equals() [2/2]

override bool Lusid.Sdk.Model.BlockAndOrdersRequest.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

override int Lusid.Sdk.Model.BlockAndOrdersRequest.GetHashCode ( )
inline

Gets the hash code

Returns
Hash code

◆ ToJson()

virtual string Lusid.Sdk.Model.BlockAndOrdersRequest.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

override string Lusid.Sdk.Model.BlockAndOrdersRequest.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ BlockId

ResourceId Lusid.Sdk.Model.BlockAndOrdersRequest.BlockId
getset

Gets or Sets BlockId

◆ BlockProperties

Dictionary<string, PerpetualProperty> Lusid.Sdk.Model.BlockAndOrdersRequest.BlockProperties
getset

Client-defined properties associated with this block.

Client-defined properties associated with this block.

◆ Date

DateTimeOffset Lusid.Sdk.Model.BlockAndOrdersRequest.Date
getset

The date on which the block was made

The date on which the block was made

◆ InstrumentIdentifiers

Dictionary<string, string> Lusid.Sdk.Model.BlockAndOrdersRequest.InstrumentIdentifiers
getset

The instrument ordered.

The instrument ordered.

◆ LimitPrice

CurrencyAndAmount Lusid.Sdk.Model.BlockAndOrdersRequest.LimitPrice
getset

Gets or Sets LimitPrice

◆ Orders

List<BlockedOrderRequest> Lusid.Sdk.Model.BlockAndOrdersRequest.Orders
getset

An order which belongs to a block. Fields common to both entities (such as instrument) should be derived from the block.

An order which belongs to a block. Fields common to both entities (such as instrument) should be derived from the block.

◆ Side

string Lusid.Sdk.Model.BlockAndOrdersRequest.Side
getset

The client&#39;s representation of the block&#39;s side (buy, sell, short, etc)

The client&#39;s representation of the block&#39;s side (buy, sell, short, etc)

◆ StopPrice

CurrencyAndAmount Lusid.Sdk.Model.BlockAndOrdersRequest.StopPrice
getset

Gets or Sets StopPrice

◆ TimeInForce

string Lusid.Sdk.Model.BlockAndOrdersRequest.TimeInForce
getset

The block orders&#39; time in force (examples: Day, GoodTilCancel, ...)

The block orders&#39; time in force (examples: Day, GoodTilCancel, ...)

◆ Type

string Lusid.Sdk.Model.BlockAndOrdersRequest.Type
getset

The block order&#39;s type (examples: Limit, Market, ...)

The block order&#39;s type (examples: Limit, Market, ...)


The documentation for this class was generated from the following file: