io.sphere.sdk.customergroups.CustomerGroupImpl Maven / Gradle / Ivy
The newest version!
package io.sphere.sdk.customergroups;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import io.sphere.sdk.types.CustomFields;
import java.lang.Long;
import java.lang.String;
import java.time.ZonedDateTime;
import javax.annotation.Generated;
import javax.annotation.Nullable;
@Generated(
value = "io.sphere.sdk.annotations.processors.generators.ResourceValueImplGenerator",
comments = "Generated from: io.sphere.sdk.customergroups.CustomerGroup"
)
final class CustomerGroupImpl extends Base implements CustomerGroup {
private ZonedDateTime createdAt;
@Nullable
private CustomFields custom;
private String id;
@Nullable
private String key;
private ZonedDateTime lastModifiedAt;
private String name;
private Long version;
@JsonCreator
CustomerGroupImpl(final ZonedDateTime createdAt, @Nullable final CustomFields custom,
final String id, @Nullable final String key, final ZonedDateTime lastModifiedAt,
final String name, final Long version) {
this.createdAt = createdAt;
this.custom = custom;
this.id = id;
this.key = key;
this.lastModifiedAt = lastModifiedAt;
this.name = name;
this.version = version;
}
public ZonedDateTime getCreatedAt() {
return createdAt;
}
@Nullable
public CustomFields getCustom() {
return custom;
}
public String getId() {
return id;
}
@Nullable
public String getKey() {
return key;
}
public ZonedDateTime getLastModifiedAt() {
return lastModifiedAt;
}
public String getName() {
return name;
}
public Long getVersion() {
return version;
}
}