Package com.morpheusdata.model
Class StorageServer
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.StorageServerIdentityProjection
com.morpheusdata.model.StorageServer
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Accountprotected Integerprotected Integerprotected Stringprotected Mapprotected Booleanprotected Dateprotected Stringprotected Integerprotected Booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Longprotected Stringprotected Stringprotected Longprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Stringprotected StorageServerTypeprotected Longprotected Stringprotected StringFields inherited from class com.morpheusdata.model.MorpheusModel
config, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns the externalId also known as the API id of the equivalent object.getName()Gets the name of the storage server.getRefId()getType()getUuid()returns the uuid of the storage server.voidsetAccount(Account account) voidsetAccounts(Collection<Account> accounts) voidsetAdminPort(Integer adminPort) voidsetApiPort(Integer apiPort) voidsetCategory(String category) voidsetCredentialData(Map credentialData) voidsetCredentialLoaded(Boolean credentialLoaded) voidsetDateCreated(Date dateCreated) voidsetDescription(String description) voidsetDiskCount(Integer diskCount) voidsetEnabled(Boolean enabled) voidsetErrorMessage(String errorMessage) voidsetExternalId(String externalId) Sets the externalId of the storage server.voidsetExternalIp(String externalIp) voidsetInternalId(String internalId) voidsetInternalIp(String internalIp) voidsetLastUpdated(Date lastUpdated) voidsetMaxStorage(Long maxStorage) voidSets the name of the storage server.voidsetRawData(String rawData) voidvoidsetRefType(String refType) voidsetSerialNumber(String serialNumber) voidsetServerModel(String serverModel) voidsetServerVendor(String serverVendor) voidsetServiceHost(String serviceHost) voidsetServicePassword(String servicePassword) voidsetServicePath(String servicePath) voidsetServicePort(Integer servicePort) voidsetServiceToken(String serviceToken) voidsetServiceUrl(String serviceUrl) voidsetServiceUsername(String serviceUsername) voidsetServiceVersion(String serviceVersion) voidvoidsetStatusDate(Date statusDate) voidsetStatusMessage(String statusMessage) voidsetType(StorageServerType type) voidsetUsedStorage(Long usedStorage) voidSets the uuid of the storage server.voidsetVisibility(String visibility) Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityPropertiesMethods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
name
-
type
-
account
-
visibility
-
description
-
internalId
-
externalId
-
serviceUrl
-
serviceHost
-
servicePath
-
serviceToken
-
serviceVersion
-
servicePort
-
serviceUsername
-
servicePassword
-
internalIp
-
externalIp
-
apiPort
-
adminPort
-
refType
-
refId
-
category
-
serverVendor
-
serverModel
-
serialNumber
-
status
-
statusMessage
-
statusDate
-
errorMessage
-
maxStorage
-
usedStorage
-
diskCount
-
dateCreated
-
lastUpdated
-
rawData
-
enabled
-
uuid
-
credentialLoaded
-
credentialData
-
groups
-
accounts
-
-
Constructor Details
-
StorageServer
public StorageServer()
-
-
Method Details
-
getName
Description copied from class:StorageServerIdentityProjectionGets the name of the storage server. This is on the identity projection in case a fallback match needs to happen by name- Overrides:
getNamein classStorageServerIdentityProjection- Returns:
- the current name of the storage server
-
setName
Description copied from class:StorageServerIdentityProjectionSets the name of the storage server. Typically this isnt called directly.- Overrides:
setNamein classStorageServerIdentityProjection- Parameters:
name- the name of the storage server to be assigned.
-
getType
-
setType
-
getAccount
-
setAccount
-
getVisibility
-
setVisibility
-
getDescription
-
setDescription
-
getInternalId
-
setInternalId
-
getExternalId
Description copied from class:StorageServerIdentityProjectionreturns the externalId also known as the API id of the equivalent object.- Overrides:
getExternalIdin classStorageServerIdentityProjection- Returns:
- the external id or API id of the current record
-
setExternalId
Description copied from class:StorageServerIdentityProjectionSets the externalId of the storage server. In this class this should not be called directly- Overrides:
setExternalIdin classStorageServerIdentityProjection- Parameters:
externalId- the external id or API id of the current record
-
getServiceUrl
-
setServiceUrl
-
getServiceHost
-
setServiceHost
-
getServicePath
-
setServicePath
-
getServiceToken
-
setServiceToken
-
getServiceVersion
-
setServiceVersion
-
getServicePort
-
setServicePort
-
getServiceUsername
-
setServiceUsername
-
getServicePassword
-
setServicePassword
-
getInternalIp
-
setInternalIp
-
getExternalIp
-
setExternalIp
-
getApiPort
-
setApiPort
-
getAdminPort
-
setAdminPort
-
getRefType
-
setRefType
-
getRefId
-
setRefId
-
getCategory
-
setCategory
-
getServerVendor
-
setServerVendor
-
getServerModel
-
setServerModel
-
getSerialNumber
-
setSerialNumber
-
getStatus
-
setStatus
-
getStatusMessage
-
setStatusMessage
-
getStatusDate
-
setStatusDate
-
getErrorMessage
-
setErrorMessage
-
getMaxStorage
-
setMaxStorage
-
getUsedStorage
-
setUsedStorage
-
getDiskCount
-
setDiskCount
-
getDateCreated
-
setDateCreated
-
getLastUpdated
-
setLastUpdated
-
getRawData
-
setRawData
-
getEnabled
-
setEnabled
-
getUuid
Description copied from class:StorageServerIdentityProjectionreturns the uuid of the storage server.- Overrides:
getUuidin classStorageServerIdentityProjection- Returns:
- the uuid of the current record
-
setUuid
Description copied from class:StorageServerIdentityProjectionSets the uuid of the storage server. In this class this should not be called directly- Overrides:
setUuidin classStorageServerIdentityProjection- Parameters:
uuid- the uuid of the current record
-
getCredentialLoaded
-
setCredentialLoaded
-
getCredentialData
-
setCredentialData
-
getAccounts
-
setAccounts
-