Class OfferName (3.10.0)

Stay organized with collections Save and categorize content based on your preferences.
public class OfferName implements ResourceName

Inheritance

Object > OfferName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String account, String offer)

public static String format(String account, String offer)
Parameters
NameDescription
accountString
offerString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static OfferName.Builder newBuilder()
Returns
TypeDescription
OfferName.Builder

of(String account, String offer)

public static OfferName of(String account, String offer)
Parameters
NameDescription
accountString
offerString
Returns
TypeDescription
OfferName

parse(String formattedString)

public static OfferName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
OfferName

parseList(List<String> formattedStrings)

public static List<OfferName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<OfferName>

toStringList(List<OfferName> values)

public static List<String> toStringList(List<OfferName> values)
Parameter
NameDescription
valuesList<OfferName>
Returns
TypeDescription
List<String>

Constructors

OfferName()

protected OfferName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getAccount()

public String getAccount()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription