io.sphere.sdk.reviews.ReviewImpl Maven / Gradle / Ivy
/*
This class has been generated by class io.sphere.sdk.annotations.processors.ResourceValueAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.ResourceValue.
in the source class io.sphere.sdk.reviews.Review.
*/
package io.sphere.sdk.reviews;
import javax.annotation.Nullable;
import io.sphere.sdk.models.*;
import java.util.*;
import io.sphere.sdk.utils.*;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.annotation.JsonCreator;
final class ReviewImpl extends io.sphere.sdk.models.Base implements Review {
@Nullable()
private final java.lang.String authorName;
@Nullable()
private final io.sphere.sdk.types.CustomFields custom;
@Nullable()
private final io.sphere.sdk.models.Reference customer;
@Nullable()
private final java.lang.String key;
@Nullable()
private final java.util.Locale locale;
@Nullable()
private final java.lang.Integer rating;
@Nullable()
private final io.sphere.sdk.models.Reference state;
@Nullable()
private final io.sphere.sdk.models.Reference> target;
@Nullable()
private final java.lang.String text;
@Nullable()
private final java.lang.String title;
@Nullable()
private final java.lang.String uniquenessValue;
@JsonProperty("includedInStatistics")
private final java.lang.Boolean includedInStatistics;
private final java.lang.String id;
private final java.lang.Long version;
private final java.time.ZonedDateTime createdAt;
private final java.time.ZonedDateTime lastModifiedAt;
@JsonCreator()
ReviewImpl(final java.lang.String authorName, final java.time.ZonedDateTime createdAt, final io.sphere.sdk.types.CustomFields custom, final io.sphere.sdk.models.Reference customer, final java.lang.String id, @com.fasterxml.jackson.annotation.JsonProperty("includedInStatistics") final java.lang.Boolean includedInStatistics, final java.lang.String key, final java.time.ZonedDateTime lastModifiedAt, final java.util.Locale locale, final java.lang.Integer rating, final io.sphere.sdk.models.Reference state, final io.sphere.sdk.models.Reference> target, final java.lang.String text, final java.lang.String title, final java.lang.String uniquenessValue, final java.lang.Long version) {
this.authorName = authorName;
this.createdAt = createdAt;
this.custom = custom;
this.customer = customer;
this.id = id;
this.includedInStatistics = includedInStatistics;
this.key = key;
this.lastModifiedAt = lastModifiedAt;
this.locale = locale;
this.rating = rating;
this.state = state;
this.target = target;
this.text = text;
this.title = title;
this.uniquenessValue = uniquenessValue;
this.version = version;
}
@Nullable()
public java.lang.String getAuthorName() {
return authorName;
}
public java.time.ZonedDateTime getCreatedAt() {
return createdAt;
}
@Nullable()
public io.sphere.sdk.types.CustomFields getCustom() {
return custom;
}
@Nullable()
public io.sphere.sdk.models.Reference getCustomer() {
return customer;
}
public java.lang.String getId() {
return id;
}
@JsonProperty("includedInStatistics")
public java.lang.Boolean isIncludedInStatistics() {
return includedInStatistics;
}
@Nullable()
public java.lang.String getKey() {
return key;
}
public java.time.ZonedDateTime getLastModifiedAt() {
return lastModifiedAt;
}
@Nullable()
public java.util.Locale getLocale() {
return locale;
}
@Nullable()
public java.lang.Integer getRating() {
return rating;
}
@Nullable()
public io.sphere.sdk.models.Reference getState() {
return state;
}
@Nullable()
public io.sphere.sdk.models.Reference> getTarget() {
return target;
}
@Nullable()
public java.lang.String getText() {
return text;
}
@Nullable()
public java.lang.String getTitle() {
return title;
}
@Nullable()
public java.lang.String getUniquenessValue() {
return uniquenessValue;
}
public java.lang.Long getVersion() {
return version;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy