org.jclouds.vcloud.director.v1_5.domain.org
Class OrgEmailSettings

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.domain.Resource
      extended by org.jclouds.vcloud.director.v1_5.domain.org.OrgEmailSettings

public class OrgEmailSettings
extends Resource

Defines the email settings for an organization.

 <complexType name="OrgEmailSettings">
   <complexContent>
     <extension base="{http://www.vmware.com/vcloud/v1.5}ResourceType">
       <sequence>
         <element name="IsDefaultSmtpServer" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="IsDefaultOrgEmail" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="FromEmailAddress" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="DefaultSubjectPrefix" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="IsAlertEmailToAllAdmins" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="AlertEmailTo" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="SmtpServerSettings" type="{http://www.vmware.com/vcloud/v1.5}SmtpServerSettingsType" minOccurs="0"/>
       </sequence>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class OrgEmailSettings.Builder<B extends OrgEmailSettings.Builder<B>>
           
 
Field Summary
 
Fields inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource
logger
 
Method Summary
static OrgEmailSettings.Builder<?> builder()
           
 boolean equals(Object o)
           
 List<String> getAlertEmailTo()
          Gets the value of the alertEmailTo property.
 String getDefaultSubjectPrefix()
          Gets the value of the defaultSubjectPrefix property.
 String getFromEmailAddress()
          Gets the value of the fromEmailAddress property.
 SmtpServerSettings getSmtpServerSettings()
          Gets the value of the smtpServerSettings property.
 int hashCode()
           
 boolean isAlertEmailToAllAdmins()
          Gets the value of the isAlertEmailToAllAdmins property.
 boolean isDefaultOrgEmail()
          Gets the value of the isDefaultOrgEmail property.
 boolean isDefaultSmtpServer()
          Gets the value of the isDefaultSmtpServer property.
 com.google.common.base.Objects.ToStringHelper string()
           
 OrgEmailSettings.Builder<?> toBuilder()
           
 
Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource
clone, getHref, getLinks, getType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

builder

public static OrgEmailSettings.Builder<?> builder()

toBuilder

public OrgEmailSettings.Builder<?> toBuilder()
Overrides:
toBuilder in class Resource

isDefaultSmtpServer

public boolean isDefaultSmtpServer()
Gets the value of the isDefaultSmtpServer property.


isDefaultOrgEmail

public boolean isDefaultOrgEmail()
Gets the value of the isDefaultOrgEmail property.


getFromEmailAddress

public String getFromEmailAddress()
Gets the value of the fromEmailAddress property.

Returns:
possible object is String

getDefaultSubjectPrefix

public String getDefaultSubjectPrefix()
Gets the value of the defaultSubjectPrefix property.

Returns:
possible object is String

isAlertEmailToAllAdmins

public boolean isAlertEmailToAllAdmins()
Gets the value of the isAlertEmailToAllAdmins property.


getAlertEmailTo

public List<String> getAlertEmailTo()
Gets the value of the alertEmailTo property.

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 alertEmailTo property.

For example, to add a new item, do as follows:

    getAlertEmailTo().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getSmtpServerSettings

public SmtpServerSettings getSmtpServerSettings()
Gets the value of the smtpServerSettings property.

Returns:
possible object is SmtpServerSettings

equals

public boolean equals(Object o)
Overrides:
equals in class Resource

hashCode

public int hashCode()
Overrides:
hashCode in class Resource

string

public com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class Resource


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.