public final class Category extends 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 Cloud Billing API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Category() |
Modifier and Type | Method and Description |
---|---|
Category |
clone() |
String |
getResourceFamily()
The type of product the SKU refers to.
|
String |
getResourceGroup()
A group classification for related SKUs.
|
String |
getServiceDisplayName()
The display name of the service this SKU belongs to.
|
String |
getUsageType()
Represents how the SKU is consumed.
|
Category |
set(String fieldName,
Object value) |
Category |
setResourceFamily(String resourceFamily)
The type of product the SKU refers to.
|
Category |
setResourceGroup(String resourceGroup)
A group classification for related SKUs.
|
Category |
setServiceDisplayName(String serviceDisplayName)
The display name of the service this SKU belongs to.
|
Category |
setUsageType(String usageType)
Represents how the SKU is consumed.
|
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 getResourceFamily()
null
for nonepublic Category setResourceFamily(String resourceFamily)
resourceFamily
- resourceFamily or null
for nonepublic String getResourceGroup()
null
for nonepublic Category setResourceGroup(String resourceGroup)
resourceGroup
- resourceGroup or null
for nonepublic String getServiceDisplayName()
null
for nonepublic Category setServiceDisplayName(String serviceDisplayName)
serviceDisplayName
- serviceDisplayName or null
for nonepublic String getUsageType()
null
for nonepublic Category setUsageType(String usageType)
usageType
- usageType or null
for nonepublic Category set(String fieldName, Object value)
set
in class GenericJson
public Category clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.