java.lang.Object
io.github.primelib.confluence4j.rest.v2.model.Task

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class Task extends Object
Task
  • Felddetails

    • id

      protected Long id
      ID of the task. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • localId

      protected Long localId
      Local ID of the task. This ID is local to the corresponding page or blog post. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • spaceId

      protected Long spaceId
      ID of the space the task is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • pageId

      protected Long pageId
      ID of the page the task is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • blogPostId

      protected Long blogPostId
      ID of the blog post the task is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • status

      protected Task.StatusEnum status
      Status of the task.
    • body

      protected BodySingle body
    • createdBy

      protected String createdBy
      Account ID of the user who created this task.
    • assignedTo

      protected String assignedTo
      Account ID of the user to whom this task is assigned.
    • completedBy

      protected String completedBy
      Account ID of the user who completed this task.
    • createdAt

      protected OffsetDateTime createdAt
      Date and time when the task was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
    • updatedAt

      protected OffsetDateTime updatedAt
      Date and time when the task was updated. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
    • dueAt

      protected OffsetDateTime dueAt
      Date and time when the task is due. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
    • completedAt

      protected OffsetDateTime completedAt
      Date and time when the task was completed. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
  • Konstruktordetails

    • Task

      public Task(Consumer<Task> spec)
      Constructs a validated instance of Task.
      Parameter:
      spec - the specification to process
    • Task

      @Internal public Task(Long id, Long localId, Long spaceId, Long pageId, Long blogPostId, Task.StatusEnum status, BodySingle body, String createdBy, String assignedTo, String completedBy, OffsetDateTime createdAt, OffsetDateTime updatedAt, OffsetDateTime dueAt, OffsetDateTime completedAt)
      Constructs a validated instance of Task.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Task(Consumer) instead.

      Parameter:
      id - ID of the task. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      localId - Local ID of the task. This ID is local to the corresponding page or blog post. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      spaceId - ID of the space the task is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      pageId - ID of the page the task is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      blogPostId - ID of the blog post the task is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      status - Status of the task.
      body - body
      createdBy - Account ID of the user who created this task.
      assignedTo - Account ID of the user to whom this task is assigned.
      completedBy - Account ID of the user who completed this task.
      createdAt - Date and time when the task was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
      updatedAt - Date and time when the task was updated. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
      dueAt - Date and time when the task is due. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
      completedAt - Date and time when the task was completed. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
    • Task

      protected Task()
  • Methodendetails

    • builder

      public static Task.TaskBuilder builder()
    • id

      public Long id()
      ID of the task. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • localId

      public Long localId()
      Local ID of the task. This ID is local to the corresponding page or blog post. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • spaceId

      public Long spaceId()
      ID of the space the task is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • pageId

      public Long pageId()
      ID of the page the task is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • blogPostId

      public Long blogPostId()
      ID of the blog post the task is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • status

      public Task.StatusEnum status()
      Status of the task.
    • body

      public BodySingle body()
    • createdBy

      public String createdBy()
      Account ID of the user who created this task.
    • assignedTo

      public String assignedTo()
      Account ID of the user to whom this task is assigned.
    • completedBy

      public String completedBy()
      Account ID of the user who completed this task.
    • createdAt

      public OffsetDateTime createdAt()
      Date and time when the task was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
    • updatedAt

      public OffsetDateTime updatedAt()
      Date and time when the task was updated. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
    • dueAt

      public OffsetDateTime dueAt()
      Date and time when the task is due. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
    • completedAt

      public OffsetDateTime completedAt()
      Date and time when the task was completed. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
    • id

      public Task id(Long id)
      ID of the task. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      Gibt zurück:
      this.
    • localId

      public Task localId(Long localId)
      Local ID of the task. This ID is local to the corresponding page or blog post. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      Gibt zurück:
      this.
    • spaceId

      public Task spaceId(Long spaceId)
      ID of the space the task is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      Gibt zurück:
      this.
    • pageId

      public Task pageId(Long pageId)
      ID of the page the task is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      Gibt zurück:
      this.
    • blogPostId

      public Task blogPostId(Long blogPostId)
      ID of the blog post the task is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      Gibt zurück:
      this.
    • status

      public Task status(Task.StatusEnum status)
      Status of the task.
      Gibt zurück:
      this.
    • body

      public Task body(BodySingle body)
      Gibt zurück:
      this.
    • createdBy

      public Task createdBy(String createdBy)
      Account ID of the user who created this task.
      Gibt zurück:
      this.
    • assignedTo

      public Task assignedTo(String assignedTo)
      Account ID of the user to whom this task is assigned.
      Gibt zurück:
      this.
    • completedBy

      public Task completedBy(String completedBy)
      Account ID of the user who completed this task.
      Gibt zurück:
      this.
    • createdAt

      public Task createdAt(OffsetDateTime createdAt)
      Date and time when the task was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
      Gibt zurück:
      this.
    • updatedAt

      public Task updatedAt(OffsetDateTime updatedAt)
      Date and time when the task was updated. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
      Gibt zurück:
      this.
    • dueAt

      public Task dueAt(OffsetDateTime dueAt)
      Date and time when the task is due. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
      Gibt zurück:
      this.
    • completedAt

      public Task completedAt(OffsetDateTime completedAt)
      Date and time when the task was completed. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object