Package com.xero.models.project
Class TimeEntryCreateOrUpdate
java.lang.Object
com.xero.models.project.TimeEntryCreateOrUpdate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondateUtc(org.threeten.bp.OffsetDateTime dateUtc) Date time entry is logged on.description(String description) An optional description of the time entry, will be set to null if not provided during update.Number of minutes to be logged.booleanorg.threeten.bp.OffsetDateTimeDate time entry is logged on.An optional description of the time entry, will be set to null if not provided during update.Number of minutes to be logged.Identifier of the task that time entry is logged against.The xero user identifier of the person logging the time.inthashCode()voidsetDateUtc(org.threeten.bp.OffsetDateTime dateUtc) Date time entry is logged on.voidsetDescription(String description) An optional description of the time entry, will be set to null if not provided during update.voidsetDuration(Integer duration) Number of minutes to be logged.voidIdentifier of the task that time entry is logged against.voidThe xero user identifier of the person logging the time.Identifier of the task that time entry is logged against.toString()The xero user identifier of the person logging the time.
-
Constructor Details
-
TimeEntryCreateOrUpdate
public TimeEntryCreateOrUpdate()
-
-
Method Details
-
userId
The xero user identifier of the person logging the time.- Parameters:
userId- UUID- Returns:
- TimeEntryCreateOrUpdate
-
getUserId
-
setUserId
The xero user identifier of the person logging the time.- Parameters:
userId- UUID
-
taskId
Identifier of the task that time entry is logged against.- Parameters:
taskId- UUID- Returns:
- TimeEntryCreateOrUpdate
-
getTaskId
-
setTaskId
Identifier of the task that time entry is logged against.- Parameters:
taskId- UUID
-
dateUtc
Date time entry is logged on. UTC Date Time in ISO-8601 format.- Parameters:
dateUtc- OffsetDateTime- Returns:
- TimeEntryCreateOrUpdate
-
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) Date time entry is logged on. UTC Date Time in ISO-8601 format.- Parameters:
dateUtc- OffsetDateTime
-
duration
Number of minutes to be logged. Duration is between 1 and 59940 inclusively.- Parameters:
duration- Integer- Returns:
- TimeEntryCreateOrUpdate
-
getDuration
Number of minutes to be logged. Duration is between 1 and 59940 inclusively.- Returns:
- duration
-
setDuration
Number of minutes to be logged. Duration is between 1 and 59940 inclusively.- Parameters:
duration- Integer
-
description
An optional description of the time entry, will be set to null if not provided during update.- Parameters:
description- String- Returns:
- TimeEntryCreateOrUpdate
-
getDescription
An optional description of the time entry, will be set to null if not provided during update.- Returns:
- description
-
setDescription
An optional description of the time entry, will be set to null if not provided during update.- Parameters:
description- String
-
equals
-
hashCode
-
toString
-