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

com.exacttarget.fuelsdk.internal.SaveAction Maven / Gradle / Ivy

There is a newer version: 1.6.0
Show newest version

package com.exacttarget.fuelsdk.internal;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for SaveAction. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="SaveAction">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="AddOnly"/>
 *     <enumeration value="Default"/>
 *     <enumeration value="Nothing"/>
 *     <enumeration value="UpdateAdd"/>
 *     <enumeration value="UpdateOnly"/>
 *     <enumeration value="Delete"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "SaveAction") @XmlEnum public enum SaveAction { @XmlEnumValue("AddOnly") ADD_ONLY("AddOnly"), @XmlEnumValue("Default") DEFAULT("Default"), @XmlEnumValue("Nothing") NOTHING("Nothing"), @XmlEnumValue("UpdateAdd") UPDATE_ADD("UpdateAdd"), @XmlEnumValue("UpdateOnly") UPDATE_ONLY("UpdateOnly"), @XmlEnumValue("Delete") DELETE("Delete"); private final String value; SaveAction(String v) { value = v; } public String value() { return value; } public static SaveAction fromValue(String v) { for (SaveAction c: SaveAction.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy