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

The details of the quote including its unique identifier, value and lineage. Please note the Unit field on MetricValue is nullable on the upsert but there is validation within the quote store to make sure this field is populated. In the absence of a real unit then we recommend putting something in line with the data in QuoteId.QuoteSeriesId.quoteType e.g. InterestRate. More...

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

Public Member Functions

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

Protected Member Functions

 UpsertQuoteRequest ()
 Initializes a new instance of the UpsertQuoteRequest 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...
 
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 details of the quote including its unique identifier, value and lineage. Please note the Unit field on MetricValue is nullable on the upsert but there is validation within the quote store to make sure this field is populated. In the absence of a real unit then we recommend putting something in line with the data in QuoteId.QuoteSeriesId.quoteType e.g. InterestRate.

Constructor & Destructor Documentation

◆ UpsertQuoteRequest() [1/2]

Lusid.Sdk.Model.UpsertQuoteRequest.UpsertQuoteRequest ( )
inlineprotected

Initializes a new instance of the UpsertQuoteRequest class.

◆ UpsertQuoteRequest() [2/2]

Lusid.Sdk.Model.UpsertQuoteRequest.UpsertQuoteRequest ( QuoteId  quoteId = default(QuoteId),
MetricValue  metricValue = default(MetricValue),
string  lineage = default(string),
decimal?  scaleFactor = default(decimal?) 
)
inline

Initializes a new instance of the UpsertQuoteRequest class.

Parameters
quoteIdquoteId (required).
metricValuemetricValue.
lineageDescription of the quote's lineage e.g. 'FundAccountant_GreenQuality'..
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.UpsertQuoteRequest.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if UpsertQuoteRequest instances are equal

Parameters
inputInstance of UpsertQuoteRequest to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Lineage

string Lusid.Sdk.Model.UpsertQuoteRequest.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.UpsertQuoteRequest.MetricValue
getset

Gets or Sets MetricValue

◆ QuoteId

QuoteId Lusid.Sdk.Model.UpsertQuoteRequest.QuoteId
getset

Gets or Sets QuoteId

◆ ScaleFactor

decimal? Lusid.Sdk.Model.UpsertQuoteRequest.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.


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