Package com.xero.models.project
Class TimeEntryCreateOrUpdate
java.lang.Object
com.xero.models.project.TimeEntryCreateOrUpdate
public class TimeEntryCreateOrUpdate extends Object
TimeEntryCreateOrUpdate
-
Constructor Summary
Constructors Constructor Description TimeEntryCreateOrUpdate() -
Method Summary
Modifier and Type Method Description TimeEntryCreateOrUpdatedateUtc(org.threeten.bp.OffsetDateTime dateUtc)TimeEntryCreateOrUpdatedescription(String description)TimeEntryCreateOrUpdateduration(Integer duration)booleanequals(Object o)org.threeten.bp.OffsetDateTimegetDateUtc()Date time entry is logged on.StringgetDescription()An optional description of the time entry, will be set to null if not provided during update.IntegergetDuration()Number of minutes to be logged.UUIDgetTaskId()Identifier of the task that time entry is logged against.UUIDgetUserId()The xero user identifier of the person logging the time.inthashCode()voidsetDateUtc(org.threeten.bp.OffsetDateTime dateUtc)voidsetDescription(String description)voidsetDuration(Integer duration)voidsetTaskId(UUID taskId)voidsetUserId(UUID userId)TimeEntryCreateOrUpdatetaskId(UUID taskId)StringtoString()TimeEntryCreateOrUpdateuserId(UUID userId)
-
Constructor Details
-
TimeEntryCreateOrUpdate
public TimeEntryCreateOrUpdate()
-
-
Method Details
-
userId
-
getUserId
The xero user identifier of the person logging the time.- Returns:
- userId
-
setUserId
-
taskId
-
getTaskId
Identifier of the task that time entry is logged against.- Returns:
- taskId
-
setTaskId
-
dateUtc
-
getDateUtc
public org.threeten.bp.OffsetDateTime getDateUtc()Date time entry is logged on. UTC Date Time in ISO-8601 format.- Returns:
- dateUtc
-
setDateUtc
public void setDateUtc(org.threeten.bp.OffsetDateTime dateUtc) -
duration
-
getDuration
Number of minutes to be logged. Duration is between 1 and 59940 inclusively.- Returns:
- duration
-
setDuration
-
description
-
getDescription
An optional description of the time entry, will be set to null if not provided during update.- Returns:
- description
-
setDescription
-
equals
-
hashCode
public int hashCode() -
toString
-