public abstract class ETApiObject extends ETObject
ETApiObject
represents an object available via
the Salesforce Marketing Cloud API. All API objects
are guaranteed to have the following properties, which
is enforced via abstract getter and setter methods:
- id
Typically, a specific API object will extend either
ETRestObject
or ETSoapObject
(depending on whether it is a REST or SOAP API,
respectively), adding object-specific property
getters and setters. In a few cases (e.g., ETDataExtension),
API objects are hybrids of both REST and SOAP.Constructor and Description |
---|
ETApiObject() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllModified() |
abstract String |
getId() |
Boolean |
getModified(String property) |
abstract void |
setId(String id) |
Boolean |
setModified(String property,
Boolean value) |
getAllFields, getAllFields, getClient, getField, getField, setClient, toString
public abstract String getId()
public abstract void setId(String id)
id
- The Identifier of the ETApiObject.public Boolean getModified(String property)
property
- The property of the ETApiObject.public Boolean setModified(String property, Boolean value)
property
- The property of the ETApiObject.value
- The Boolean value of the property.Copyright © 2017. All rights reserved.