Class TicketsListRequest


  • public final class TicketsListRequest
    extends java.lang.Object
    • Method Detail

      • getAccountId

        public java.util.Optional<java.lang.String> getAccountId()
        Returns:
        If provided, will only return tickets for this account.
      • getAssigneeIds

        public java.util.Optional<java.lang.String> getAssigneeIds()
        Returns:
        If provided, will only return tickets assigned to the assignee_ids; multiple assignee_ids can be separated by commas.
      • getCollectionIds

        public java.util.Optional<java.lang.String> getCollectionIds()
        Returns:
        If provided, will only return tickets assigned to the collection_ids; multiple collection_ids can be separated by commas.
      • getCompletedAfter

        public java.util.Optional<java.time.OffsetDateTime> getCompletedAfter()
        Returns:
        If provided, will only return tickets completed after this datetime.
      • getCompletedBefore

        public java.util.Optional<java.time.OffsetDateTime> getCompletedBefore()
        Returns:
        If provided, will only return tickets completed before this datetime.
      • getContactId

        public java.util.Optional<java.lang.String> getContactId()
        Returns:
        If provided, will only return tickets for this contact.
      • getCreatedAfter

        public java.util.Optional<java.time.OffsetDateTime> getCreatedAfter()
        Returns:
        If provided, will only return objects created after this datetime.
      • getCreatedBefore

        public java.util.Optional<java.time.OffsetDateTime> getCreatedBefore()
        Returns:
        If provided, will only return objects created before this datetime.
      • getCursor

        public java.util.Optional<java.lang.String> getCursor()
        Returns:
        The pagination cursor value.
      • getDueAfter

        public java.util.Optional<java.time.OffsetDateTime> getDueAfter()
        Returns:
        If provided, will only return tickets due after this datetime.
      • getDueBefore

        public java.util.Optional<java.time.OffsetDateTime> getDueBefore()
        Returns:
        If provided, will only return tickets due before this datetime.
      • getExpand

        public java.util.Optional<TicketsListRequestExpand> getExpand()
        Returns:
        Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
      • getIncludeDeletedData

        public java.util.Optional<java.lang.Boolean> getIncludeDeletedData()
        Returns:
        Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.
      • getIncludeRemoteData

        public java.util.Optional<java.lang.Boolean> getIncludeRemoteData()
        Returns:
        Whether to include the original data Merge fetched from the third-party to produce these models.
      • getIncludeRemoteFields

        public java.util.Optional<java.lang.Boolean> getIncludeRemoteFields()
        Returns:
        Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
      • getIncludeShellData

        public java.util.Optional<java.lang.Boolean> getIncludeShellData()
        Returns:
        Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
      • getModifiedAfter

        public java.util.Optional<java.time.OffsetDateTime> getModifiedAfter()
        Returns:
        If provided, only objects synced by Merge after this date time will be returned.
      • getModifiedBefore

        public java.util.Optional<java.time.OffsetDateTime> getModifiedBefore()
        Returns:
        If provided, only objects synced by Merge before this date time will be returned.
      • getPageSize

        public java.util.Optional<java.lang.Integer> getPageSize()
        Returns:
        Number of results to return per page.
      • getParentTicketId

        public java.util.Optional<java.lang.String> getParentTicketId()
        Returns:
        If provided, will only return sub tickets of the parent_ticket_id.
      • getPriority

        public java.util.Optional<TicketsListRequestPriority> getPriority()
        Returns:
        If provided, will only return tickets of this priority.
        • URGENT - URGENT
        • HIGH - HIGH
        • NORMAL - NORMAL
        • LOW - LOW
      • getRemoteCreatedAfter

        public java.util.Optional<java.time.OffsetDateTime> getRemoteCreatedAfter()
        Returns:
        If provided, will only return tickets created in the third party platform after this datetime.
      • getRemoteCreatedBefore

        public java.util.Optional<java.time.OffsetDateTime> getRemoteCreatedBefore()
        Returns:
        If provided, will only return tickets created in the third party platform before this datetime.
      • getRemoteId

        public java.util.Optional<java.lang.String> getRemoteId()
        Returns:
        The API provider's ID for the given object.
      • getRemoteUpdatedAfter

        public java.util.Optional<java.time.OffsetDateTime> getRemoteUpdatedAfter()
        Returns:
        If provided, will only return tickets updated in the third party platform after this datetime.
      • getRemoteUpdatedBefore

        public java.util.Optional<java.time.OffsetDateTime> getRemoteUpdatedBefore()
        Returns:
        If provided, will only return tickets updated in the third party platform before this datetime.
      • getShowEnumOrigins

        public java.util.Optional<TicketsListRequestShowEnumOrigins> getShowEnumOrigins()
        Returns:
        A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. Learn more
      • getStatus

        public java.util.Optional<TicketsListRequestStatus> getStatus()
        Returns:
        If provided, will only return tickets of this status.
        • OPEN - OPEN
        • CLOSED - CLOSED
        • IN_PROGRESS - IN_PROGRESS
        • ON_HOLD - ON_HOLD
      • getTags

        public java.util.Optional<java.lang.String> getTags()
        Returns:
        If provided, will only return tickets matching the tags; multiple tags can be separated by commas.
      • getTicketType

        public java.util.Optional<java.lang.String> getTicketType()
        Returns:
        If provided, will only return tickets of this type.
      • getTicketUrl

        public java.util.Optional<java.lang.String> getTicketUrl()
        Returns:
        If provided, will only return tickets where the URL matches or contains the substring
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object