public class Provider extends BaseFssApiResource
UTF_8| Modifier and Type | Method and Description |
|---|---|
static Provider |
create(FssApiVersion apiVersion,
java.lang.String id,
java.lang.String name,
ProviderType type)
Returns a versioned Provider that is compatible with the specified apiVersion.
|
static java.lang.Class<? extends Provider> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the Provider that corresponds to the specified
apiVersion. |
java.lang.String |
getId()
Returns the id of the provider
|
java.lang.String |
getName()
Returns the name of the provider
|
ProviderType |
getType()
Returns the type of the provider
|
protected void |
validate(java.lang.String fieldName,
BaseFssApiResource parent)
Validates this object.
|
badValue, badValue, fromJson, toJson, toJson, toString, validate, validateFieldInRange, validateFieldInRange, validateFieldIsNull, validateFieldNotNull, validateLocale, validateOptionalField, validateOptionalFieldList, validateRequiredField, validateRequiredFieldList, writeToOutputStreampublic static java.lang.Class<? extends Provider> getFssApiClass(FssApiVersion apiVersion)
Class of the Provider that corresponds to the specified
apiVersion.apiVersion - API version of the class to be returnedClass of the Provider that corresponds to the specified
apiVersionpublic static Provider create(FssApiVersion apiVersion, java.lang.String id, java.lang.String name, ProviderType type) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported for the Providerid - Id of the providername - Name of the providertype - Type of the providerAwUnsupportedApiVersionExceptionpublic java.lang.String getId()
public java.lang.String getName()
public ProviderType getType()
protected void validate(java.lang.String fieldName,
BaseFssApiResource parent)
throws AwJsonException
validate in class BaseFssApiResourcefieldName - name of this object in the parent (containing) object. If this object is a
top-level object (not contained within another object), then enter null for this
parameterparent - parent (containing) object that contains the object specified in the fieldName
parameter. If this object is a top-level object (not contained within another
object), then enter null for this parameterAwJsonException - if any validation errors occurBaseFssApiResource.validate(String, BaseFssApiResource)