Package com.microsoft.graph.models
Class WorkbookFunctionsDurationParameterSet.WorkbookFunctionsDurationParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.WorkbookFunctionsDurationParameterSet.WorkbookFunctionsDurationParameterSetBuilder
- Enclosing class:
WorkbookFunctionsDurationParameterSet
public static final class WorkbookFunctionsDurationParameterSet.WorkbookFunctionsDurationParameterSetBuilder
extends Object
Fluent builder for the WorkbookFunctionsDurationParameterSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.google.gson.JsonElementThe basis parameter valueprotected com.google.gson.JsonElementThe coupon parameter valueprotected com.google.gson.JsonElementThe frequency parameter valueprotected com.google.gson.JsonElementThe maturity parameter valueprotected com.google.gson.JsonElementThe settlement parameter valueprotected com.google.gson.JsonElementThe yld parameter value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanciates a new WorkbookFunctionsDurationParameterSetBuilder -
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
-
WorkbookFunctionsDurationParameterSetBuilder
@Nullable protected WorkbookFunctionsDurationParameterSetBuilder()Instanciates a new WorkbookFunctionsDurationParameterSetBuilder
-
-
Method Details
-
withSettlement
@Nonnull public WorkbookFunctionsDurationParameterSet.WorkbookFunctionsDurationParameterSetBuilder 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 WorkbookFunctionsDurationParameterSet.WorkbookFunctionsDurationParameterSetBuilder 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 WorkbookFunctionsDurationParameterSet.WorkbookFunctionsDurationParameterSetBuilder 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 WorkbookFunctionsDurationParameterSet.WorkbookFunctionsDurationParameterSetBuilder 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 WorkbookFunctionsDurationParameterSet.WorkbookFunctionsDurationParameterSetBuilder 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 WorkbookFunctionsDurationParameterSet.WorkbookFunctionsDurationParameterSetBuilder 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
-