public final class Sku
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 Cloud Billing 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
Constructor and Description |
---|
Sku() |
Modifier and Type | Method and Description |
---|---|
Sku |
clone() |
Category |
getCategory()
The category hierarchy of this SKU, purely for organizational purpose.
|
java.lang.String |
getDescription()
A human readable description of the SKU, has a maximum length of 256 characters.
|
java.lang.String |
getName()
The resource name for the SKU.
|
java.util.List<PricingInfo> |
getPricingInfo()
A timeline of pricing info for this SKU in chronological order.
|
java.lang.String |
getServiceProviderName()
Identifies the service provider.
|
java.util.List<java.lang.String> |
getServiceRegions()
List of service regions this SKU is offered at.
|
java.lang.String |
getSkuId()
The identifier for the SKU.
|
Sku |
set(java.lang.String fieldName,
java.lang.Object value) |
Sku |
setCategory(Category category)
The category hierarchy of this SKU, purely for organizational purpose.
|
Sku |
setDescription(java.lang.String description)
A human readable description of the SKU, has a maximum length of 256 characters.
|
Sku |
setName(java.lang.String name)
The resource name for the SKU.
|
Sku |
setPricingInfo(java.util.List<PricingInfo> pricingInfo)
A timeline of pricing info for this SKU in chronological order.
|
Sku |
setServiceProviderName(java.lang.String serviceProviderName)
Identifies the service provider.
|
Sku |
setServiceRegions(java.util.List<java.lang.String> serviceRegions)
List of service regions this SKU is offered at.
|
Sku |
setSkuId(java.lang.String skuId)
The identifier for the SKU.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Category getCategory()
null
for nonepublic Sku setCategory(Category category)
category
- category or null
for nonepublic java.lang.String getDescription()
null
for nonepublic Sku setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getName()
null
for nonepublic Sku setName(java.lang.String name)
name
- name or null
for nonepublic java.util.List<PricingInfo> getPricingInfo()
null
for nonepublic Sku setPricingInfo(java.util.List<PricingInfo> pricingInfo)
pricingInfo
- pricingInfo or null
for nonepublic java.lang.String getServiceProviderName()
null
for nonepublic Sku setServiceProviderName(java.lang.String serviceProviderName)
serviceProviderName
- serviceProviderName or null
for nonepublic java.util.List<java.lang.String> getServiceRegions()
null
for nonepublic Sku setServiceRegions(java.util.List<java.lang.String> serviceRegions)
serviceRegions
- serviceRegions or null
for nonepublic java.lang.String getSkuId()
null
for nonepublic Sku setSkuId(java.lang.String skuId)
skuId
- skuId or null
for nonepublic Sku set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Sku clone()
clone
in class com.google.api.client.json.GenericJson