Class StorageServer


public class StorageServer extends StorageServerIdentityProjection
  • Field Details

    • name

      protected String name
    • type

      protected StorageServerType type
    • account

      protected Account account
    • visibility

      protected String visibility
    • description

      protected String description
    • internalId

      protected String internalId
    • externalId

      protected String externalId
    • serviceUrl

      protected String serviceUrl
    • serviceHost

      protected String serviceHost
    • servicePath

      protected String servicePath
    • serviceToken

      protected String serviceToken
    • serviceVersion

      protected String serviceVersion
    • servicePort

      protected Integer servicePort
    • serviceUsername

      protected String serviceUsername
    • servicePassword

      protected String servicePassword
    • internalIp

      protected String internalIp
    • externalIp

      protected String externalIp
    • apiPort

      protected Integer apiPort
    • adminPort

      protected Integer adminPort
    • refType

      protected String refType
    • refId

      protected Long refId
    • category

      protected String category
    • serverVendor

      protected String serverVendor
    • serverModel

      protected String serverModel
    • serialNumber

      protected String serialNumber
    • status

      protected String status
    • statusMessage

      protected String statusMessage
    • statusDate

      protected Date statusDate
    • errorMessage

      protected String errorMessage
    • maxStorage

      protected Long maxStorage
    • usedStorage

      protected Long usedStorage
    • diskCount

      protected Integer diskCount
    • dateCreated

      protected Date dateCreated
    • lastUpdated

      protected Date lastUpdated
    • rawData

      protected String rawData
    • enabled

      protected Boolean enabled
    • uuid

      protected String uuid
    • credentialLoaded

      protected Boolean credentialLoaded
    • credentialData

      protected Map credentialData
    • accounts

      public Collection<Account> accounts
  • Constructor Details

    • StorageServer

      public StorageServer()
  • Method Details

    • getName

      public String 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 class StorageServerIdentityProjection
      Returns:
      the current name of the storage server
    • setName

      public void setName(String name)
      Description copied from class: StorageServerIdentityProjection
      Sets the name of the storage server. Typically this isnt called directly.
      Overrides:
      setName in class StorageServerIdentityProjection
      Parameters:
      name - the name of the storage server to be assigned.
    • getType

      public StorageServerType getType()
    • setType

      public void setType(StorageServerType type)
    • getAccount

      public Account getAccount()
    • setAccount

      public void setAccount(Account account)
    • getVisibility

      public String getVisibility()
    • setVisibility

      public void setVisibility(String visibility)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getInternalId

      public String getInternalId()
    • setInternalId

      public void setInternalId(String internalId)
    • getExternalId

      public String getExternalId()
      Description copied from class: StorageServerIdentityProjection
      returns the externalId also known as the API id of the equivalent object.
      Overrides:
      getExternalId in class StorageServerIdentityProjection
      Returns:
      the external id or API id of the current record
    • setExternalId

      public void setExternalId(String externalId)
      Description copied from class: StorageServerIdentityProjection
      Sets the externalId of the storage server. In this class this should not be called directly
      Overrides:
      setExternalId in class StorageServerIdentityProjection
      Parameters:
      externalId - the external id or API id of the current record
    • getServiceUrl

      public String getServiceUrl()
    • setServiceUrl

      public void setServiceUrl(String serviceUrl)
    • getServiceHost

      public String getServiceHost()
    • setServiceHost

      public void setServiceHost(String serviceHost)
    • getServicePath

      public String getServicePath()
    • setServicePath

      public void setServicePath(String servicePath)
    • getServiceToken

      public String getServiceToken()
    • setServiceToken

      public void setServiceToken(String serviceToken)
    • getServiceVersion

      public String getServiceVersion()
    • setServiceVersion

      public void setServiceVersion(String serviceVersion)
    • getServicePort

      public Integer getServicePort()
    • setServicePort

      public void setServicePort(Integer servicePort)
    • getServiceUsername

      public String getServiceUsername()
    • setServiceUsername

      public void setServiceUsername(String serviceUsername)
    • getServicePassword

      public String getServicePassword()
    • setServicePassword

      public void setServicePassword(String servicePassword)
    • getInternalIp

      public String getInternalIp()
    • setInternalIp

      public void setInternalIp(String internalIp)
    • getExternalIp

      public String getExternalIp()
    • setExternalIp

      public void setExternalIp(String externalIp)
    • getApiPort

      public Integer getApiPort()
    • setApiPort

      public void setApiPort(Integer apiPort)
    • getAdminPort

      public Integer getAdminPort()
    • setAdminPort

      public void setAdminPort(Integer adminPort)
    • getRefType

      public String getRefType()
    • setRefType

      public void setRefType(String refType)
    • getRefId

      public Long getRefId()
    • setRefId

      public void setRefId(Long refId)
    • getCategory

      public String getCategory()
    • setCategory

      public void setCategory(String category)
    • getServerVendor

      public String getServerVendor()
    • setServerVendor

      public void setServerVendor(String serverVendor)
    • getServerModel

      public String getServerModel()
    • setServerModel

      public void setServerModel(String serverModel)
    • getSerialNumber

      public String getSerialNumber()
    • setSerialNumber

      public void setSerialNumber(String serialNumber)
    • getStatus

      public String getStatus()
    • setStatus

      public void setStatus(String status)
    • getStatusMessage

      public String getStatusMessage()
    • setStatusMessage

      public void setStatusMessage(String statusMessage)
    • getStatusDate

      public Date getStatusDate()
    • setStatusDate

      public void setStatusDate(Date statusDate)
    • getErrorMessage

      public String getErrorMessage()
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
    • getMaxStorage

      public Long getMaxStorage()
    • setMaxStorage

      public void setMaxStorage(Long maxStorage)
    • getUsedStorage

      public Long getUsedStorage()
    • setUsedStorage

      public void setUsedStorage(Long usedStorage)
    • getDiskCount

      public Integer getDiskCount()
    • setDiskCount

      public void setDiskCount(Integer diskCount)
    • getDateCreated

      public Date getDateCreated()
    • setDateCreated

      public void setDateCreated(Date dateCreated)
    • getLastUpdated

      public Date getLastUpdated()
    • setLastUpdated

      public void setLastUpdated(Date lastUpdated)
    • getRawData

      public String getRawData()
    • setRawData

      public void setRawData(String rawData)
    • getEnabled

      public Boolean getEnabled()
    • setEnabled

      public void setEnabled(Boolean enabled)
    • getUuid

      public String getUuid()
      Description copied from class: StorageServerIdentityProjection
      returns the uuid of the storage server.
      Overrides:
      getUuid in class StorageServerIdentityProjection
      Returns:
      the uuid of the current record
    • setUuid

      public void setUuid(String uuid)
      Description copied from class: StorageServerIdentityProjection
      Sets the uuid of the storage server. In this class this should not be called directly
      Overrides:
      setUuid in class StorageServerIdentityProjection
      Parameters:
      uuid - the uuid of the current record
    • getCredentialLoaded

      public Boolean getCredentialLoaded()
    • setCredentialLoaded

      public void setCredentialLoaded(Boolean credentialLoaded)
    • getCredentialData

      public Map getCredentialData()
    • setCredentialData

      public void setCredentialData(Map credentialData)
    • getAccounts

      public Collection<Account> getAccounts()
    • setAccounts

      public void setAccounts(Collection<Account> accounts)