public final class Subaccount
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 |
---|
Subaccount() |
Modifier and Type | Method and Description |
---|---|
Subaccount |
clone() |
Long |
getAccountId()
ID of the account that contains this subaccount.
|
List<Long> |
getAvailablePermissionIds()
IDs of the available user role permissions for this subaccount.
|
Long |
getId()
ID of this subaccount.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getName()
Name of this subaccount.
|
Subaccount |
set(String fieldName,
Object value) |
Subaccount |
setAccountId(Long accountId)
ID of the account that contains this subaccount.
|
Subaccount |
setAvailablePermissionIds(List<Long> availablePermissionIds)
IDs of the available user role permissions for this subaccount.
|
Subaccount |
setId(Long id)
ID of this subaccount.
|
Subaccount |
setKind(String kind)
Identifies what kind of resource this is.
|
Subaccount |
setName(String name)
Name of this subaccount.
|
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 Long getAccountId()
null
for nonepublic Subaccount setAccountId(Long accountId)
accountId
- accountId or null
for nonepublic List<Long> getAvailablePermissionIds()
null
for nonepublic Subaccount setAvailablePermissionIds(List<Long> availablePermissionIds)
availablePermissionIds
- availablePermissionIds or null
for nonepublic Long getId()
null
for nonepublic Subaccount setId(Long id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic Subaccount setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic Subaccount setName(String name)
name
- name or null
for nonepublic Subaccount set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Subaccount clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.