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

LUSID representation of an Interest Rate Swaption. More...

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

Public Member Functions

 InterestRateSwaption (DateTimeOffset startDate=default(DateTimeOffset), string payOrReceiveFixed=default(string), Premium premium=default(Premium), string deliveryMethod=default(string), InterestRateSwap swap=default(InterestRateSwap), TimeZoneConventions timeZoneConventions=default(TimeZoneConventions), LusidInstrument underlying=default(LusidInstrument), int deliveryDays=default(int), string businessDayConvention=default(string), List< string > settlementCalendars=default(List< string >), InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum))
 Initializes a new instance of the InterestRateSwaption 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 (InterestRateSwaption input)
 Returns true if InterestRateSwaption instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 
- Public Member Functions inherited from Lusid.Sdk.Model.LusidInstrument
 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

 InterestRateSwaption ()
 Initializes a new instance of the InterestRateSwaption class. More...
 
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > BaseValidate (ValidationContext validationContext)
 To validate all properties of the instance More...
 
- Protected Member Functions inherited from Lusid.Sdk.Model.LusidInstrument
 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...
 

Properties

DateTimeOffset StartDate [get, set]
 The start date of the instrument. This is normally synonymous with the trade-date. More...
 
string PayOrReceiveFixed [get, set]
 Pay or Receive the fixed leg of the underlying swap. Supported string (enumeration) values are: [Pay, Receive]. More...
 
Premium Premium [get, set]
 Gets or Sets Premium More...
 
string DeliveryMethod [get, set]
 How does the option settle Supported string (enumeration) values are: [Cash, Physical]. More...
 
InterestRateSwap Swap [get, set]
 Gets or Sets Swap More...
 
TimeZoneConventions TimeZoneConventions [get, set]
 Gets or Sets TimeZoneConventions More...
 
LusidInstrument Underlying [get, set]
 Gets or Sets Underlying More...
 
int DeliveryDays [get, set]
 Number of business days between exercise date and settlement of the option payoff or underlying. Defaults to 0. More...
 
string BusinessDayConvention [get, set]
 Business day convention for option exercise date to settlement date calculation. Default value: F. Available values: NoAdjustment, None, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing, Nearest, Invalid. More...
 
List< string > SettlementCalendars [get, set]
 Holiday calendars for option exercise date to settlement date calculation. More...
 
- Properties inherited from Lusid.Sdk.Model.LusidInstrument
InstrumentTypeEnum InstrumentType [get, set]
 Available values: 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, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument, LoanFacility, FlexibleDeposit, FlexibleRepo. More...
 

Additional Inherited Members

- Public Types inherited from Lusid.Sdk.Model.LusidInstrument
enum class  InstrumentTypeEnum {
  QuotedSecurity = 1 , InterestRateSwap = 2 , FxForward = 3 , Future = 4 ,
  ExoticInstrument = 5 , FxOption = 6 , CreditDefaultSwap = 7 , InterestRateSwaption = 8 ,
  Bond = 9 , EquityOption = 10 , FixedLeg = 11 , FloatingLeg = 12 ,
  BespokeCashFlowsLeg = 13 , Unknown = 14 , TermDeposit = 15 , ContractForDifference = 16 ,
  EquitySwap = 17 , CashPerpetual = 18 , CapFloor = 19 , CashSettled = 20 ,
  CdsIndex = 21 , Basket = 22 , FundingLeg = 23 , FxSwap = 24 ,
  ForwardRateAgreement = 25 , SimpleInstrument = 26 , Repo = 27 , Equity = 28 ,
  ExchangeTradedOption = 29 , ReferenceInstrument = 30 , ComplexBond = 31 , InflationLinkedBond = 32 ,
  InflationSwap = 33 , SimpleCashFlowLoan = 34 , TotalReturnSwap = 35 , InflationLeg = 36 ,
  FundShareClass = 37 , FlexibleLoan = 38 , UnsettledCash = 39 , Cash = 40 ,
  MasteredInstrument = 41 , LoanFacility = 42 , FlexibleDeposit = 43 , FlexibleRepo = 44
}
 Available values: 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, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument, LoanFacility, FlexibleDeposit, FlexibleRepo. More...
 

Detailed Description

LUSID representation of an Interest Rate Swaption.

Constructor & Destructor Documentation

◆ InterestRateSwaption() [1/2]

Lusid.Sdk.Model.InterestRateSwaption.InterestRateSwaption ( )
inlineprotected

Initializes a new instance of the InterestRateSwaption class.

◆ InterestRateSwaption() [2/2]

