Package com.microsoft.graph.models
Class WorkbookFunctionsAmorDegrcParameterSet.WorkbookFunctionsAmorDegrcParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.WorkbookFunctionsAmorDegrcParameterSet.WorkbookFunctionsAmorDegrcParameterSetBuilder
- Enclosing class:
WorkbookFunctionsAmorDegrcParameterSet
public static final class WorkbookFunctionsAmorDegrcParameterSet.WorkbookFunctionsAmorDegrcParameterSetBuilder
extends Object
Fluent builder for the WorkbookFunctionsAmorDegrcParameterSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.google.gson.JsonElement
The basis parameter valueprotected com.google.gson.JsonElement
The cost parameter valueprotected com.google.gson.JsonElement
The datePurchased parameter valueprotected com.google.gson.JsonElement
The firstPeriod parameter valueprotected com.google.gson.JsonElement
The period parameter valueprotected com.google.gson.JsonElement
The rate parameter valueprotected com.google.gson.JsonElement
The salvage parameter value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Instanciates a new WorkbookFunctionsAmorDegrcParameterSetBuilder -
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
-
WorkbookFunctionsAmorDegrcParameterSetBuilder
@Nullable protected WorkbookFunctionsAmorDegrcParameterSetBuilder()Instanciates a new WorkbookFunctionsAmorDegrcParameterSetBuilder
-
-
Method Details
-
withCost
@Nonnull public WorkbookFunctionsAmorDegrcParameterSet.WorkbookFunctionsAmorDegrcParameterSetBuilder 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 WorkbookFunctionsAmorDegrcParameterSet.WorkbookFunctionsAmorDegrcParameterSetBuilder 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 WorkbookFunctionsAmorDegrcParameterSet.WorkbookFunctionsAmorDegrcParameterSetBuilder 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 WorkbookFunctionsAmorDegrcParameterSet.WorkbookFunctionsAmorDegrcParameterSetBuilder 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 WorkbookFunctionsAmorDegrcParameterSet.WorkbookFunctionsAmorDegrcParameterSetBuilder 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 WorkbookFunctionsAmorDegrcParameterSet.WorkbookFunctionsAmorDegrcParameterSetBuilder 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 WorkbookFunctionsAmorDegrcParameterSet.WorkbookFunctionsAmorDegrcParameterSetBuilder 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
-