Assets class

Constructors

Assets({DateTime? dateCreated, DateTime? lastUpdated, String? assetId, String? userId, required String companyId, String? connectionId, String? llmConnectionId, int? snippetId, int? industryId, String? aiJobId, String? approvalStatus, String? approvedByUserId, DateTime? approvedAt, required String name, String? slug, String? description, required AssetsSource_Enum source_, AssetsAssetTypeEnum? assetType, Object? assetSchema, AssetsVisibilityEnum? visibility, String? tags, String? sqlLogic, String? sourceSchemaName, String? sourceTableName, required bool sellInMarketplace, AssetsVizChartLibraryEnum? vizChartLibrary, AssetsVizChartTypeEnum? vizChartType, String? vizDepVarColName, String? vizIndepVarColName, String? vizSizeColName, String? vizColorColName, AssetsVizDataAggregationEnum? vizDataAggregation, AssetsVizSortDirectionEnum? vizSortDirection, int? vizDataLimit, AssetsVizColorSchemeEnum? vizColorScheme, required bool allowParams, required bool acceptTerms, bool? cached, String? schedule, DateTime? nextRun, DateTime? dataTimePeriodStart, DateTime? dataTimePeriodEnd, AssetsGeographicCoverageTypeEnum? geographicCoverageType, String? geographicCoverageDetails, AssetsDataSourceRefreshFrequencyEnum? dataSourceRefreshFrequency, DateTime? dataSourceLastRefreshed})
Returns a new Assets instance.

Properties

acceptTerms bool
getter/setter pair
aiJobId String?
Links to the AutoInsights job that created this asset
getter/setter pair
allowParams bool
getter/setter pair
approvalStatus String?
Approval status for AI-generated assets
getter/setter pair
approvedAt DateTime?
When this asset was approved for marketplace
getter/setter pair
approvedByUserId String?
User who approved this asset for marketplace
getter/setter pair
assetId String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
assetSchema Object?
Stores database table schema data including columns, types, and metadata
getter/setter pair
assetType AssetsAssetTypeEnum?
Enum type: AssetType
getter/setter pair
cached bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
companyId String
getter/setter pair
connectionId String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
dataSourceLastRefreshed DateTime?
When the source data was last refreshed
getter/setter pair
dataSourceRefreshFrequency AssetsDataSourceRefreshFrequencyEnum?
How often the source data is refreshed (Enum type: DataRefreshFrequency)
getter/setter pair
dataTimePeriodEnd DateTime?
End date of the data time period covered
getter/setter pair
dataTimePeriodStart DateTime?
Start date of the data time period covered
getter/setter pair
dateCreated DateTime?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
description String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
geographicCoverageDetails String?
Specific regions/countries covered (e.g., 'United States, Canada, Mexico')
getter/setter pair
geographicCoverageType AssetsGeographicCoverageTypeEnum?
Type of geographic coverage (Enum type: GeographicCoverage)
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
industryId int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
lastUpdated DateTime?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
llmConnectionId String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
name String
getter/setter pair
nextRun DateTime?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schedule String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
sellInMarketplace bool
getter/setter pair
slug String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
snippetId int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
source_ AssetsSource_Enum
Enum type: Source
getter/setter pair
sourceSchemaName String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
sourceTableName String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
sqlLogic String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
tags String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
userId String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
visibility AssetsVisibilityEnum?
Enum type: Visibility
getter/setter pair
vizChartLibrary AssetsVizChartLibraryEnum?
Enum type: PlottingLibrary
getter/setter pair
vizChartType AssetsVizChartTypeEnum?
Enum type: ChartType
getter/setter pair
vizColorColName String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
vizColorScheme AssetsVizColorSchemeEnum?
Enum type: ColorScheme
getter/setter pair
vizDataAggregation AssetsVizDataAggregationEnum?
Enum type: AggregationType
getter/setter pair
vizDataLimit int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
vizDepVarColName String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
vizIndepVarColName String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
vizSizeColName String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
vizSortDirection AssetsVizSortDirectionEnum?
Enum type: SortDirection
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) Assets?
Returns a new Assets instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<Assets>
mapFromJson(dynamic json) Map<String, Assets>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<Assets>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.