Package com.microsoft.graph.models
Class WorkbookFunctionsMdurationParameterSet.WorkbookFunctionsMdurationParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.WorkbookFunctionsMdurationParameterSet.WorkbookFunctionsMdurationParameterSetBuilder
- Enclosing class:
- WorkbookFunctionsMdurationParameterSet
public static final class WorkbookFunctionsMdurationParameterSet.WorkbookFunctionsMdurationParameterSetBuilder
extends Object
Fluent builder for the WorkbookFunctionsMdurationParameterSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.google.gson.JsonElement
The basis parameter valueprotected com.google.gson.JsonElement
The coupon parameter valueprotected com.google.gson.JsonElement
The frequency parameter valueprotected com.google.gson.JsonElement
The maturity parameter valueprotected com.google.gson.JsonElement
The settlement parameter valueprotected com.google.gson.JsonElement
The yld parameter value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Instanciates a new WorkbookFunctionsMdurationParameterSetBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Buils the resulting body object to be passed to the requestwithBasis
(com.google.gson.JsonElement val) Sets the BasiswithCoupon
(com.google.gson.JsonElement val) Sets the CouponwithFrequency
(com.google.gson.JsonElement val) Sets the FrequencywithMaturity
(com.google.gson.JsonElement val) Sets the MaturitywithSettlement
(com.google.gson.JsonElement val) Sets the SettlementwithYld
(com.google.gson.JsonElement val) Sets the Yld
-
Field Details
-
settlement
@Nullable protected com.google.gson.JsonElement settlementThe settlement parameter value -
maturity
@Nullable protected com.google.gson.JsonElement maturityThe maturity parameter value -
coupon
@Nullable protected com.google.gson.JsonElement couponThe coupon parameter value -
yld
@Nullable protected com.google.gson.JsonElement yldThe yld parameter value -
frequency
@Nullable protected com.google.gson.JsonElement frequencyThe frequency parameter value -
basis
@Nullable protected com.google.gson.JsonElement basisThe basis parameter value
-
-
Constructor Details
-
WorkbookFunctionsMdurationParameterSetBuilder
@Nullable protected WorkbookFunctionsMdurationParameterSetBuilder()Instanciates a new WorkbookFunctionsMdurationParameterSetBuilder
-
-
Method Details
-
withSettlement
@Nonnull public WorkbookFunctionsMdurationParameterSet.WorkbookFunctionsMdurationParameterSetBuilder withSettlement(@Nullable com.google.gson.JsonElement val) Sets the Settlement- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withMaturity
@Nonnull public WorkbookFunctionsMdurationParameterSet.WorkbookFunctionsMdurationParameterSetBuilder withMaturity(@Nullable com.google.gson.JsonElement val) Sets the Maturity- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withCoupon
@Nonnull public WorkbookFunctionsMdurationParameterSet.WorkbookFunctionsMdurationParameterSetBuilder withCoupon(@Nullable com.google.gson.JsonElement val) Sets the Coupon- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withYld
@Nonnull public WorkbookFunctionsMdurationParameterSet.WorkbookFunctionsMdurationParameterSetBuilder withYld(@Nullable com.google.gson.JsonElement val) Sets the Yld- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withFrequency
@Nonnull public WorkbookFunctionsMdurationParameterSet.WorkbookFunctionsMdurationParameterSetBuilder withFrequency(@Nullable com.google.gson.JsonElement val) Sets the Frequency- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withBasis
@Nonnull public WorkbookFunctionsMdurationParameterSet.WorkbookFunctionsMdurationParameterSetBuilder withBasis(@Nullable com.google.gson.JsonElement val) Sets the Basis- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
build
Buils the resulting body object to be passed to the request- Returns:
- the body object to pass to the request
-