public class TimeEntry extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TimeEntry.StatusEnum
Status of the time entry.
|
| Constructor and Description |
|---|
TimeEntry() |
| Modifier and Type | Method and Description |
|---|---|
TimeEntry |
dateEnteredUtc(org.threeten.bp.OffsetDateTime dateEnteredUtc) |
TimeEntry |
dateUtc(org.threeten.bp.OffsetDateTime dateUtc) |
TimeEntry |
description(String description) |
TimeEntry |
duration(Integer duration) |
boolean |
equals(Object o) |
org.threeten.bp.OffsetDateTime |
getDateEnteredUtc()
The date time that time entry is created.
|
org.threeten.bp.OffsetDateTime |
getDateUtc()
The date time that time entry is logged on.
|
String |
getDescription()
A description of the time entry.
|
Integer |
getDuration()
The duration of logged minutes.
|
UUID |
getProjectId()
Identifier of the project, that the task (which the time entry is logged against) belongs to.
|
TimeEntry.StatusEnum |
getStatus()
Status of the time entry.
|
UUID |
getTaskId()
Identifier of the task that time entry is logged against.
|
UUID |
getTimeEntryId()
Identifier of the time entry.
|
UUID |
getUserId()
The xero user identifier of the person who logged time.
|
int |
hashCode() |
TimeEntry |
projectId(UUID projectId) |
void |
setDateEnteredUtc(org.threeten.bp.OffsetDateTime dateEnteredUtc) |
void |
setDateUtc(org.threeten.bp.OffsetDateTime dateUtc) |
void |
setDescription(String description) |
void |
setDuration(Integer duration) |
void |
setProjectId(UUID projectId) |
void |
setStatus(TimeEntry.StatusEnum status) |
void |
setTaskId(UUID taskId) |
void |
setTimeEntryId(UUID timeEntryId) |
void |
setUserId(UUID userId) |
TimeEntry |
status(TimeEntry.StatusEnum status) |
TimeEntry |
taskId(UUID taskId) |
TimeEntry |
timeEntryId(UUID timeEntryId) |
String |
toString() |
TimeEntry |
userId(UUID userId) |
public UUID getTimeEntryId()
public void setTimeEntryId(UUID timeEntryId)
public UUID getUserId()
public void setUserId(UUID userId)
public UUID getProjectId()
public void setProjectId(UUID projectId)
public UUID getTaskId()
public void setTaskId(UUID taskId)
public TimeEntry dateUtc(org.threeten.bp.OffsetDateTime dateUtc)
public org.threeten.bp.OffsetDateTime getDateUtc()
public void setDateUtc(org.threeten.bp.OffsetDateTime dateUtc)
public TimeEntry dateEnteredUtc(org.threeten.bp.OffsetDateTime dateEnteredUtc)
public org.threeten.bp.OffsetDateTime getDateEnteredUtc()
public void setDateEnteredUtc(org.threeten.bp.OffsetDateTime dateEnteredUtc)
public Integer getDuration()
public void setDuration(Integer duration)
public String getDescription()
public void setDescription(String description)
public TimeEntry status(TimeEntry.StatusEnum status)
public TimeEntry.StatusEnum getStatus()
public void setStatus(TimeEntry.StatusEnum status)
Copyright © 2020. All rights reserved.