@Generated(value="io.sphere.sdk.annotations.processors.generators.ResourceDraftValueGenerator", comments="Generated from: io.sphere.sdk.reviews.ReviewDraft") public final class ReviewDraftDsl extends Base implements ReviewDraft
ReviewDraft
.@Nullable public String getAuthorName()
getAuthorName
in interface ReviewDraft
@Nullable public CustomFieldsDraft getCustom()
getCustom
in interface ReviewDraft
getCustom
in interface CustomDraft
@Nullable public ResourceIdentifier<Customer> getCustomer()
getCustomer
in interface ReviewDraft
@Nullable public String getKey()
getKey
in interface WithKey
getKey
in interface ReviewDraft
@Nullable public Locale getLocale()
getLocale
in interface ReviewDraft
@Nullable public Integer getRating()
getRating
in interface ReviewDraft
@Nullable public ResourceIdentifier<State> getState()
getState
in interface ReviewDraft
@Nullable public ResourceIdentifier<?> getTarget()
ReviewDraft
getTarget
in interface ReviewDraft
@Nullable public String getText()
getText
in interface ReviewDraft
@Nullable public String getTitle()
getTitle
in interface ReviewDraft
@Nullable public String getUniquenessValue()
getUniquenessValue
in interface ReviewDraft
public ReviewDraftBuilder newBuilder()
public ReviewDraftDsl withAuthorName(@Nullable String authorName)
public ReviewDraftDsl withCustom(@Nullable CustomFieldsDraft custom)
public ReviewDraftDsl withCustomer(@Nullable ResourceIdentifier<Customer> customer)
public ReviewDraftDsl withKey(@Nullable String key)
public ReviewDraftDsl withLocale(@Nullable Locale locale)
public ReviewDraftDsl withRating(@Nullable Integer rating)
public ReviewDraftDsl withState(@Nullable ResourceIdentifier<State> state)
public ReviewDraftDsl withTarget(@Nullable ResourceIdentifier<?> target)
public ReviewDraftDsl withText(@Nullable String text)
public ReviewDraftDsl withTitle(@Nullable String title)
public ReviewDraftDsl withUniquenessValue(@Nullable String uniquenessValue)
public static ReviewDraftDsl ofTitle(@Nullable String title)
title
- initial value for the ReviewDraft.getTitle()
propertypublic static ReviewDraftDsl ofText(@Nullable String text)
text
- initial value for the ReviewDraft.getText()
propertypublic static ReviewDraftDsl ofRating(@Nullable Integer rating)
rating
- initial value for the ReviewDraft.getRating()
propertypublic static ReviewDraftDsl of(ReviewDraft template)
template
- the template