Class AttendeeInfo
- java.lang.Object
-
- microsoft.exchange.webservices.data.misc.availability.AttendeeInfo
-
- All Implemented Interfaces:
ISelfValidate
public final class AttendeeInfo extends Object implements ISelfValidate
Represents information about an attendee for which to request availability information.
-
-
Constructor Summary
Constructors Constructor Description AttendeeInfo()Initializes a new instance of the AttendeeInfo class.AttendeeInfo(String smtpAddress)Initializes a new instance of the AttendeeInfo class.AttendeeInfo(String smtpAddress, MeetingAttendeeType attendeeType, boolean excludeConflicts)Initializes a new instance of the AttendeeInfo class.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttendeeInfogetAttendeeInfoFromString(String smtpAddress)Defines an implicit conversion between a string representing an SMTP address and AttendeeInfo.MeetingAttendeeTypegetAttendeeType()Gets the type of this attendee.StringgetSmtpAddress()Gets the SMTP address of this attendee.booleanisExcludeConflicts()Gets a value indicating whether times when this attendee is not available should be returned.voidsetAttendeeType(MeetingAttendeeType attendeeType)Sets the attendee type.voidsetExcludeConflicts(boolean excludeConflicts)Sets the exclude conflicts.voidsetSmtpAddress(String smtpAddress)Sets the smtp address.voidvalidate()Validates this instance.voidwriteToXml(EwsServiceXmlWriter writer)Writes to XML.
-
-
-
Constructor Detail
-
AttendeeInfo
public AttendeeInfo()
Initializes a new instance of the AttendeeInfo class.
-
AttendeeInfo
public AttendeeInfo(String smtpAddress, MeetingAttendeeType attendeeType, boolean excludeConflicts)
Initializes a new instance of the AttendeeInfo class.- Parameters:
smtpAddress- the smtp addressattendeeType- the attendee typeexcludeConflicts- the exclude conflicts
-
AttendeeInfo
public AttendeeInfo(String smtpAddress)
Initializes a new instance of the AttendeeInfo class.- Parameters:
smtpAddress- the smtp address
-
-
Method Detail
-
getAttendeeInfoFromString
public static AttendeeInfo getAttendeeInfoFromString(String smtpAddress)
Defines an implicit conversion between a string representing an SMTP address and AttendeeInfo.- Parameters:
smtpAddress- the smtp address- Returns:
- An AttendeeInfo initialized with the specified SMTP address.
-
writeToXml
public void writeToXml(EwsServiceXmlWriter writer) throws Exception
Writes to XML.- Parameters:
writer- the writer- Throws:
Exception- the exception
-
getSmtpAddress
public String getSmtpAddress()
Gets the SMTP address of this attendee.- Returns:
- the smtp address
-
setSmtpAddress
public void setSmtpAddress(String smtpAddress)
Sets the smtp address.- Parameters:
smtpAddress- the new smtp address
-
getAttendeeType
public MeetingAttendeeType getAttendeeType()
Gets the type of this attendee.- Returns:
- the attendee type
-
setAttendeeType
public void setAttendeeType(MeetingAttendeeType attendeeType)
Sets the attendee type.- Parameters:
attendeeType- the new attendee type
-
isExcludeConflicts
public boolean isExcludeConflicts()
Gets a value indicating whether times when this attendee is not available should be returned.- Returns:
- true, if is exclude conflicts
-
setExcludeConflicts
public void setExcludeConflicts(boolean excludeConflicts)
Sets the exclude conflicts.- Parameters:
excludeConflicts- the new exclude conflicts
-
validate
public void validate() throws Exception
Validates this instance.- Specified by:
validatein interfaceISelfValidate- Throws:
Exception- the exception
-
-