com.google.api.ads.admanager.jaxws.v202402.Contact Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dfp-appengine Show documentation
Show all versions of dfp-appengine Show documentation
Ad Manager specific AppEngine components.
The newest version!
// 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.v202402;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
*
* A {@code Contact} represents a person who is affiliated with a single {@link Company}. A contact
* can have a variety of contact information associated to it, and can be invited to view their
* company's orders, line items, creatives, and reports.
*
*
* Java class for Contact complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Contact">
* <complexContent>
* <extension base="{https://www.google.com/apis/ads/publisher/v202402}BaseContact">
* <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="companyId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="status" type="{https://www.google.com/apis/ads/publisher/v202402}Contact.Status" minOccurs="0"/>
* <element name="address" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="cellPhone" 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="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="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="workPhone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Contact", propOrder = {
"id",
"name",
"companyId",
"status",
"address",
"cellPhone",
"comment",
"email",
"faxPhone",
"title",
"workPhone"
})
public class Contact
extends BaseContact
{
protected Long id;
protected String name;
protected Long companyId;
@XmlSchemaType(name = "string")
protected ContactStatus status;
protected String address;
protected String cellPhone;
protected String comment;
protected String email;
protected String faxPhone;
protected String title;
protected String workPhone;
/**
* 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 companyId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getCompanyId() {
return companyId;
}
/**
* Sets the value of the companyId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setCompanyId(Long value) {
this.companyId = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link ContactStatus }
*
*/
public ContactStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link ContactStatus }
*
*/
public void setStatus(ContactStatus value) {
this.status = 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 cellPhone property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCellPhone() {
return cellPhone;
}
/**
* Sets the value of the cellPhone property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCellPhone(String value) {
this.cellPhone = 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 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 title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the workPhone property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getWorkPhone() {
return workPhone;
}
/**
* Sets the value of the workPhone property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWorkPhone(String value) {
this.workPhone = value;
}
}