package com.microsoft.bingads.v11.customermanagement; import java.util.Calendar; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p>Java class for UserInvitation complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="UserInvitation"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="FirstName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="LastName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="Email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="CustomerId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="Role" type="{https://bingads.microsoft.com/Customer/v11/Entities}UserRole" minOccurs="0"/> * <element name="AccountIds" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOflong" minOccurs="0"/> * <element name="ExpirationDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="Lcid" type="{https://bingads.microsoft.com/Customer/v11/Entities}LCID" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "UserInvitation", namespace = "https://bingads.microsoft.com/Customer/v11/Entities", propOrder = { "id", "firstName", "lastName", "email", "customerId", "role", "accountIds", "expirationDate", "lcid" }) public class UserInvitation { @XmlElement(name = "Id") protected Long id; @XmlElement(name = "FirstName", nillable = true) protected String firstName; @XmlElement(name = "LastName", nillable = true) protected String lastName; @XmlElement(name = "Email", nillable = true) protected String email; @XmlElement(name = "CustomerId") protected Long customerId; @XmlElement(name = "Role") @XmlSchemaType(name = "string") protected UserRole role; @XmlElement(name = "AccountIds", nillable = true) protected ArrayOflong accountIds; @XmlElement(name = "ExpirationDate", type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Calendar expirationDate; @XmlElement(name = "Lcid") @XmlSchemaType(name = "string") protected LCID lcid; /** * Gets the value of the id property. * * @return * possible object is * {@link Long } * */ public Long getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Long } * */ public void setId(Long value) { this.id = value; } /** * Gets the value of the firstName property. * * @return * possible object is * {@link String } * */ public String getFirstName() { return firstName; } /** * Sets the value of the firstName property. * * @param value * allowed object is * {@link String } * */ public void setFirstName(String value) { this.firstName = value; } /** * Gets the value of the lastName property. * * @return * possible object is * {@link String } * */ public String getLastName() { return lastName; } /** * Sets the value of the lastName property. * * @param value * allowed object is * {@link String } * */ public void setLastName(String value) { this.lastName = value; } /** * Gets the value of the email property. * * @return * possible object is * {@link String } * */ public String getEmail() { return email; } /** * Sets the value of the email property. * * @param value * allowed object is * {@link String } * */ public void setEmail(String value) { this.email = value; } /** * Gets the value of the customerId property. * * @return * possible object is * {@link Long } * */ public Long getCustomerId() { return customerId; } /** * Sets the value of the customerId property. * * @param value * allowed object is * {@link Long } * */ public void setCustomerId(Long value) { this.customerId = value; } /** * Gets the value of the role property. * * @return * possible object is * {@link UserRole } * */ public UserRole getRole() { return role; } /** * Sets the value of the role property. * * @param value * allowed object is * {@link UserRole } * */ public void setRole(UserRole value) { this.role = value; } /** * Gets the value of the accountIds property. * * @return * possible object is * {@link ArrayOflong } * */ public ArrayOflong getAccountIds() { return accountIds; } /** * Sets the value of the accountIds property. * * @param value * allowed object is * {@link ArrayOflong } * */ public void setAccountIds(ArrayOflong value) { this.accountIds = value; } /** * Gets the value of the expirationDate property. * * @return * possible object is * {@link String } * */ public Calendar getExpirationDate() { return expirationDate; } /** * Sets the value of the expirationDate property. * * @param value * allowed object is * {@link String } * */ public void setExpirationDate(Calendar value) { this.expirationDate = value; } /** * Gets the value of the lcid property. * * @return * possible object is * {@link LCID } * */ public LCID getLcid() { return lcid; } /** * Sets the value of the lcid property. * * @param value * allowed object is * {@link LCID } * */ public void setLcid(LCID value) { this.lcid = value; } }