Package com.intercom.api.types
Class ConversationRating.Builder
- java.lang.Object
-
- com.intercom.api.types.ConversationRating.Builder
-
- Enclosing class:
- ConversationRating
public static final class ConversationRating.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversationRatingbuild()ConversationRating.Buildercontact(ContactReference contact)ConversationRating.Buildercontact(java.util.Optional<ContactReference> contact)ConversationRating.BuildercreatedAt(java.lang.Integer createdAt)ConversationRating.BuildercreatedAt(java.util.Optional<java.lang.Integer> createdAt)The time the rating was requested in the conversation being rated.ConversationRating.Builderfrom(ConversationRating other)ConversationRating.Builderrating(java.lang.Integer rating)ConversationRating.Builderrating(java.util.Optional<java.lang.Integer> rating)The rating, between 1 and 5, for the conversation.ConversationRating.Builderremark(java.lang.String remark)ConversationRating.Builderremark(java.util.Optional<java.lang.String> remark)An optional field to add a remark to correspond to the number ratingConversationRating.Builderteammate(Reference teammate)ConversationRating.Builderteammate(java.util.Optional<Reference> teammate)ConversationRating.BuilderupdatedAt(java.lang.Integer updatedAt)ConversationRating.BuilderupdatedAt(java.util.Optional<java.lang.Integer> updatedAt)The time the rating was last updated.
-
-
-
Method Detail
-
from
public ConversationRating.Builder from(ConversationRating other)
-
rating
public ConversationRating.Builder rating(java.util.Optional<java.lang.Integer> rating)
The rating, between 1 and 5, for the conversation.
-
rating
public ConversationRating.Builder rating(java.lang.Integer rating)
-
remark
public ConversationRating.Builder remark(java.util.Optional<java.lang.String> remark)
An optional field to add a remark to correspond to the number rating
-
remark
public ConversationRating.Builder remark(java.lang.String remark)
-
createdAt
public ConversationRating.Builder createdAt(java.util.Optional<java.lang.Integer> createdAt)
The time the rating was requested in the conversation being rated.
-
createdAt
public ConversationRating.Builder createdAt(java.lang.Integer createdAt)
-
updatedAt
public ConversationRating.Builder updatedAt(java.util.Optional<java.lang.Integer> updatedAt)
The time the rating was last updated.
-
updatedAt
public ConversationRating.Builder updatedAt(java.lang.Integer updatedAt)
-
contact
public ConversationRating.Builder contact(java.util.Optional<ContactReference> contact)
-
contact
public ConversationRating.Builder contact(ContactReference contact)
-
teammate
public ConversationRating.Builder teammate(java.util.Optional<Reference> teammate)
-
teammate
public ConversationRating.Builder teammate(Reference teammate)
-
build
public ConversationRating build()
-
-