public class TransactionSecurityAction extends Object
Java class for TransactionSecurityAction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TransactionSecurityAction">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="block" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="endSession" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="notifications" type="{urn:metadata.tooling.soap.sforce.com}TransactionSecurityNotification" maxOccurs="unbounded" minOccurs="0"/>
<element name="twoFactorAuthentication" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
block |
protected boolean |
endSession |
protected List<TransactionSecurityNotification> |
notifications |
protected boolean |
twoFactorAuthentication |
| Constructor and Description |
|---|
TransactionSecurityAction() |
| Modifier and Type | Method and Description |
|---|---|
List<TransactionSecurityNotification> |
getNotifications()
Gets the value of the notifications property.
|
boolean |
isBlock()
Gets the value of the block property.
|
boolean |
isEndSession()
Gets the value of the endSession property.
|
boolean |
isTwoFactorAuthentication()
Gets the value of the twoFactorAuthentication property.
|
void |
setBlock(boolean value)
Sets the value of the block property.
|
void |
setEndSession(boolean value)
Sets the value of the endSession property.
|
void |
setTwoFactorAuthentication(boolean value)
Sets the value of the twoFactorAuthentication property.
|
protected boolean block
protected boolean endSession
protected List<TransactionSecurityNotification> notifications
protected boolean twoFactorAuthentication
public boolean isBlock()
public void setBlock(boolean value)
public boolean isEndSession()
public void setEndSession(boolean value)
public List<TransactionSecurityNotification> getNotifications()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the notifications property.
For example, to add a new item, do as follows:
getNotifications().add(newItem);
Objects of the following type(s) are allowed in the list
TransactionSecurityNotification
public boolean isTwoFactorAuthentication()
public void setTwoFactorAuthentication(boolean value)
Copyright © 2016. All rights reserved.