Class DatasourceSummaryStatusOutputV1

java.lang.Object
com.seeq.model.DatasourceSummaryStatusOutputV1

public class DatasourceSummaryStatusOutputV1 extends Object
The status for all datasources accessible by the user. Available only when the required level of detail is 'Complete' or 'Summary'
  • Constructor Details

    • DatasourceSummaryStatusOutputV1

      public DatasourceSummaryStatusOutputV1()
  • Method Details

    • allowRequests

      public DatasourceSummaryStatusOutputV1 allowRequests(Boolean allowRequests)
    • getAllowRequests

      public Boolean getAllowRequests()
      Whether Seeq allows requests to the datasource
      Returns:
      allowRequests
    • setAllowRequests

      public void setAllowRequests(Boolean allowRequests)
    • averageIndexingDuration

      public DatasourceSummaryStatusOutputV1 averageIndexingDuration(Long averageIndexingDuration)
    • getAverageIndexingDuration

      public Long getAverageIndexingDuration()
      The duration in nanoseconds that indexing is expected to take, obtained via the average of the last 10 successful indexing durations, with null indicating no previous successful indexes
      Returns:
      averageIndexingDuration
    • setAverageIndexingDuration

      public void setAverageIndexingDuration(Long averageIndexingDuration)
    • cacheEnabled

      public DatasourceSummaryStatusOutputV1 cacheEnabled(Boolean cacheEnabled)
    • getCacheEnabled

      public Boolean getCacheEnabled()
      Whether Cache is enabled for the datasource
      Returns:
      cacheEnabled
    • setCacheEnabled

      public void setCacheEnabled(Boolean cacheEnabled)
    • connections

    • addConnectionsItem

      public DatasourceSummaryStatusOutputV1 addConnectionsItem(ConnectionStatusOutputV1 connectionsItem)
    • getConnections

      public List<ConnectionStatusOutputV1> getConnections()
      The status for each connection that provides data to this datasource. Provided only when the required level of detail is 'Complete'
      Returns:
      connections
    • setConnections

      public void setConnections(List<ConnectionStatusOutputV1> connections)
    • connectionsConnectedCount

      public DatasourceSummaryStatusOutputV1 connectionsConnectedCount(Integer connectionsConnectedCount)
    • getConnectionsConnectedCount

      public Integer getConnectionsConnectedCount()
      Number of connections in status 'Connected' providing data for this datasource
      Returns:
      connectionsConnectedCount
    • setConnectionsConnectedCount

      public void setConnectionsConnectedCount(Integer connectionsConnectedCount)
    • currentIndexAt

      public DatasourceSummaryStatusOutputV1 currentIndexAt(String currentIndexAt)
    • getCurrentIndexAt

      public String getCurrentIndexAt()
      The ISO 8601 date of when current index occurred (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
      Returns:
      currentIndexAt
    • setCurrentIndexAt

      public void setCurrentIndexAt(String currentIndexAt)
    • currentIndexingDuration

      public DatasourceSummaryStatusOutputV1 currentIndexingDuration(Long currentIndexingDuration)
    • getCurrentIndexingDuration

      public Long getCurrentIndexingDuration()
      The duration in nanoseconds from when indexing started to the present time, if indexing is currently occurring
      Returns:
      currentIndexingDuration
    • setCurrentIndexingDuration

      public void setCurrentIndexingDuration(Long currentIndexingDuration)
    • currentIndexingPercentage

      public DatasourceSummaryStatusOutputV1 currentIndexingPercentage(Integer currentIndexingPercentage)
    • getCurrentIndexingPercentage

      public Integer getCurrentIndexingPercentage()
      The ratio of currentIndexingDuration to averageIndexingDuration, expressed as a percentage and rounded to the nearest integer
      Returns:
      currentIndexingPercentage
    • setCurrentIndexingPercentage

      public void setCurrentIndexingPercentage(Integer currentIndexingPercentage)
    • currentIndexingStartedAt

      public DatasourceSummaryStatusOutputV1 currentIndexingStartedAt(String currentIndexingStartedAt)
    • getCurrentIndexingStartedAt

      public String getCurrentIndexingStartedAt()
      The ISO 8601 date of when the current indexing started, if indexing is currently occurring (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
      Returns:
      currentIndexingStartedAt
    • setCurrentIndexingStartedAt

      public void setCurrentIndexingStartedAt(String currentIndexingStartedAt)
    • datasourceClass

      public DatasourceSummaryStatusOutputV1 datasourceClass(String datasourceClass)
    • getDatasourceClass

      public String getDatasourceClass()
      The datasource class. Example: OSIsoft PI
      Returns:
      datasourceClass
    • setDatasourceClass

      public void setDatasourceClass(String datasourceClass)
    • datasourceId

      public DatasourceSummaryStatusOutputV1 datasourceId(String datasourceId)
    • getDatasourceId

      public String getDatasourceId()
      The datasource ID
      Returns:
      datasourceId
    • setDatasourceId

      public void setDatasourceId(String datasourceId)
    • id

    • getId

      public String getId()
      The Seeq ID of the datasource
      Returns:
      id
    • setId

      public void setId(String id)
    • indexingScheduleSupported

      public DatasourceSummaryStatusOutputV1 indexingScheduleSupported(Boolean indexingScheduleSupported)
    • getIndexingScheduleSupported

      public Boolean getIndexingScheduleSupported()
      Whether indexing schedule is supported for the datasource
      Returns:
      indexingScheduleSupported
    • setIndexingScheduleSupported

      public void setIndexingScheduleSupported(Boolean indexingScheduleSupported)
    • localDatasource

      public DatasourceSummaryStatusOutputV1 localDatasource(Boolean localDatasource)
    • getLocalDatasource

      public Boolean getLocalDatasource()
      Whether the datasource is a local datasource
      Returns:
      localDatasource
    • setLocalDatasource

      public void setLocalDatasource(Boolean localDatasource)
    • name

    • getName

      public String getName()
      The name of the datasource
      Returns:
      name
    • setName

      public void setName(String name)
    • nextScheduledIndexAt

      public DatasourceSummaryStatusOutputV1 nextScheduledIndexAt(String nextScheduledIndexAt)
    • getNextScheduledIndexAt

      public String getNextScheduledIndexAt()
      The ISO 8601 date of when next indexing is scheduled (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
      Returns:
      nextScheduledIndexAt
    • setNextScheduledIndexAt

      public void setNextScheduledIndexAt(String nextScheduledIndexAt)
    • placeholder

      public DatasourceSummaryStatusOutputV1 placeholder(Boolean placeholder)
    • getPlaceholder

      public Boolean getPlaceholder()
      Whether this is a placeholder datasource created for a connection without datasource
      Returns:
      placeholder
    • setPlaceholder

      public void setPlaceholder(Boolean placeholder)
    • previousIndexAt

      public DatasourceSummaryStatusOutputV1 previousIndexAt(String previousIndexAt)
    • getPreviousIndexAt

      public String getPreviousIndexAt()
      The ISO 8601 date of when previous index occurred (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
      Returns:
      previousIndexAt
    • setPreviousIndexAt

      public void setPreviousIndexAt(String previousIndexAt)
    • remainingIndexingDuration

      public DatasourceSummaryStatusOutputV1 remainingIndexingDuration(Long remainingIndexingDuration)
    • getRemainingIndexingDuration

      public Long getRemainingIndexingDuration()
      The difference between averageIndexingDuration and currentIndexingDuration, expressed in nanoseconds
      Returns:
      remainingIndexingDuration
    • setRemainingIndexingDuration

      public void setRemainingIndexingDuration(Long remainingIndexingDuration)
    • syncProgress

      public DatasourceSummaryStatusOutputV1 syncProgress(SyncProgressOutputV1 syncProgress)
    • getSyncProgress

      public SyncProgressOutputV1 getSyncProgress()
      Get syncProgress
      Returns:
      syncProgress
    • setSyncProgress

      public void setSyncProgress(SyncProgressOutputV1 syncProgress)
    • syncStatus

    • getSyncStatus

      The aggregate synchronization status of the connections for this datasource
      Returns:
      syncStatus
    • setSyncStatus

      public void setSyncStatus(DatasourceSummaryStatusOutputV1.SyncStatusEnum syncStatus)
    • totalConnectionsCount

      public DatasourceSummaryStatusOutputV1 totalConnectionsCount(Integer totalConnectionsCount)
    • getTotalConnectionsCount

      public Integer getTotalConnectionsCount()
      The total number of connections that should be in status 'Connected' for this datasource
      Returns:
      totalConnectionsCount
    • setTotalConnectionsCount

      public void setTotalConnectionsCount(Integer totalConnectionsCount)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object