Class SmsGatewayConfigurationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.SmsGatewayConfigurationType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class SmsGatewayConfigurationType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Configuration of a particular SMS gateway. Currently, we only support sending via HTTP GET method.Java class for SmsGatewayConfigurationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SmsGatewayConfigurationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="method" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}HttpMethodType" minOccurs="0"/> <element name="urlExpression" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> <element name="headersExpression" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> <element name="bodyExpression" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> <element name="bodyEncoding" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="username" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="password" type="{http://prism.evolveum.com/xml/ns/public/types-3}ProtectedStringType" minOccurs="0"/> <element name="proxyHost" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="proxyPort" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="proxyUsername" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="proxyPassword" type="{http://prism.evolveum.com/xml/ns/public/types-3}ProtectedStringType" minOccurs="0"/> <element name="redirectToFile" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="logToFile" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
bodyEncoding
protected ExpressionType
bodyExpression
static QName
COMPLEX_TYPE
static ItemName
F_BODY_ENCODING
static ItemName
F_BODY_EXPRESSION
static ItemName
F_HEADERS_EXPRESSION
static ItemName
F_LOG_TO_FILE
static ItemName
F_METHOD
static ItemName
F_NAME
static ItemName
F_PASSWORD
static ItemName
F_PROXY_HOST
static ItemName
F_PROXY_PASSWORD
static ItemName
F_PROXY_PORT
static ItemName
F_PROXY_USERNAME
static ItemName
F_REDIRECT_TO_FILE
static ItemName
F_URL_EXPRESSION
static ItemName
F_USERNAME
protected ExpressionType
headersExpression
protected String
logToFile
protected HttpMethodType
method
protected String
name
protected ProtectedStringType
password
protected String
proxyHost
protected ProtectedStringType
proxyPassword
protected String
proxyPort
protected String
proxyUsername
protected String
redirectToFile
protected ExpressionType
urlExpression
protected String
username
-
Constructor Summary
Constructors Constructor Description SmsGatewayConfigurationType()
Creates a newSmsGatewayConfigurationType
instance.SmsGatewayConfigurationType(SmsGatewayConfigurationType o)
Creates a newSmsGatewayConfigurationType
instance by deeply copying a givenSmsGatewayConfigurationType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ExpressionType
beginBodyExpression()
ExpressionType
beginHeadersExpression()
ProtectedStringType
beginPassword()
ProtectedStringType
beginProxyPassword()
ExpressionType
beginUrlExpression()
SmsGatewayConfigurationType
bodyEncoding(String value)
SmsGatewayConfigurationType
bodyExpression(ExpressionType value)
SmsGatewayConfigurationType
clone()
Creates and returns a deep copy of this object.boolean
equals(Object object)
boolean
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
String
getBodyEncoding()
Gets the value of the bodyEncoding property.ExpressionType
getBodyExpression()
Gets the value of the bodyExpression property.ExpressionType
getHeadersExpression()
Gets the value of the headersExpression property.String
getLogToFile()
Gets the value of the logToFile property.HttpMethodType
getMethod()
Gets the value of the method property.String
getName()
Gets the value of the name property.ProtectedStringType
getPassword()
Gets the value of the password property.String
getProxyHost()
Gets the value of the proxyHost property.ProtectedStringType
getProxyPassword()
Gets the value of the proxyPassword property.String
getProxyPort()
Gets the value of the proxyPort property.String
getProxyUsername()
Gets the value of the proxyUsername property.String
getRedirectToFile()
Gets the value of the redirectToFile property.ExpressionType
getUrlExpression()
Gets the value of the urlExpression property.String
getUsername()
Gets the value of the username property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
SmsGatewayConfigurationType
headersExpression(ExpressionType value)
SmsGatewayConfigurationType
logToFile(String value)
SmsGatewayConfigurationType
method(HttpMethodType value)
SmsGatewayConfigurationType
name(String value)
SmsGatewayConfigurationType
password(ProtectedStringType value)
SmsGatewayConfigurationType
proxyHost(String value)
SmsGatewayConfigurationType
proxyPassword(ProtectedStringType value)
SmsGatewayConfigurationType
proxyPort(String value)
SmsGatewayConfigurationType
proxyUsername(String value)
SmsGatewayConfigurationType
redirectToFile(String value)
void
setBodyEncoding(String value)
Sets the value of the bodyEncoding property.void
setBodyExpression(ExpressionType value)
Sets the value of the bodyExpression property.void
setHeadersExpression(ExpressionType value)
Sets the value of the headersExpression property.void
setLogToFile(String value)
Sets the value of the logToFile property.void
setMethod(HttpMethodType value)
Sets the value of the method property.void
setName(String value)
Sets the value of the name property.void
setPassword(ProtectedStringType value)
Sets the value of the password property.void
setProxyHost(String value)
Sets the value of the proxyHost property.void
setProxyPassword(ProtectedStringType value)
Sets the value of the proxyPassword property.void
setProxyPort(String value)
Sets the value of the proxyPort property.void
setProxyUsername(String value)
Sets the value of the proxyUsername property.void
setRedirectToFile(String value)
Sets the value of the redirectToFile property.void
setUrlExpression(ExpressionType value)
Sets the value of the urlExpression property.void
setUsername(String value)
Sets the value of the username property.String
toString()
Generates a String representation of the contents of this type.SmsGatewayConfigurationType
urlExpression(ExpressionType value)
SmsGatewayConfigurationType
username(String value)
-
-
-
Field Detail
-
method
protected HttpMethodType method
-
urlExpression
protected ExpressionType urlExpression
-
headersExpression
protected ExpressionType headersExpression
-
bodyExpression
protected ExpressionType bodyExpression
-
bodyEncoding
protected String bodyEncoding
-
username
protected String username
-
password
protected ProtectedStringType password
-
proxyHost
protected String proxyHost
-
proxyPort
protected String proxyPort
-
proxyUsername
protected String proxyUsername
-
proxyPassword
protected ProtectedStringType proxyPassword
-
redirectToFile
protected String redirectToFile
-
logToFile
protected String logToFile
-
name
protected String name
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_METHOD
public static final ItemName F_METHOD
-
F_URL_EXPRESSION
public static final ItemName F_URL_EXPRESSION
-
F_HEADERS_EXPRESSION
public static final ItemName F_HEADERS_EXPRESSION
-
F_BODY_EXPRESSION
public static final ItemName F_BODY_EXPRESSION
-
F_BODY_ENCODING
public static final ItemName F_BODY_ENCODING
-
F_USERNAME
public static final ItemName F_USERNAME
-
F_PASSWORD
public static final ItemName F_PASSWORD
-
F_PROXY_HOST
public static final ItemName F_PROXY_HOST
-
F_PROXY_PORT
public static final ItemName F_PROXY_PORT
-
F_PROXY_USERNAME
public static final ItemName F_PROXY_USERNAME
-
F_PROXY_PASSWORD
public static final ItemName F_PROXY_PASSWORD
-
F_REDIRECT_TO_FILE
public static final ItemName F_REDIRECT_TO_FILE
-
F_LOG_TO_FILE
public static final ItemName F_LOG_TO_FILE
-
F_NAME
public static final ItemName F_NAME
-
-
Constructor Detail
-
SmsGatewayConfigurationType
public SmsGatewayConfigurationType()
Creates a newSmsGatewayConfigurationType
instance.
-
SmsGatewayConfigurationType
public SmsGatewayConfigurationType(SmsGatewayConfigurationType o)
Creates a newSmsGatewayConfigurationType
instance by deeply copying a givenSmsGatewayConfigurationType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getMethod
public HttpMethodType getMethod()
Gets the value of the method property.- Returns:
- possible object is
HttpMethodType
-
setMethod
public void setMethod(HttpMethodType value)
Sets the value of the method property.- Parameters:
value
- allowed object isHttpMethodType
-
getUrlExpression
public ExpressionType getUrlExpression()
Gets the value of the urlExpression property.- Returns:
- possible object is
ExpressionType
-
setUrlExpression
public void setUrlExpression(ExpressionType value)
Sets the value of the urlExpression property.- Parameters:
value
- allowed object isExpressionType
-
getHeadersExpression
public ExpressionType getHeadersExpression()
Gets the value of the headersExpression property.- Returns:
- possible object is
ExpressionType
-
setHeadersExpression
public void setHeadersExpression(ExpressionType value)
Sets the value of the headersExpression property.- Parameters:
value
- allowed object isExpressionType
-
getBodyExpression
public ExpressionType getBodyExpression()
Gets the value of the bodyExpression property.- Returns:
- possible object is
ExpressionType
-
setBodyExpression
public void setBodyExpression(ExpressionType value)
Sets the value of the bodyExpression property.- Parameters:
value
- allowed object isExpressionType
-
getBodyEncoding
public String getBodyEncoding()
Gets the value of the bodyEncoding property.- Returns:
- possible object is
String
-
setBodyEncoding
public void setBodyEncoding(String value)
Sets the value of the bodyEncoding property.- Parameters:
value
- allowed object isString
-
getUsername
public String getUsername()
Gets the value of the username property.- Returns:
- possible object is
String
-
setUsername
public void setUsername(String value)
Sets the value of the username property.- Parameters:
value
- allowed object isString
-
getPassword
public ProtectedStringType getPassword()
Gets the value of the password property.- Returns:
- possible object is
ProtectedStringType
-
setPassword
public void setPassword(ProtectedStringType value)
Sets the value of the password property.- Parameters:
value
- allowed object isProtectedStringType
-
getProxyHost
public String getProxyHost()
Gets the value of the proxyHost property.- Returns:
- possible object is
String
-
setProxyHost
public void setProxyHost(String value)
Sets the value of the proxyHost property.- Parameters:
value
- allowed object isString
-
getProxyPort
public String getProxyPort()
Gets the value of the proxyPort property.- Returns:
- possible object is
String
-
setProxyPort
public void setProxyPort(String value)
Sets the value of the proxyPort property.- Parameters:
value
- allowed object isString
-
getProxyUsername
public String getProxyUsername()
Gets the value of the proxyUsername property.- Returns:
- possible object is
String
-
setProxyUsername
public void setProxyUsername(String value)
Sets the value of the proxyUsername property.- Parameters:
value
- allowed object isString
-
getProxyPassword
public ProtectedStringType getProxyPassword()
Gets the value of the proxyPassword property.- Returns:
- possible object is
ProtectedStringType
-
setProxyPassword
public void setProxyPassword(ProtectedStringType value)
Sets the value of the proxyPassword property.- Parameters:
value
- allowed object isProtectedStringType
-
getRedirectToFile
public String getRedirectToFile()
Gets the value of the redirectToFile property.- Returns:
- possible object is
String
-
setRedirectToFile
public void setRedirectToFile(String value)
Sets the value of the redirectToFile property.- Parameters:
value
- allowed object isString
-
getLogToFile
public String getLogToFile()
Gets the value of the logToFile property.- Returns:
- possible object is
String
-
setLogToFile
public void setLogToFile(String value)
Sets the value of the logToFile property.- Parameters:
value
- allowed object isString
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
method
public SmsGatewayConfigurationType method(HttpMethodType value)
-
urlExpression
public SmsGatewayConfigurationType urlExpression(ExpressionType value)
-
beginUrlExpression
public ExpressionType beginUrlExpression()
-
headersExpression
public SmsGatewayConfigurationType headersExpression(ExpressionType value)
-
beginHeadersExpression
public ExpressionType beginHeadersExpression()
-
bodyExpression
public SmsGatewayConfigurationType bodyExpression(ExpressionType value)
-
beginBodyExpression
public ExpressionType beginBodyExpression()
-
bodyEncoding
public SmsGatewayConfigurationType bodyEncoding(String value)
-
username
public SmsGatewayConfigurationType username(String value)
-
password
public SmsGatewayConfigurationType password(ProtectedStringType value)
-
beginPassword
public ProtectedStringType beginPassword()
-
proxyHost
public SmsGatewayConfigurationType proxyHost(String value)
-
proxyPort
public SmsGatewayConfigurationType proxyPort(String value)
-
proxyUsername
public SmsGatewayConfigurationType proxyUsername(String value)
-
proxyPassword
public SmsGatewayConfigurationType proxyPassword(ProtectedStringType value)
-
beginProxyPassword
public ProtectedStringType beginProxyPassword()
-
redirectToFile
public SmsGatewayConfigurationType redirectToFile(String value)
-
logToFile
public SmsGatewayConfigurationType logToFile(String value)
-
name
public SmsGatewayConfigurationType name(String value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public SmsGatewayConfigurationType clone()
Creates and returns a deep copy of this object.
-
-