Record Class SQLDataSource
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.SQLDataSource
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchname- The name of the SQL data source.description- A description of the data source.
@Generated("io.skipcheck.tm1.codegen")
@Since("11.2.0")
public record SQLDataSource(@Nullable String etag, @Nullable String name, @Nullable String description)
extends Record
A representation of a SQL (read: ODBC) data source available on the host on which the TM1 server is running.
Generated from $metadata. Every component is nullable: $select can leave any property out, and navigation properties are only there when expanded. Null components aren't sent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyDescription, for queries: A description of the data source.static final ODataPropertyName, for queries: The name of the SQL data source. -
Constructor Summary
ConstructorsConstructorDescriptionSQLDataSource(@Nullable String etag, @Nullable String name, @Nullable String description) Creates an instance of aSQLDataSourcerecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable Stringetag()Returns the value of theetagrecord component.final inthashCode()Returns a hash code value for this object.@Nullable Stringname()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NAME
Name, for queries: The name of the SQL data source. -
DESCRIPTION
Description, for queries: A description of the data source.
-
-
Constructor Details
-
SQLDataSource
Creates an instance of aSQLDataSourcerecord class.- Parameters:
etag- the value for theetagrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
etag
-
name
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-