Package com.xero.models.project
Class TaskCreateOrUpdate
- java.lang.Object
-
- com.xero.models.project.TaskCreateOrUpdate
-
public class TaskCreateOrUpdate extends Object
TaskCreateOrUpdate
-
-
Constructor Summary
Constructors Constructor Description TaskCreateOrUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskCreateOrUpdatechargeType(ChargeType chargeType)chargeTypebooleanequals(Object o)TaskCreateOrUpdateestimateMinutes(Integer estimateMinutes)Estimated time to perform the task.ChargeTypegetChargeType()Get chargeTypeIntegergetEstimateMinutes()Estimated time to perform the task.StringgetName()Name of the task.AmountgetRate()Get rateinthashCode()TaskCreateOrUpdatename(String name)Name of the task.TaskCreateOrUpdaterate(Amount rate)ratevoidsetChargeType(ChargeType chargeType)chargeTypevoidsetEstimateMinutes(Integer estimateMinutes)Estimated time to perform the task.voidsetName(String name)Name of the task.voidsetRate(Amount rate)rateStringtoString()
-
-
-
Method Detail
-
name
public TaskCreateOrUpdate name(String name)
Name of the task. Max length 100 characters.- Parameters:
name- String- Returns:
- TaskCreateOrUpdate
-
getName
public String getName()
Name of the task. Max length 100 characters. maximum: 100- Returns:
- name
-
setName
public void setName(String name)
Name of the task. Max length 100 characters.- Parameters:
name- String
-
rate
public TaskCreateOrUpdate rate(Amount rate)
rate- Parameters:
rate- Amount- Returns:
- TaskCreateOrUpdate
-
getRate
public Amount getRate()
Get rate- Returns:
- rate
-
setRate
public void setRate(Amount rate)
rate- Parameters:
rate- Amount
-
chargeType
public TaskCreateOrUpdate chargeType(ChargeType chargeType)
chargeType- Parameters:
chargeType- ChargeType- Returns:
- TaskCreateOrUpdate
-
getChargeType
public ChargeType getChargeType()
Get chargeType- Returns:
- chargeType
-
setChargeType
public void setChargeType(ChargeType chargeType)
chargeType- Parameters:
chargeType- ChargeType
-
estimateMinutes
public TaskCreateOrUpdate estimateMinutes(Integer estimateMinutes)
Estimated time to perform the task. EstimateMinutes has to be greater than 0 if provided.- Parameters:
estimateMinutes- Integer- Returns:
- TaskCreateOrUpdate
-
getEstimateMinutes
public Integer getEstimateMinutes()
Estimated time to perform the task. EstimateMinutes has to be greater than 0 if provided.- Returns:
- estimateMinutes
-
setEstimateMinutes
public void setEstimateMinutes(Integer estimateMinutes)
Estimated time to perform the task. EstimateMinutes has to be greater than 0 if provided.- Parameters:
estimateMinutes- Integer
-
-