public static final class AuthorsRequest.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder(java.lang.String authorId) |
| Modifier and Type | Method and Description |
|---|---|
BuilderType |
addAdditionalField(java.lang.String key,
java.lang.String value)
Deprecated.
In order to avoid confusion with the unrelated
Review Submission specific
BaseReviewBuilder.addAdditionalField(String, String),
use addCustomDisplayParameter(String, String) instead.
This method adds extra user provided query parameters to a display request, and will be urlencoded. |
AuthorsRequest.Builder |
addAnswerSort(AnswerOptions.Sort sort,
SortOrder order) |
BuilderType |
addCustomDisplayParameter(java.lang.String key,
java.lang.String value)
This method adds extra user provided query parameters to a
display request, and will be urlencoded.
|
protected void |
addFilter(com.bazaarvoice.bvandroidsdk.Filter filter) |
AuthorsRequest.Builder |
addIncludeContent(AuthorIncludeType type,
int limit) |
AuthorsRequest.Builder |
addIncludeContent(PDPContentType type,
int limit)
Deprecated.
This method works, but the input param is technically of the
wrong type. See
addIncludeContent(AuthorIncludeType, int) instead |
AuthorsRequest.Builder |
addIncludeStatistics(AuthorIncludeType type) |
AuthorsRequest.Builder |
addIncludeStatistics(PDPContentType type)
Deprecated.
This method works, but the input param is technically of the
wrong type. See
addIncludeStatistics(AuthorIncludeType) instead |
AuthorsRequest.Builder |
addQuestionSort(QuestionOptions.Sort sort,
SortOrder order) |
AuthorsRequest.Builder |
addReviewSort(ReviewOptions.Sort sort,
SortOrder order) |
protected void |
addSort(com.bazaarvoice.bvandroidsdk.Sort sort) |
AuthorsRequest |
build() |
public AuthorsRequest.Builder addReviewSort(@NonNull ReviewOptions.Sort sort, @NonNull SortOrder order)
public AuthorsRequest.Builder addQuestionSort(@NonNull QuestionOptions.Sort sort, @NonNull SortOrder order)
public AuthorsRequest.Builder addAnswerSort(@NonNull AnswerOptions.Sort sort, @NonNull SortOrder order)
public AuthorsRequest.Builder addIncludeContent(@NonNull PDPContentType type, int limit)
addIncludeContent(AuthorIncludeType, int) insteadtype - Type to includelimit - Limit of type to includepublic AuthorsRequest.Builder addIncludeStatistics(@NonNull PDPContentType type)
addIncludeStatistics(AuthorIncludeType) insteadtype - Type to includepublic AuthorsRequest.Builder addIncludeContent(@NonNull AuthorIncludeType type, int limit)
public AuthorsRequest.Builder addIncludeStatistics(@NonNull AuthorIncludeType type)
public AuthorsRequest build()
protected void addFilter(@NonNull
com.bazaarvoice.bvandroidsdk.Filter filter)
protected void addSort(@NonNull
com.bazaarvoice.bvandroidsdk.Sort sort)
public BuilderType addAdditionalField(@NonNull
java.lang.String key,
@Nullable
java.lang.String value)
BaseReviewBuilder.addAdditionalField(String, String),
use addCustomDisplayParameter(String, String) instead.
key - Custom non-encoded url query param keyvalue - Custom non-encoded url query param valuepublic BuilderType addCustomDisplayParameter(@NonNull
java.lang.String key,
@Nullable
java.lang.String value)
key - Custom non-encoded url query param keyvalue - Custom non-encoded url query param value