io.sphere.sdk.channels.ChannelImpl Maven / Gradle / Ivy
package io.sphere.sdk.channels;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Address;
import io.sphere.sdk.models.Base;
import io.sphere.sdk.models.GeoJSON;
import io.sphere.sdk.models.LocalizedString;
import io.sphere.sdk.reviews.ReviewRatingStatistics;
import io.sphere.sdk.types.CustomFields;
import java.lang.Long;
import java.lang.String;
import java.time.ZonedDateTime;
import java.util.Set;
import javax.annotation.Generated;
import javax.annotation.Nullable;
@Generated(
value = "io.sphere.sdk.annotations.processors.generators.ResourceValueImplGenerator",
comments = "Generated from: io.sphere.sdk.channels.Channel"
)
final class ChannelImpl extends Base implements Channel {
@Nullable
private Address address;
private ZonedDateTime createdAt;
@Nullable
private CustomFields custom;
@Nullable
private LocalizedString description;
@Nullable
private GeoJSON geoLocation;
private String id;
private String key;
private ZonedDateTime lastModifiedAt;
@Nullable
private LocalizedString name;
@Nullable
private ReviewRatingStatistics reviewRatingStatistics;
private Set roles;
private Long version;
@JsonCreator
ChannelImpl(@Nullable final Address address, final ZonedDateTime createdAt,
@Nullable final CustomFields custom, @Nullable final LocalizedString description,
@Nullable final GeoJSON geoLocation, final String id, final String key,
final ZonedDateTime lastModifiedAt, @Nullable final LocalizedString name,
@Nullable final ReviewRatingStatistics reviewRatingStatistics, final Set roles,
final Long version) {
this.address = address;
this.createdAt = createdAt;
this.custom = custom;
this.description = description;
this.geoLocation = geoLocation;
this.id = id;
this.key = key;
this.lastModifiedAt = lastModifiedAt;
this.name = name;
this.reviewRatingStatistics = reviewRatingStatistics;
this.roles = roles;
this.version = version;
}
@Nullable
public Address getAddress() {
return address;
}
public ZonedDateTime getCreatedAt() {
return createdAt;
}
@Nullable
public CustomFields getCustom() {
return custom;
}
@Nullable
public LocalizedString getDescription() {
return description;
}
@Nullable
public GeoJSON getGeoLocation() {
return geoLocation;
}
public String getId() {
return id;
}
public String getKey() {
return key;
}
public ZonedDateTime getLastModifiedAt() {
return lastModifiedAt;
}
@Nullable
public LocalizedString getName() {
return name;
}
@Nullable
public ReviewRatingStatistics getReviewRatingStatistics() {
return reviewRatingStatistics;
}
public Set getRoles() {
return roles;
}
public Long getVersion() {
return version;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy