Package com.oracle.bmc.opsi.model
Class OpsiDataObject
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.opsi.model.OpsiDataObject
-
- Direct Known Subclasses:
DatabaseInsightsDataObject
,ExadataInsightsDataObject
,HostInsightsDataObject
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public class OpsiDataObject extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
OPSI data object.
Note: Objects should always be created or deserialized using theBuilder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theBuilder
, which maintain a set of all explicitly set fields calledBuilder#__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OpsiDataObject(String identifier, String displayName, String description, String name, List<String> groupNames, String supportedQueryTimePeriod, List<DataObjectColumnMetadata> columnsMetadata, List<OpsiDataObjectSupportedQueryParam> supportedQueryParams)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<DataObjectColumnMetadata>
getColumnsMetadata()
Metadata of columns in a data object.String
getDescription()
Description of OPSI data object.String
getDisplayName()
User-friendly name of OPSI data object.List<String>
getGroupNames()
Names of all the groups to which the data object belongs to.String
getIdentifier()
Unique identifier of OPSI data object.String
getName()
Name of the data object, which can be used in data object queries just like how view names are used in a query.List<OpsiDataObjectSupportedQueryParam>
getSupportedQueryParams()
Supported query parameters by this OPSI data object that can be configured while a data object query involving this data object is executed.String
getSupportedQueryTimePeriod()
Time period supported by the data object for quering data.int
hashCode()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
OpsiDataObject
@Deprecated @ConstructorProperties({"identifier","displayName","description","name","groupNames","supportedQueryTimePeriod","columnsMetadata","supportedQueryParams"}) protected OpsiDataObject(String identifier, String displayName, String description, String name, List<String> groupNames, String supportedQueryTimePeriod, List<DataObjectColumnMetadata> columnsMetadata, List<OpsiDataObjectSupportedQueryParam> supportedQueryParams)
Deprecated.
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Unique identifier of OPSI data object.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
User-friendly name of OPSI data object.- Returns:
- the value
-
getDescription
public String getDescription()
Description of OPSI data object.- Returns:
- the value
-
getName
public String getName()
Name of the data object, which can be used in data object queries just like how view names are used in a query.- Returns:
- the value
-
getGroupNames
public List<String> getGroupNames()
Names of all the groups to which the data object belongs to.- Returns:
- the value
-
getSupportedQueryTimePeriod
public String getSupportedQueryTimePeriod()
Time period supported by the data object for quering data.Time period is in ISO 8601 format with respect to current time. Default is last 30 days represented by P30D. Examples: P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months).
- Returns:
- the value
-
getColumnsMetadata
public List<DataObjectColumnMetadata> getColumnsMetadata()
Metadata of columns in a data object.- Returns:
- the value
-
getSupportedQueryParams
public List<OpsiDataObjectSupportedQueryParam> getSupportedQueryParams()
Supported query parameters by this OPSI data object that can be configured while a data object query involving this data object is executed.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-