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...
|
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...
|
|
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.
◆ UpsertQuoteRequest() [1/2]
Lusid.Sdk.Model.UpsertQuoteRequest.UpsertQuoteRequest |
( |
| ) |
|
|
inlineprotected |
◆ 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
-
quoteId | quoteId (required). |
metricValue | metricValue. |
lineage | Description of the quote's lineage e.g. 'FundAccountant_GreenQuality'.. |
scaleFactor | 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.. |
◆ Equals() [1/2]
override bool Lusid.Sdk.Model.UpsertQuoteRequest.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
input | Object to be compared |
- Returns
- Boolean
◆ Equals() [2/2]
◆ 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
◆ 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 |
◆ QuoteId
QuoteId Lusid.Sdk.Model.UpsertQuoteRequest.QuoteId |
|
getset |
◆ 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:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/latest/sdk/Lusid.Sdk/Model/UpsertQuoteRequest.cs