com.google.api.ads.admanager.jaxws.v202408.Company Maven / Gradle / Ivy
Show all versions of dfp-appengine Show documentation
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.api.ads.admanager.jaxws.v202408;
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/v202408}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/v202408}Company.CreditStatus" minOccurs="0"/>
* <element name="appliedLabels" type="{https://www.google.com/apis/ads/publisher/v202408}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/v202408}DateTime" minOccurs="0"/>
* <element name="childPublisher" type="{https://www.google.com/apis/ads/publisher/v202408}ChildPublisher" minOccurs="0"/>
* <element name="viewabilityProvider" type="{https://www.google.com/apis/ads/publisher/v202408}ViewabilityProvider" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Company", propOrder = {
"id",
"name",
"type",
"address",
"email",
"faxPhone",
"primaryPhone",
"externalId",
"comment",
"creditStatus",
"appliedLabels",
"primaryContactId",
"appliedTeamIds",
"thirdPartyCompanyId",
"lastModifiedDateTime",
"childPublisher",
"viewabilityProvider"
})
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 List appliedLabels;
protected Long primaryContactId;
@XmlElement(type = Long.class)
protected List appliedTeamIds;
protected Integer thirdPartyCompanyId;
protected DateTime lastModifiedDateTime;
protected ChildPublisher childPublisher;
protected ViewabilityProvider viewabilityProvider;
/**
* 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 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;
}
/**
* Gets the value of the childPublisher property.
*
* @return
* possible object is
* {@link ChildPublisher }
*
*/
public ChildPublisher getChildPublisher() {
return childPublisher;
}
/**
* Sets the value of the childPublisher property.
*
* @param value
* allowed object is
* {@link ChildPublisher }
*
*/
public void setChildPublisher(ChildPublisher value) {
this.childPublisher = value;
}
/**
* Gets the value of the viewabilityProvider property.
*
* @return
* possible object is
* {@link ViewabilityProvider }
*
*/
public ViewabilityProvider getViewabilityProvider() {
return viewabilityProvider;
}
/**
* Sets the value of the viewabilityProvider property.
*
* @param value
* allowed object is
* {@link ViewabilityProvider }
*
*/
public void setViewabilityProvider(ViewabilityProvider value) {
this.viewabilityProvider = value;
}
}