target.apidocs.com.google.api.services.content.model.GmbAccountsGmbAccount.html Maven / Gradle / Ivy
GmbAccountsGmbAccount (Content API for Shopping v2-rev20200902-1.30.10)
com.google.api.services.content.model
Class GmbAccountsGmbAccount
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.GmbAccountsGmbAccount
-
public final class GmbAccountsGmbAccount
extends GenericJson
Model definition for GmbAccountsGmbAccount.
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 Content API for Shopping. For a detailed explanation
see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
GmbAccountsGmbAccount()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
GmbAccountsGmbAccount
clone()
String
getEmail()
The email which identifies the GMB account.
BigInteger
getListingCount()
Number of listings under this account.
String
getName()
The name of the GMB account.
String
getType()
The type of the GMB account (User or Business).
GmbAccountsGmbAccount
set(String fieldName,
Object value)
GmbAccountsGmbAccount
setEmail(String email)
The email which identifies the GMB account.
GmbAccountsGmbAccount
setListingCount(BigInteger listingCount)
Number of listings under this account.
GmbAccountsGmbAccount
setName(String name)
The name of the GMB account.
GmbAccountsGmbAccount
setType(String type)
The type of the GMB account (User or Business).
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getEmail
public String getEmail()
The email which identifies the GMB account.
- Returns:
- value or
null
for none
-
setEmail
public GmbAccountsGmbAccount setEmail(String email)
The email which identifies the GMB account.
- Parameters:
email
- email or null
for none
-
getListingCount
public BigInteger getListingCount()
Number of listings under this account.
- Returns:
- value or
null
for none
-
setListingCount
public GmbAccountsGmbAccount setListingCount(BigInteger listingCount)
Number of listings under this account.
- Parameters:
listingCount
- listingCount or null
for none
-
getName
public String getName()
The name of the GMB account.
- Returns:
- value or
null
for none
-
setName
public GmbAccountsGmbAccount setName(String name)
The name of the GMB account.
- Parameters:
name
- name or null
for none
-
getType
public String getType()
The type of the GMB account (User or Business).
- Returns:
- value or
null
for none
-
setType
public GmbAccountsGmbAccount setType(String type)
The type of the GMB account (User or Business).
- Parameters:
type
- type or null
for none
-
set
public GmbAccountsGmbAccount set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public GmbAccountsGmbAccount clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy