All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alogient.cameleon.sdk.community.interspire.response.ItemResponse Maven / Gradle / Ivy

The newest version!
package com.alogient.cameleon.sdk.community.interspire.response;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * An item is included into the response class when we tried to
 * retrieve the list of custom fields.
 *
 * @author jmirc
 */
@XmlRootElement(name = "item")
public class ItemResponse {

    /**
     * The custom fields ID number
     */
    @XmlElement(name = "fieldid")
    private String fieldId;

    /**
     * The name of the custom field
     */
    @XmlElement(name = "name")
    private String name;

    /**
     * The type of field (text, number, etc.)
     */
    @XmlElement(name = "fieldtype")
    private String fieldType;

    /**
     * If you set a default value it will appear here
     */
    @XmlElement(name = "defaultvalue")
    private String defaultValue;

    /**
     * If this field is required to be filled in (1 or 0)
     */
    @XmlElement(name = "required")
    private Integer required;

    /**
     * Serialized version of the custom fields settings
     */
    @XmlElement(name = "fieldsettings")
    private String fieldSettings;

    public String getDefaultValue() {
        return defaultValue;
    }

    public String getFieldId() {
        return fieldId;
    }

    public String getFieldSettings() {
        return fieldSettings;
    }

    public String getFieldType() {
        return fieldType;
    }

    public String getName() {
        return name;
    }

    public Integer getRequired() {
        return required;
    }
 }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy