Class TimeEntryCreateOrUpdate


  • public class TimeEntryCreateOrUpdate
    extends Object
    TimeEntryCreateOrUpdate
    • Constructor Detail

      • TimeEntryCreateOrUpdate

        public TimeEntryCreateOrUpdate()
    • Method Detail

      • userId

        public TimeEntryCreateOrUpdate userId​(UUID userId)
        The xero user identifier of the person logging the time.
        Parameters:
        userId - UUID
        Returns:
        TimeEntryCreateOrUpdate
      • getUserId

        public UUID getUserId()
        The xero user identifier of the person logging the time.
        Returns:
        userId
      • setUserId

        public void setUserId​(UUID userId)
        The xero user identifier of the person logging the time.
        Parameters:
        userId - UUID
      • taskId

        public TimeEntryCreateOrUpdate taskId​(UUID taskId)
        Identifier of the task that time entry is logged against.
        Parameters:
        taskId - UUID
        Returns:
        TimeEntryCreateOrUpdate
      • getTaskId

        public UUID getTaskId()
        Identifier of the task that time entry is logged against.
        Returns:
        taskId
      • setTaskId

        public void setTaskId​(UUID taskId)
        Identifier of the task that time entry is logged against.
        Parameters:
        taskId - UUID
      • dateUtc

        public TimeEntryCreateOrUpdate dateUtc​(org.threeten.bp.OffsetDateTime 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

        public TimeEntryCreateOrUpdate duration​(Integer duration)
        Number of minutes to be logged. Duration is between 1 and 59940 inclusively.
        Parameters:
        duration - Integer
        Returns:
        TimeEntryCreateOrUpdate
      • getDuration

        public Integer getDuration()
        Number of minutes to be logged. Duration is between 1 and 59940 inclusively.
        Returns:
        duration
      • setDuration

        public void setDuration​(Integer duration)
        Number of minutes to be logged. Duration is between 1 and 59940 inclusively.
        Parameters:
        duration - Integer
      • description

        public TimeEntryCreateOrUpdate description​(String description)
        An optional description of the time entry, will be set to null if not provided during update.
        Parameters:
        description - String
        Returns:
        TimeEntryCreateOrUpdate
      • getDescription

        public String getDescription()
        An optional description of the time entry, will be set to null if not provided during update.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
        An optional description of the time entry, will be set to null if not provided during update.
        Parameters:
        description - String
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object