All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.ads.dfp.jaxws.v201602.Company Maven / Gradle / Ivy

There is a newer version: 5.8.0
Show newest version

package com.google.api.ads.dfp.jaxws.v201602;

import java.util.ArrayList;
import java.util.List;
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;


/**
 * 
 *             A {@code Company} represents an agency, a single advertiser or an entire
 *             advertising network.
 *           
 * 
 * 

Java class for Company complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Company">
 *   <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="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="type" type="{https://www.google.com/apis/ads/publisher/v201602}Company.Type" minOccurs="0"/>
 *         <element name="address" 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="faxPhone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="primaryPhone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="externalId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="creditStatus" type="{https://www.google.com/apis/ads/publisher/v201602}Company.CreditStatus" minOccurs="0"/>
 *         <element name="settings" type="{https://www.google.com/apis/ads/publisher/v201602}CompanySettings" minOccurs="0"/>
 *         <element name="appliedLabels" type="{https://www.google.com/apis/ads/publisher/v201602}AppliedLabel" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="primaryContactId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         <element name="appliedTeamIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="thirdPartyCompanyId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="lastModifiedDateTime" type="{https://www.google.com/apis/ads/publisher/v201602}DateTime" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Company", propOrder = { "id", "name", "type", "address", "email", "faxPhone", "primaryPhone", "externalId", "comment", "creditStatus", "settings", "appliedLabels", "primaryContactId", "appliedTeamIds", "thirdPartyCompanyId", "lastModifiedDateTime" }) public class Company { protected Long id; protected String name; @XmlSchemaType(name = "string") protected CompanyType type; protected String address; protected String email; protected String faxPhone; protected String primaryPhone; protected String externalId; protected String comment; @XmlSchemaType(name = "string") protected CompanyCreditStatus creditStatus; protected CompanySettings settings; protected List appliedLabels; protected Long primaryContactId; @XmlElement(type = Long.class) protected List appliedTeamIds; protected Integer thirdPartyCompanyId; protected DateTime lastModifiedDateTime; /** * 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 name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link CompanyType } * */ public CompanyType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link CompanyType } * */ public void setType(CompanyType value) { this.type = value; } /** * Gets the value of the address property. * * @return * possible object is * {@link String } * */ public String getAddress() { return address; } /** * Sets the value of the address property. * * @param value * allowed object is * {@link String } * */ public void setAddress(String value) { this.address = 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 faxPhone property. * * @return * possible object is * {@link String } * */ public String getFaxPhone() { return faxPhone; } /** * Sets the value of the faxPhone property. * * @param value * allowed object is * {@link String } * */ public void setFaxPhone(String value) { this.faxPhone = value; } /** * Gets the value of the primaryPhone property. * * @return * possible object is * {@link String } * */ public String getPrimaryPhone() { return primaryPhone; } /** * Sets the value of the primaryPhone property. * * @param value * allowed object is * {@link String } * */ public void setPrimaryPhone(String value) { this.primaryPhone = value; } /** * Gets the value of the externalId property. * * @return * possible object is * {@link String } * */ public String getExternalId() { return externalId; } /** * Sets the value of the externalId property. * * @param value * allowed object is * {@link String } * */ public void setExternalId(String value) { this.externalId = value; } /** * Gets the value of the comment property. * * @return * possible object is * {@link String } * */ public String getComment() { return comment; } /** * Sets the value of the comment property. * * @param value * allowed object is * {@link String } * */ public void setComment(String value) { this.comment = value; } /** * Gets the value of the creditStatus property. * * @return * possible object is * {@link CompanyCreditStatus } * */ public CompanyCreditStatus getCreditStatus() { return creditStatus; } /** * Sets the value of the creditStatus property. * * @param value * allowed object is * {@link CompanyCreditStatus } * */ public void setCreditStatus(CompanyCreditStatus value) { this.creditStatus = value; } /** * Gets the value of the settings property. * * @return * possible object is * {@link CompanySettings } * */ public CompanySettings getSettings() { return settings; } /** * Sets the value of the settings property. * * @param value * allowed object is * {@link CompanySettings } * */ public void setSettings(CompanySettings value) { this.settings = value; } /** * Gets the value of the appliedLabels 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 appliedLabels property. * *

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

     *    getAppliedLabels().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AppliedLabel } * * */ public List getAppliedLabels() { if (appliedLabels == null) { appliedLabels = new ArrayList(); } return this.appliedLabels; } /** * Gets the value of the primaryContactId property. * * @return * possible object is * {@link Long } * */ public Long getPrimaryContactId() { return primaryContactId; } /** * Sets the value of the primaryContactId property. * * @param value * allowed object is * {@link Long } * */ public void setPrimaryContactId(Long value) { this.primaryContactId = value; } /** * Gets the value of the appliedTeamIds 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 appliedTeamIds property. * *

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

     *    getAppliedTeamIds().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Long } * * */ public List getAppliedTeamIds() { if (appliedTeamIds == null) { appliedTeamIds = new ArrayList(); } return this.appliedTeamIds; } /** * Gets the value of the thirdPartyCompanyId property. * * @return * possible object is * {@link Integer } * */ public Integer getThirdPartyCompanyId() { return thirdPartyCompanyId; } /** * Sets the value of the thirdPartyCompanyId property. * * @param value * allowed object is * {@link Integer } * */ public void setThirdPartyCompanyId(Integer value) { this.thirdPartyCompanyId = value; } /** * Gets the value of the lastModifiedDateTime property. * * @return * possible object is * {@link DateTime } * */ public DateTime getLastModifiedDateTime() { return lastModifiedDateTime; } /** * Sets the value of the lastModifiedDateTime property. * * @param value * allowed object is * {@link DateTime } * */ public void setLastModifiedDateTime(DateTime value) { this.lastModifiedDateTime = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy