com.exacttarget.fuelsdk.internal.SaveOption Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fuelsdk Show documentation
Show all versions of fuelsdk Show documentation
Salesforce Marketing Cloud Java SDK
package com.exacttarget.fuelsdk.internal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.cxf.xjc.runtime.JAXBToStringStyle;
/**
* Java class for SaveOption complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SaveOption">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="PropertyName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="SaveAction" type="{http://exacttarget.com/wsdl/partnerAPI}SaveAction"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SaveOption", propOrder = {
"propertyName",
"saveAction"
})
public class SaveOption {
@XmlElement(name = "PropertyName", required = true)
protected String propertyName;
@XmlElement(name = "SaveAction", required = true)
@XmlSchemaType(name = "string")
protected SaveAction saveAction;
/**
* Gets the value of the propertyName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPropertyName() {
return propertyName;
}
/**
* Sets the value of the propertyName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPropertyName(String value) {
this.propertyName = value;
}
/**
* Gets the value of the saveAction property.
*
* @return
* possible object is
* {@link SaveAction }
*
*/
public SaveAction getSaveAction() {
return saveAction;
}
/**
* Sets the value of the saveAction property.
*
* @param value
* allowed object is
* {@link SaveAction }
*
*/
public void setSaveAction(SaveAction value) {
this.saveAction = value;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);
}
}