Lusid.Sdk.Model.InterestRateSwaption.InterestRateSwaption ( DateTimeOffset  startDate = default(DateTimeOffset),
string  payOrReceiveFixed = default(string),
Premium  premium = default(Premium),
string  deliveryMethod = default(string),
InterestRateSwap  swap = default(InterestRateSwap),
TimeZoneConventions  timeZoneConventions = default(TimeZoneConventions),
LusidInstrument  underlying = default(LusidInstrument),
int  deliveryDays = default(int),
string  businessDayConvention = default(string),
List< string >  settlementCalendars = default(List<string>),
InstrumentTypeEnum  instrumentType = default(InstrumentTypeEnum) 
)
inline

Initializes a new instance of the InterestRateSwaption class.

Parameters
startDateThe start date of the instrument. This is normally synonymous with the trade-date. (required).
payOrReceiveFixedPay or Receive the fixed leg of the underlying swap. Supported string (enumeration) values are: [Pay, Receive]. (required).
premiumpremium.
deliveryMethodHow does the option settle Supported string (enumeration) values are: [Cash, Physical]. (required).
swapswap.
timeZoneConventionstimeZoneConventions.
underlyingunderlying.
deliveryDaysNumber of business days between exercise date and settlement of the option payoff or underlying. Defaults to 0..
businessDayConventionBusiness day convention for option exercise date to settlement date calculation. Default value: F. Available values: NoAdjustment, None, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing, Nearest, Invalid..
settlementCalendarsHoliday calendars for option exercise date to settlement date calculation..
instrumentTypeAvailable values: 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, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument, LoanFacility, FlexibleDeposit, FlexibleRepo. (required) (default to "InterestRateSwaption").

Member Function Documentation

◆ BaseValidate()

IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> Lusid.Sdk.Model.InterestRateSwaption.BaseValidate ( ValidationContext  validationContext)
inlineprotected

To validate all properties of the instance

Parameters
validationContextValidation context
Returns
Validation Result

◆ Equals() [1/2]

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

Returns true if InterestRateSwaption instances are equal

Parameters
inputInstance of InterestRateSwaption to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

override string Lusid.Sdk.Model.InterestRateSwaption.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

Reimplemented from Lusid.Sdk.Model.LusidInstrument.

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ BusinessDayConvention

string Lusid.Sdk.Model.InterestRateSwaption.BusinessDayConvention
getset

Business day convention for option exercise date to settlement date calculation. Default value: F. Available values: NoAdjustment, None, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing, Nearest, Invalid.

Business day convention for option exercise date to settlement date calculation. Default value: F. Available values: NoAdjustment, None, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing, Nearest, Invalid.

◆ DeliveryDays

int Lusid.Sdk.Model.InterestRateSwaption.DeliveryDays
getset

Number of business days between exercise date and settlement of the option payoff or underlying. Defaults to 0.

Number of business days between exercise date and settlement of the option payoff or underlying. Defaults to 0.

◆ DeliveryMethod

string Lusid.Sdk.Model.InterestRateSwaption.DeliveryMethod
getset

How does the option settle Supported string (enumeration) values are: [Cash, Physical].

How does the option settle Supported string (enumeration) values are: [Cash, Physical].

◆ PayOrReceiveFixed

string Lusid.Sdk.Model.InterestRateSwaption.PayOrReceiveFixed
getset

Pay or Receive the fixed leg of the underlying swap. Supported string (enumeration) values are: [Pay, Receive].

Pay or Receive the fixed leg of the underlying swap. Supported string (enumeration) values are: [Pay, Receive].

◆ Premium

Premium Lusid.Sdk.Model.InterestRateSwaption.Premium
getset

Gets or Sets Premium

◆ SettlementCalendars

List<string> Lusid.Sdk.Model.InterestRateSwaption.SettlementCalendars
getset

Holiday calendars for option exercise date to settlement date calculation.

Holiday calendars for option exercise date to settlement date calculation.

◆ StartDate

DateTimeOffset Lusid.Sdk.Model.InterestRateSwaption.StartDate
getset

The start date of the instrument. This is normally synonymous with the trade-date.

The start date of the instrument. This is normally synonymous with the trade-date.

◆ Swap

InterestRateSwap Lusid.Sdk.Model.InterestRateSwaption.Swap
getset

Gets or Sets Swap

◆ TimeZoneConventions

TimeZoneConventions Lusid.Sdk.Model.InterestRateSwaption.TimeZoneConventions
getset

Gets or Sets TimeZoneConventions

◆ Underlying

LusidInstrument Lusid.Sdk.Model.InterestRateSwaption.Underlying
getset

Gets or Sets Underlying


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