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

The quote id, value and lineage of the quotes all keyed by a unique correlation id. More...

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

Public Member Functions

 Quote (QuoteId quoteId=default(QuoteId), MetricValue metricValue=default(MetricValue), string lineage=default(string), string cutLabel=default(string), string uploadedBy=default(string), DateTimeOffset asAt=default(DateTimeOffset), decimal? scaleFactor=default(decimal?))
 Initializes a new instance of the Quote 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 (Quote input)
 Returns true if Quote instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

QuoteId QuoteId [get, set]
 Gets or Sets QuoteId More...
 
MetricValue MetricValue [get, set]
 Gets or Sets MetricValue More...
 
string Lineage [get, set]
 Description of the quote's lineage e.g. 'FundAccountant_GreenQuality'. More...
 
string CutLabel [get, set]
 The cut label that this quote was updated or inserted with. More...
 
string UploadedBy [get, set]
 The unique id of the user that updated or inserted the quote. More...
 
DateTimeOffset AsAt [get, set]
 The asAt datetime at which the quote was committed to LUSID. More...
 
decimal? ScaleFactor [get, set]
 An optional scale factor for non-standard scaling of quotes against the instrument. For example, if you wish the quote's Value to be scaled down by a factor of 100, enter 100. If not supplied, the default ScaleFactor is 1. More...
 

Detailed Description

The quote id, value and lineage of the quotes all keyed by a unique correlation id.

Constructor & Destructor Documentation

◆ Quote() [1/2]

Lusid.Sdk.Model.Quote.Quote ( )
inlineprotected

Initializes a new instance of the Quote class.

◆ Quote() [2/2]

Lusid.Sdk.Model.Quote.Quote ( QuoteId  quoteId = default(QuoteId),
MetricValue  metricValue = default(MetricValue),
string  lineage = default(string),
string  cutLabel = default(string),
string  uploadedBy = default(string),
DateTimeOffset  asAt = default(DateTimeOffset),
decimal?  scaleFactor = default(decimal?) 
)
inline

Initializes a new instance of the Quote class.

Parameters
quoteIdquoteId (required).
metricValuemetricValue.
lineageDescription of the quote's lineage e.g. 'FundAccountant_GreenQuality'..
cutLabelThe cut label that this quote was updated or inserted with..
uploadedByThe unique id of the user that updated or inserted the quote. (required).
asAtThe asAt datetime at which the quote was committed to LUSID. (required).
scaleFactorAn optional scale factor for non-standard scaling of quotes against the instrument. For example, if you wish the quote's Value to be scaled down by a factor of 100, enter 100. If not supplied, the default ScaleFactor is 1..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if Quote instances are equal

Parameters
inputInstance of Quote to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AsAt

DateTimeOffset Lusid.Sdk.Model.Quote.AsAt
getset

The asAt datetime at which the quote was committed to LUSID.

The asAt datetime at which the quote was committed to LUSID.

◆ CutLabel

string Lusid.Sdk.Model.Quote.CutLabel
getset

The cut label that this quote was updated or inserted with.

The cut label that this quote was updated or inserted with.

◆ Lineage

string Lusid.Sdk.Model.Quote.Lineage
getset

Description of the quote's lineage e.g. 'FundAccountant_GreenQuality'.

Description of the quote's lineage e.g. 'FundAccountant_GreenQuality'.

◆ MetricValue

MetricValue Lusid.Sdk.Model.Quote.MetricValue
getset

Gets or Sets MetricValue

◆ QuoteId

QuoteId Lusid.Sdk.Model.Quote.QuoteId
getset

Gets or Sets QuoteId

◆ ScaleFactor

decimal? Lusid.Sdk.Model.Quote.ScaleFactor
getset

An optional scale factor for non-standard scaling of quotes against the instrument. For example, if you wish the quote's Value to be scaled down by a factor of 100, enter 100. If not supplied, the default ScaleFactor is 1.

An optional scale factor for non-standard scaling of quotes against the instrument. For example, if you wish the quote's Value to be scaled down by a factor of 100, enter 100. If not supplied, the default ScaleFactor is 1.

◆ UploadedBy

string Lusid.Sdk.Model.Quote.UploadedBy
getset

The unique id of the user that updated or inserted the quote.

The unique id of the user that updated or inserted the quote.


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