Package co.ecg.alpaca.toolkit.generated
Class BWSystem.SystemDeviceFamilyImportRequest
- java.lang.Object
-
- co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
-
- co.ecg.alpaca.toolkit.generated.BWSystem.SystemDeviceFamilyImportRequest
-
- Enclosing class:
- BWSystem
public static class BWSystem.SystemDeviceFamilyImportRequest extends Request<DefaultResponse>
Request to import a Device Family Set Archive File (DFAF) as a new Device Family. The URL supports the HTTP and the FILE protocols. When the optional element resellerId is specified, the device type created is at reseller level. When the optional element deviceFamilyOverride is set to true, an existing device family with the same name on the destination system will be overridden. When the optional element tagSetOverride is set to true, any existing tag set on the destination system will be overridden. When the optional element deviceTypeFileUpdate is set, on import, for any existing device type associated with the device family, the files that are matched based on the file format are updated with the ones from the DTAF. The file format and the file category are the only attributes that can't be updated. The response is either a SuccessResponse or an ErrorResponse. The following data elements are only used in AS data mode and ignored in XS data mode: resellerId- Author:
- AlpacaGenerator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class co.ecg.alpaca.toolkit.messaging.request.Request
Request.Protocol
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleandeviceFamilyOverrideprotected BooleandeviceTypeFileUpdateprotected @NotNull @Size(min=1,max=256) Stringfileprotected @Size(min=1,max=36) StringresellerIdprotected BooleantagSetOverride
-
Constructor Summary
Constructors Constructor Description SystemDeviceFamilyImportRequest()SystemDeviceFamilyImportRequest(BroadWorksServer broadWorksServer, String file)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidformRequest()Forms the XML Document for this Request Object.BooleangetDeviceFamilyOverride()BooleangetDeviceTypeFileUpdate()static BWSystem.SystemDeviceFamilyImportRequestgetEmptyObject(BroadWorksServer broadWorksServer)Retrieves this object with minimal setup.StringgetFile()StringgetResellerId()BooleangetTagSetOverride()BWSystem.SystemDeviceFamilyImportRequestsetDeviceFamilyOverride(Boolean deviceFamilyOverride)BWSystem.SystemDeviceFamilyImportRequestsetDeviceTypeFileUpdate(Boolean deviceTypeFileUpdate)BWSystem.SystemDeviceFamilyImportRequestsetFile(String file)BWSystem.SystemDeviceFamilyImportRequestsetResellerId(String resellerId)BWSystem.SystemDeviceFamilyImportRequestsetTagSetOverride(Boolean tagSetOverride)-
Methods inherited from class co.ecg.alpaca.toolkit.messaging.request.Request
appendChild, appendChild, appendChild, asyncFire, createElement, createNilElement, createNilElement, createTextElement, equals, fire, fire, getBroadWorksServer, getCacheString, getCommandElement, getCommandType, getDomDocument, getId, getOCSProtocol, getRequestTimeoutMillis, getResponseClass, getRetries, getRetryCodes, getRootElement, getValidationErrorsAsString, hashCode, isMemberOfBundle, isValid, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setEcho, setMemberOfBundle, setRequestId, setRequestTimeoutMillis, setResponseClass, setRetries, setRetryCodes, setRootElement, toString, validate
-
-
-
-
Field Detail
-
file
@NotNull @Size(min=1, max=256) protected @NotNull @Size(min=1,max=256) String file
-
resellerId
@Size(min=1, max=36) protected @Size(min=1,max=36) String resellerId
-
deviceFamilyOverride
protected Boolean deviceFamilyOverride
-
tagSetOverride
protected Boolean tagSetOverride
-
deviceTypeFileUpdate
protected Boolean deviceTypeFileUpdate
-
-
Constructor Detail
-
SystemDeviceFamilyImportRequest
public SystemDeviceFamilyImportRequest()
-
SystemDeviceFamilyImportRequest
public SystemDeviceFamilyImportRequest(BroadWorksServer broadWorksServer, String file)
-
-
Method Detail
-
setFile
public BWSystem.SystemDeviceFamilyImportRequest setFile(String file)
-
getFile
public String getFile()
-
setResellerId
public BWSystem.SystemDeviceFamilyImportRequest setResellerId(String resellerId)
-
getResellerId
public String getResellerId()
-
setDeviceFamilyOverride
public BWSystem.SystemDeviceFamilyImportRequest setDeviceFamilyOverride(Boolean deviceFamilyOverride)
-
getDeviceFamilyOverride
public Boolean getDeviceFamilyOverride()
-
setTagSetOverride
public BWSystem.SystemDeviceFamilyImportRequest setTagSetOverride(Boolean tagSetOverride)
-
getTagSetOverride
public Boolean getTagSetOverride()
-
setDeviceTypeFileUpdate
public BWSystem.SystemDeviceFamilyImportRequest setDeviceTypeFileUpdate(Boolean deviceTypeFileUpdate)
-
getDeviceTypeFileUpdate
public Boolean getDeviceTypeFileUpdate()
-
getEmptyObject
public static BWSystem.SystemDeviceFamilyImportRequest getEmptyObject(BroadWorksServer broadWorksServer)
Retrieves this object with minimal setup.- Parameters:
broadWorksServer- The BroadWorksServer
-
formRequest
public void formRequest()
Forms the XML Document for this Request Object. Called by the Request upon fire().- Overrides:
formRequestin classRequest<DefaultResponse>
-
-