Interface GetLibraryItemResponse.Builder

  • Method Details

    • libraryItemId

      GetLibraryItemResponse.Builder libraryItemId(String libraryItemId)

      The unique identifier of the library item.

      Parameters:
      libraryItemId - The unique identifier of the library item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appId

      The unique identifier of the Q App associated with the library item.

      Parameters:
      appId - The unique identifier of the Q App associated with the library item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appVersion

      GetLibraryItemResponse.Builder appVersion(Integer appVersion)

      The version of the Q App associated with the library item.

      Parameters:
      appVersion - The version of the Q App associated with the library item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • categories

      The categories associated with the library item for discovery.

      Parameters:
      categories - The categories associated with the library item for discovery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • categories

      GetLibraryItemResponse.Builder categories(Category... categories)

      The categories associated with the library item for discovery.

      Parameters:
      categories - The categories associated with the library item for discovery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • categories

      The categories associated with the library item for discovery.

      This is a convenience method that creates an instance of the Category.Builder avoiding the need to create one manually via Category.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to categories(List<Category>).

      Parameters:
      categories - a consumer that will call methods on Category.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the library item, such as "Published".

      Parameters:
      status - The status of the library item, such as "Published".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The date and time the library item was created.

      Parameters:
      createdAt - The date and time the library item was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      GetLibraryItemResponse.Builder createdBy(String createdBy)

      The user who created the library item.

      Parameters:
      createdBy - The user who created the library item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      The date and time the library item was last updated.

      Parameters:
      updatedAt - The date and time the library item was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedBy

      GetLibraryItemResponse.Builder updatedBy(String updatedBy)

      The user who last updated the library item.

      Parameters:
      updatedBy - The user who last updated the library item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ratingCount

      GetLibraryItemResponse.Builder ratingCount(Integer ratingCount)

      The number of ratings the library item has received from users.

      Parameters:
      ratingCount - The number of ratings the library item has received from users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isRatedByUser

      GetLibraryItemResponse.Builder isRatedByUser(Boolean isRatedByUser)

      Whether the current user has rated the library item.

      Parameters:
      isRatedByUser - Whether the current user has rated the library item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userCount

      The number of users who have associated the Q App with their account.

      Parameters:
      userCount - The number of users who have associated the Q App with their account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isVerified

      GetLibraryItemResponse.Builder isVerified(Boolean isVerified)

      Indicates whether the library item has been verified.

      Parameters:
      isVerified - Indicates whether the library item has been verified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.