io.sphere.sdk.projects.CartScoreDraftDsl Maven / Gradle / Ivy
The newest version!
package io.sphere.sdk.projects;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import javax.annotation.Generated;
/**
* Dsl class for {@link CartScoreDraft}.
*/
@Generated(
value = "io.sphere.sdk.annotations.processors.generators.ResourceDraftValueGenerator",
comments = "Generated from: io.sphere.sdk.projects.CartScoreDraft"
)
public final class CartScoreDraftDsl extends Base implements CartScoreDraft {
@JsonCreator
CartScoreDraftDsl() {
}
/**
* Creates a new builder with the values of this object.
*
* @return new builder
*/
public CartScoreDraftBuilder newBuilder() {
return new CartScoreDraftBuilder();
}
/**
* Creates a new object initialized with the given values.
*
* @return new object initialized with the given values
*/
public static CartScoreDraftDsl of() {
return new CartScoreDraftDsl();
}
/**
* Creates a new object initialized with the fields of the template parameter.
*
* @param template the template
* @return a new object initialized from the template
*/
public static CartScoreDraftDsl of(final CartScoreDraft template) {
return new CartScoreDraftDsl();
}
}