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
-
Field Summary
Modifier and TypeFieldDescriptionprotected Account
protected Integer
protected Integer
protected String
protected Map
protected Boolean
protected Date
protected String
protected Integer
protected Boolean
protected String
protected String
protected String
protected String
protected String
protected Date
protected Long
protected String
protected String
protected Long
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Integer
protected String
protected String
protected String
protected String
protected String
protected Date
protected String
protected StorageServerType
protected Long
protected String
protected String
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
-
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.void
setAccount
(Account account) void
setAccounts
(Collection<Account> accounts) void
setAdminPort
(Integer adminPort) void
setApiPort
(Integer apiPort) void
setCategory
(String category) void
setCredentialData
(Map credentialData) void
setCredentialLoaded
(Boolean credentialLoaded) void
setDateCreated
(Date dateCreated) void
setDescription
(String description) void
setDiskCount
(Integer diskCount) void
setEnabled
(Boolean enabled) void
setErrorMessage
(String errorMessage) void
setExternalId
(String externalId) Sets the externalId of the storage server.void
setExternalIp
(String externalIp) void
setInternalId
(String internalId) void
setInternalIp
(String internalIp) void
setLastUpdated
(Date lastUpdated) void
setMaxStorage
(Long maxStorage) void
Sets the name of the storage server.void
setRawData
(String rawData) void
void
setRefType
(String refType) void
setSerialNumber
(String serialNumber) void
setServerModel
(String serverModel) void
setServerVendor
(String serverVendor) void
setServiceHost
(String serviceHost) void
setServicePassword
(String servicePassword) void
setServicePath
(String servicePath) void
setServicePort
(Integer servicePort) void
setServiceToken
(String serviceToken) void
setServiceUrl
(String serviceUrl) void
setServiceUsername
(String serviceUsername) void
setServiceVersion
(String serviceVersion) void
void
setStatusDate
(Date statusDate) void
setStatusMessage
(String statusMessage) void
setType
(StorageServerType type) void
setUsedStorage
(Long usedStorage) void
Sets the uuid of the storage server.void
setVisibility
(String visibility) Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityProperties
Methods 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
-
accounts
-
-
Constructor Details
-
StorageServer
public StorageServer()
-
-
Method Details
-
getName
Description copied from class:StorageServerIdentityProjection
Gets the name of the storage server. This is on the identity projection in case a fallback match needs to happen by name- Overrides:
getName
in classStorageServerIdentityProjection
- Returns:
- the current name of the storage server
-
setName
Description copied from class:StorageServerIdentityProjection
Sets the name of the storage server. Typically this isnt called directly.- Overrides:
setName
in 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:StorageServerIdentityProjection
returns the externalId also known as the API id of the equivalent object.- Overrides:
getExternalId
in classStorageServerIdentityProjection
- Returns:
- the external id or API id of the current record
-
setExternalId
Description copied from class:StorageServerIdentityProjection
Sets the externalId of the storage server. In this class this should not be called directly- Overrides:
setExternalId
in 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:StorageServerIdentityProjection
returns the uuid of the storage server.- Overrides:
getUuid
in classStorageServerIdentityProjection
- Returns:
- the uuid of the current record
-
setUuid
Description copied from class:StorageServerIdentityProjection
Sets the uuid of the storage server. In this class this should not be called directly- Overrides:
setUuid
in classStorageServerIdentityProjection
- Parameters:
uuid
- the uuid of the current record
-
getCredentialLoaded
-
setCredentialLoaded
-
getCredentialData
-
setCredentialData
-
getAccounts
-
setAccounts
-