public class OfficeOnlineServerInfo extends BaseFssApiResource
UTF_8| Modifier and Type | Method and Description |
|---|---|
static OfficeOnlineServerInfo |
create(FssApiVersion apiVersion,
java.lang.Boolean oosEnabled,
java.util.List<java.lang.String> extensions,
java.util.List<java.lang.String> editExtensions)
Returns a versioned OfficeOnlineServerInfo that is compatible with the specified apiVersion.
|
boolean |
equals(java.lang.Object o) |
java.util.List<java.lang.String> |
getEditExtensions()
Returns list of supported extensions for edit.
|
java.util.List<java.lang.String> |
getExtensions()
Returns list of supported extensions.
|
static java.lang.Class<? extends OfficeOnlineServerInfo> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the OfficeOnlineServerInfo that corresponds to the
specified apiVersion. |
int |
hashCode() |
java.lang.Boolean |
isOOSEnabled()
Returns whether Office Online Server is enabled.
|
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 OfficeOnlineServerInfo> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the OfficeOnlineServerInfo that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the OfficeOnlineServerInfo that corresponds to the
specified apiVersionAwUnsupportedApiVersionExceptionpublic static OfficeOnlineServerInfo create(FssApiVersion apiVersion, java.lang.Boolean oosEnabled, java.util.List<java.lang.String> extensions, java.util.List<java.lang.String> editExtensions) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the OfficeOnlineServerInfooosEnabled - whether Office Online Server is enabledAwUnsupportedApiVersionExceptionpublic java.lang.Boolean isOOSEnabled()
public java.util.List<java.lang.String> getExtensions()
public java.util.List<java.lang.String> getEditExtensions()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectprotected void validate(java.lang.String fieldName,
BaseFssApiResource parent)
throws AwJsonException
BaseFssApiResourceBaseFssApiResource.validateRequiredField(String, BaseFssApiResource, String) for foo, and
BaseFssApiResource.validateOptionalField(String, BaseFssApiResource) for bar.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 occur