com.mozu.api.contracts.content.Property Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mozu-api-core Show documentation
Show all versions of mozu-api-core Show documentation
Mozu Java is a SDK that enables you to create robust Java applications that integrate with the Mozu platform
/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.contracts.content;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.joda.time.DateTime;
import java.io.IOException;
import java.lang.ClassNotFoundException;
import com.mozu.api.contracts.content.PropertyType;
/**
* Provides details and data for properties for content in the site.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Property implements Serializable
{
// Default Serial Version UID
private static final long serialVersionUID = 1L;
/**
* If true, the attribute can have more than one value.
*/
protected Boolean isMultiValued;
public Boolean getIsMultiValued() {
return this.isMultiValued;
}
public void setIsMultiValued(Boolean isMultiValued) {
this.isMultiValued = isMultiValued;
}
/**
* Indicates if the property, attribute, product option, or product extra is required. If true, the object must have a defined value.
*/
protected Boolean isRequired;
public Boolean getIsRequired() {
return this.isRequired;
}
public void setIsRequired(Boolean isRequired) {
this.isRequired = isRequired;
}
/**
* The user supplied name that appears in . You can use this field for identification purposes.
*/
protected String name;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
/**
* Property type available for content. Property types are like templates that can be reused.
*/
protected PropertyType propertyType;
public PropertyType getPropertyType() {
return this.propertyType;
}
public void setPropertyType(PropertyType propertyType) {
this.propertyType = propertyType;
}
}