Package com.microsoft.graph.models
Class WorkbookFunctionsAmorLincParameterSet.WorkbookFunctionsAmorLincParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.WorkbookFunctionsAmorLincParameterSet.WorkbookFunctionsAmorLincParameterSetBuilder
- Enclosing class:
WorkbookFunctionsAmorLincParameterSet
public static final class WorkbookFunctionsAmorLincParameterSet.WorkbookFunctionsAmorLincParameterSetBuilder
extends Object
Fluent builder for the WorkbookFunctionsAmorLincParameterSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.google.gson.JsonElementThe basis parameter valueprotected com.google.gson.JsonElementThe cost parameter valueprotected com.google.gson.JsonElementThe datePurchased parameter valueprotected com.google.gson.JsonElementThe firstPeriod parameter valueprotected com.google.gson.JsonElementThe period parameter valueprotected com.google.gson.JsonElementThe rate parameter valueprotected com.google.gson.JsonElementThe salvage parameter value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanciates a new WorkbookFunctionsAmorLincParameterSetBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()Buils the resulting body object to be passed to the requestwithBasis(com.google.gson.JsonElement val) Sets the BasiswithCost(com.google.gson.JsonElement val) Sets the CostwithDatePurchased(com.google.gson.JsonElement val) Sets the DatePurchasedwithFirstPeriod(com.google.gson.JsonElement val) Sets the FirstPeriodwithPeriod(com.google.gson.JsonElement val) Sets the PeriodwithRate(com.google.gson.JsonElement val) Sets the RatewithSalvage(com.google.gson.JsonElement val) Sets the Salvage
-
Field Details
-
cost
@Nullable protected com.google.gson.JsonElement costThe cost parameter value -
datePurchased
@Nullable protected com.google.gson.JsonElement datePurchasedThe datePurchased parameter value -
firstPeriod
@Nullable protected com.google.gson.JsonElement firstPeriodThe firstPeriod parameter value -
salvage
@Nullable protected com.google.gson.JsonElement salvageThe salvage parameter value -
period
@Nullable protected com.google.gson.JsonElement periodThe period parameter value -
rate
@Nullable protected com.google.gson.JsonElement rateThe rate parameter value -
basis
@Nullable protected com.google.gson.JsonElement basisThe basis parameter value
-
-
Constructor Details
-
WorkbookFunctionsAmorLincParameterSetBuilder
@Nullable protected WorkbookFunctionsAmorLincParameterSetBuilder()Instanciates a new WorkbookFunctionsAmorLincParameterSetBuilder
-
-
Method Details
-
withCost
@Nonnull public WorkbookFunctionsAmorLincParameterSet.WorkbookFunctionsAmorLincParameterSetBuilder withCost(@Nullable com.google.gson.JsonElement val) Sets the Cost- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withDatePurchased
@Nonnull public WorkbookFunctionsAmorLincParameterSet.WorkbookFunctionsAmorLincParameterSetBuilder withDatePurchased(@Nullable com.google.gson.JsonElement val) Sets the DatePurchased- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withFirstPeriod
@Nonnull public WorkbookFunctionsAmorLincParameterSet.WorkbookFunctionsAmorLincParameterSetBuilder withFirstPeriod(@Nullable com.google.gson.JsonElement val) Sets the FirstPeriod- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withSalvage
@Nonnull public WorkbookFunctionsAmorLincParameterSet.WorkbookFunctionsAmorLincParameterSetBuilder withSalvage(@Nullable com.google.gson.JsonElement val) Sets the Salvage- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withPeriod
@Nonnull public WorkbookFunctionsAmorLincParameterSet.WorkbookFunctionsAmorLincParameterSetBuilder withPeriod(@Nullable com.google.gson.JsonElement val) Sets the Period- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withRate
@Nonnull public WorkbookFunctionsAmorLincParameterSet.WorkbookFunctionsAmorLincParameterSetBuilder withRate(@Nullable com.google.gson.JsonElement val) Sets the Rate- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withBasis
@Nonnull public WorkbookFunctionsAmorLincParameterSet.WorkbookFunctionsAmorLincParameterSetBuilder 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
-