public final class SiteContact
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Campaign Manager 360 API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SiteContact() |
Modifier and Type | Method and Description |
---|---|
SiteContact |
clone() |
String |
getAddress()
Address of this site contact.
|
String |
getContactType()
Site contact type.
|
String |
getEmail()
Email address of this site contact.
|
String |
getFirstName()
First name of this site contact.
|
Long |
getId()
ID of this site contact.
|
String |
getLastName()
Last name of this site contact.
|
String |
getPhone()
Primary phone number of this site contact.
|
String |
getTitle()
Title or designation of this site contact.
|
SiteContact |
set(String fieldName,
Object value) |
SiteContact |
setAddress(String address)
Address of this site contact.
|
SiteContact |
setContactType(String contactType)
Site contact type.
|
SiteContact |
setEmail(String email)
Email address of this site contact.
|
SiteContact |
setFirstName(String firstName)
First name of this site contact.
|
SiteContact |
setId(Long id)
ID of this site contact.
|
SiteContact |
setLastName(String lastName)
Last name of this site contact.
|
SiteContact |
setPhone(String phone)
Primary phone number of this site contact.
|
SiteContact |
setTitle(String title)
Title or designation of this site contact.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAddress()
null
for nonepublic SiteContact setAddress(String address)
address
- address or null
for nonepublic String getContactType()
null
for nonepublic SiteContact setContactType(String contactType)
contactType
- contactType or null
for nonepublic String getEmail()
null
for nonepublic SiteContact setEmail(String email)
email
- email or null
for nonepublic String getFirstName()
null
for nonepublic SiteContact setFirstName(String firstName)
firstName
- firstName or null
for nonepublic Long getId()
null
for nonepublic SiteContact setId(Long id)
id
- id or null
for nonepublic String getLastName()
null
for nonepublic SiteContact setLastName(String lastName)
lastName
- lastName or null
for nonepublic String getPhone()
null
for nonepublic SiteContact setPhone(String phone)
phone
- phone or null
for nonepublic String getTitle()
null
for nonepublic SiteContact setTitle(String title)
title
- title or null
for nonepublic SiteContact set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public SiteContact clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.