io.sphere.sdk.channels.ChannelImpl 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.channels.Channel.
*/
package io.sphere.sdk.channels;
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 ChannelImpl extends io.sphere.sdk.models.Base implements Channel {
private final java.lang.String key;
private final java.util.Set roles;
@Nullable()
private final io.sphere.sdk.models.LocalizedString name;
@Nullable()
private final io.sphere.sdk.models.LocalizedString description;
@Nullable()
private final io.sphere.sdk.reviews.ReviewRatingStatistics reviewRatingStatistics;
@Nullable()
private final io.sphere.sdk.types.CustomFields custom;
@Nullable()
private final io.sphere.sdk.models.Address address;
@Nullable()
private final io.sphere.sdk.models.GeoJSON geoLocation;
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()
ChannelImpl(final io.sphere.sdk.models.Address address, final java.time.ZonedDateTime createdAt, final io.sphere.sdk.types.CustomFields custom, final io.sphere.sdk.models.LocalizedString description, final io.sphere.sdk.models.GeoJSON geoLocation, final java.lang.String id, final java.lang.String key, final java.time.ZonedDateTime lastModifiedAt, final io.sphere.sdk.models.LocalizedString name, final io.sphere.sdk.reviews.ReviewRatingStatistics reviewRatingStatistics, final java.util.Set roles, final java.lang.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 io.sphere.sdk.models.Address getAddress() {
return address;
}
public java.time.ZonedDateTime getCreatedAt() {
return createdAt;
}
@Nullable()
public io.sphere.sdk.types.CustomFields getCustom() {
return custom;
}
@Nullable()
public io.sphere.sdk.models.LocalizedString getDescription() {
return description;
}
@Nullable()
public io.sphere.sdk.models.GeoJSON getGeoLocation() {
return geoLocation;
}
public java.lang.String getId() {
return id;
}
public java.lang.String getKey() {
return key;
}
public java.time.ZonedDateTime getLastModifiedAt() {
return lastModifiedAt;
}
@Nullable()
public io.sphere.sdk.models.LocalizedString getName() {
return name;
}
@Nullable()
public io.sphere.sdk.reviews.ReviewRatingStatistics getReviewRatingStatistics() {
return reviewRatingStatistics;
}
public java.util.Set getRoles() {
return roles;
}
public java.lang.Long getVersion() {
return version;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy