LUSID C# SDK
|
LUSID representation of Cap, Floor, or Collar. More...
Public Member Functions | |
CapFloor (string capFloorType=default(string), decimal capStrike=default(decimal), decimal floorStrike=default(decimal), bool includeFirstCaplet=default(bool), FloatingLeg underlyingFloatingLeg=default(FloatingLeg), InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum)) | |
Initializes a new instance of the CapFloor class. More... | |
override string | ToString () |
Returns the string presentation of the object More... | |
override 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 (CapFloor input) |
Returns true if CapFloor instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
![]() | |
LusidInstrument (InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum)) | |
Initializes a new instance of the LusidInstrument class. More... | |
override string | ToString () |
Returns the string presentation of the object More... | |
override bool | Equals (object input) |
Returns true if objects are equal More... | |
bool | Equals (LusidInstrument input) |
Returns true if LusidInstrument instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
CapFloor () | |
Initializes a new instance of the CapFloor class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
![]() | |
LusidInstrument () | |
Initializes a new instance of the LusidInstrument class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
LUSID representation of Cap, Floor, or Collar.
|
inlineprotected |
Initializes a new instance of the CapFloor class.
|
inline |
Initializes a new instance of the CapFloor class.
capFloorType | Determine if it's CAP, FLOOR, or COLLAR. Supported string (enumeration) values are: [Cap, Floor, Collar]. (required). |
capStrike | Strike rate of the Cap. (required). |
floorStrike | Strike rate of the Floor. (required). |
includeFirstCaplet | Include first caplet flag. (required). |
underlyingFloatingLeg | underlyingFloatingLeg (required). |
instrumentType | The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan (required) (default to "CapFloor"). |
|
inlineprotected |
To validate all properties of the instance
validationContext | Validation context |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
Reimplemented from Lusid.Sdk.Model.LusidInstrument.
|
inline |
Returns the string presentation of the object
|
getset |
Determine if it's CAP, FLOOR, or COLLAR. Supported string (enumeration) values are: [Cap, Floor, Collar].
Determine if it's CAP, FLOOR, or COLLAR. Supported string (enumeration) values are: [Cap, Floor, Collar].
|
getset |
Strike rate of the Cap.
Strike rate of the Cap.
|
getset |
Strike rate of the Floor.
Strike rate of the Floor.
|
getset |
Include first caplet flag.
Include first caplet flag.
|
getset |
Gets or Sets UnderlyingFloatingLeg