rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
1,091 lines • 242 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AiDocumentModel = exports.AiDocumentModelValidationDatasetOutputReference = exports.aiDocumentModelValidationDatasetToHclTerraform = exports.aiDocumentModelValidationDatasetToTerraform = exports.AiDocumentModelTrainingDatasetOutputReference = exports.aiDocumentModelTrainingDatasetToHclTerraform = exports.aiDocumentModelTrainingDatasetToTerraform = exports.AiDocumentModelTimeoutsOutputReference = exports.aiDocumentModelTimeoutsToHclTerraform = exports.aiDocumentModelTimeoutsToTerraform = exports.AiDocumentModelTestingDatasetOutputReference = exports.aiDocumentModelTestingDatasetToHclTerraform = exports.aiDocumentModelTestingDatasetToTerraform = exports.AiDocumentModelComponentModelsList = exports.AiDocumentModelComponentModelsOutputReference = exports.aiDocumentModelComponentModelsToHclTerraform = exports.aiDocumentModelComponentModelsToTerraform = exports.AiDocumentModelMetricsList = exports.AiDocumentModelMetricsOutputReference = exports.aiDocumentModelMetricsToHclTerraform = exports.aiDocumentModelMetricsToTerraform = exports.AiDocumentModelMetricsOverallMetricsReportList = exports.AiDocumentModelMetricsOverallMetricsReportOutputReference = exports.aiDocumentModelMetricsOverallMetricsReportToHclTerraform = exports.aiDocumentModelMetricsOverallMetricsReportToTerraform = exports.AiDocumentModelMetricsOverallMetricsReportConfidenceEntriesList = exports.AiDocumentModelMetricsOverallMetricsReportConfidenceEntriesOutputReference = exports.aiDocumentModelMetricsOverallMetricsReportConfidenceEntriesToHclTerraform = exports.aiDocumentModelMetricsOverallMetricsReportConfidenceEntriesToTerraform = exports.AiDocumentModelMetricsLabelMetricsReportList = exports.AiDocumentModelMetricsLabelMetricsReportOutputReference = exports.aiDocumentModelMetricsLabelMetricsReportToHclTerraform = exports.aiDocumentModelMetricsLabelMetricsReportToTerraform = exports.AiDocumentModelMetricsLabelMetricsReportConfidenceEntriesList = exports.AiDocumentModelMetricsLabelMetricsReportConfidenceEntriesOutputReference = exports.aiDocumentModelMetricsLabelMetricsReportConfidenceEntriesToHclTerraform = exports.aiDocumentModelMetricsLabelMetricsReportConfidenceEntriesToTerraform = exports.AiDocumentModelMetricsDatasetSummaryList = exports.AiDocumentModelMetricsDatasetSummaryOutputReference = exports.aiDocumentModelMetricsDatasetSummaryToHclTerraform = exports.aiDocumentModelMetricsDatasetSummaryToTerraform = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function aiDocumentModelMetricsDatasetSummaryToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.aiDocumentModelMetricsDatasetSummaryToTerraform = aiDocumentModelMetricsDatasetSummaryToTerraform;
function aiDocumentModelMetricsDatasetSummaryToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.aiDocumentModelMetricsDatasetSummaryToHclTerraform = aiDocumentModelMetricsDatasetSummaryToHclTerraform;
class AiDocumentModelMetricsDatasetSummaryOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// test_sample_count - computed: true, optional: false, required: false
get testSampleCount() {
return this.getNumberAttribute('test_sample_count');
}
// training_sample_count - computed: true, optional: false, required: false
get trainingSampleCount() {
return this.getNumberAttribute('training_sample_count');
}
// validation_sample_count - computed: true, optional: false, required: false
get validationSampleCount() {
return this.getNumberAttribute('validation_sample_count');
}
}
exports.AiDocumentModelMetricsDatasetSummaryOutputReference = AiDocumentModelMetricsDatasetSummaryOutputReference;
_a = JSII_RTTI_SYMBOL_1;
AiDocumentModelMetricsDatasetSummaryOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelMetricsDatasetSummaryOutputReference", version: "1.0.0" };
class AiDocumentModelMetricsDatasetSummaryList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new AiDocumentModelMetricsDatasetSummaryOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.AiDocumentModelMetricsDatasetSummaryList = AiDocumentModelMetricsDatasetSummaryList;
_b = JSII_RTTI_SYMBOL_1;
AiDocumentModelMetricsDatasetSummaryList[_b] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelMetricsDatasetSummaryList", version: "1.0.0" };
function aiDocumentModelMetricsLabelMetricsReportConfidenceEntriesToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.aiDocumentModelMetricsLabelMetricsReportConfidenceEntriesToTerraform = aiDocumentModelMetricsLabelMetricsReportConfidenceEntriesToTerraform;
function aiDocumentModelMetricsLabelMetricsReportConfidenceEntriesToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.aiDocumentModelMetricsLabelMetricsReportConfidenceEntriesToHclTerraform = aiDocumentModelMetricsLabelMetricsReportConfidenceEntriesToHclTerraform;
class AiDocumentModelMetricsLabelMetricsReportConfidenceEntriesOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// accuracy - computed: true, optional: false, required: false
get accuracy() {
return this.getNumberAttribute('accuracy');
}
// f1score - computed: true, optional: false, required: false
get f1Score() {
return this.getNumberAttribute('f1score');
}
// precision - computed: true, optional: false, required: false
get precision() {
return this.getNumberAttribute('precision');
}
// recall - computed: true, optional: false, required: false
get recall() {
return this.getNumberAttribute('recall');
}
// threshold - computed: true, optional: false, required: false
get threshold() {
return this.getNumberAttribute('threshold');
}
}
exports.AiDocumentModelMetricsLabelMetricsReportConfidenceEntriesOutputReference = AiDocumentModelMetricsLabelMetricsReportConfidenceEntriesOutputReference;
_c = JSII_RTTI_SYMBOL_1;
AiDocumentModelMetricsLabelMetricsReportConfidenceEntriesOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelMetricsLabelMetricsReportConfidenceEntriesOutputReference", version: "1.0.0" };
class AiDocumentModelMetricsLabelMetricsReportConfidenceEntriesList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new AiDocumentModelMetricsLabelMetricsReportConfidenceEntriesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.AiDocumentModelMetricsLabelMetricsReportConfidenceEntriesList = AiDocumentModelMetricsLabelMetricsReportConfidenceEntriesList;
_d = JSII_RTTI_SYMBOL_1;
AiDocumentModelMetricsLabelMetricsReportConfidenceEntriesList[_d] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelMetricsLabelMetricsReportConfidenceEntriesList", version: "1.0.0" };
function aiDocumentModelMetricsLabelMetricsReportToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.aiDocumentModelMetricsLabelMetricsReportToTerraform = aiDocumentModelMetricsLabelMetricsReportToTerraform;
function aiDocumentModelMetricsLabelMetricsReportToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.aiDocumentModelMetricsLabelMetricsReportToHclTerraform = aiDocumentModelMetricsLabelMetricsReportToHclTerraform;
class AiDocumentModelMetricsLabelMetricsReportOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
// confidence_entries - computed: true, optional: false, required: false
this._confidenceEntries = new AiDocumentModelMetricsLabelMetricsReportConfidenceEntriesList(this, "confidence_entries", false);
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
get confidenceEntries() {
return this._confidenceEntries;
}
// document_count - computed: true, optional: false, required: false
get documentCount() {
return this.getNumberAttribute('document_count');
}
// label - computed: true, optional: false, required: false
get label() {
return this.getStringAttribute('label');
}
// mean_average_precision - computed: true, optional: false, required: false
get meanAveragePrecision() {
return this.getNumberAttribute('mean_average_precision');
}
}
exports.AiDocumentModelMetricsLabelMetricsReportOutputReference = AiDocumentModelMetricsLabelMetricsReportOutputReference;
_e = JSII_RTTI_SYMBOL_1;
AiDocumentModelMetricsLabelMetricsReportOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelMetricsLabelMetricsReportOutputReference", version: "1.0.0" };
class AiDocumentModelMetricsLabelMetricsReportList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new AiDocumentModelMetricsLabelMetricsReportOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.AiDocumentModelMetricsLabelMetricsReportList = AiDocumentModelMetricsLabelMetricsReportList;
_f = JSII_RTTI_SYMBOL_1;
AiDocumentModelMetricsLabelMetricsReportList[_f] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelMetricsLabelMetricsReportList", version: "1.0.0" };
function aiDocumentModelMetricsOverallMetricsReportConfidenceEntriesToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.aiDocumentModelMetricsOverallMetricsReportConfidenceEntriesToTerraform = aiDocumentModelMetricsOverallMetricsReportConfidenceEntriesToTerraform;
function aiDocumentModelMetricsOverallMetricsReportConfidenceEntriesToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.aiDocumentModelMetricsOverallMetricsReportConfidenceEntriesToHclTerraform = aiDocumentModelMetricsOverallMetricsReportConfidenceEntriesToHclTerraform;
class AiDocumentModelMetricsOverallMetricsReportConfidenceEntriesOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// accuracy - computed: true, optional: false, required: false
get accuracy() {
return this.getNumberAttribute('accuracy');
}
// f1score - computed: true, optional: false, required: false
get f1Score() {
return this.getNumberAttribute('f1score');
}
// precision - computed: true, optional: false, required: false
get precision() {
return this.getNumberAttribute('precision');
}
// recall - computed: true, optional: false, required: false
get recall() {
return this.getNumberAttribute('recall');
}
// threshold - computed: true, optional: false, required: false
get threshold() {
return this.getNumberAttribute('threshold');
}
}
exports.AiDocumentModelMetricsOverallMetricsReportConfidenceEntriesOutputReference = AiDocumentModelMetricsOverallMetricsReportConfidenceEntriesOutputReference;
_g = JSII_RTTI_SYMBOL_1;
AiDocumentModelMetricsOverallMetricsReportConfidenceEntriesOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelMetricsOverallMetricsReportConfidenceEntriesOutputReference", version: "1.0.0" };
class AiDocumentModelMetricsOverallMetricsReportConfidenceEntriesList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new AiDocumentModelMetricsOverallMetricsReportConfidenceEntriesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.AiDocumentModelMetricsOverallMetricsReportConfidenceEntriesList = AiDocumentModelMetricsOverallMetricsReportConfidenceEntriesList;
_h = JSII_RTTI_SYMBOL_1;
AiDocumentModelMetricsOverallMetricsReportConfidenceEntriesList[_h] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelMetricsOverallMetricsReportConfidenceEntriesList", version: "1.0.0" };
function aiDocumentModelMetricsOverallMetricsReportToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.aiDocumentModelMetricsOverallMetricsReportToTerraform = aiDocumentModelMetricsOverallMetricsReportToTerraform;
function aiDocumentModelMetricsOverallMetricsReportToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.aiDocumentModelMetricsOverallMetricsReportToHclTerraform = aiDocumentModelMetricsOverallMetricsReportToHclTerraform;
class AiDocumentModelMetricsOverallMetricsReportOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
// confidence_entries - computed: true, optional: false, required: false
this._confidenceEntries = new AiDocumentModelMetricsOverallMetricsReportConfidenceEntriesList(this, "confidence_entries", false);
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
get confidenceEntries() {
return this._confidenceEntries;
}
// document_count - computed: true, optional: false, required: false
get documentCount() {
return this.getNumberAttribute('document_count');
}
// mean_average_precision - computed: true, optional: false, required: false
get meanAveragePrecision() {
return this.getNumberAttribute('mean_average_precision');
}
}
exports.AiDocumentModelMetricsOverallMetricsReportOutputReference = AiDocumentModelMetricsOverallMetricsReportOutputReference;
_j = JSII_RTTI_SYMBOL_1;
AiDocumentModelMetricsOverallMetricsReportOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelMetricsOverallMetricsReportOutputReference", version: "1.0.0" };
class AiDocumentModelMetricsOverallMetricsReportList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new AiDocumentModelMetricsOverallMetricsReportOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.AiDocumentModelMetricsOverallMetricsReportList = AiDocumentModelMetricsOverallMetricsReportList;
_k = JSII_RTTI_SYMBOL_1;
AiDocumentModelMetricsOverallMetricsReportList[_k] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelMetricsOverallMetricsReportList", version: "1.0.0" };
function aiDocumentModelMetricsToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.aiDocumentModelMetricsToTerraform = aiDocumentModelMetricsToTerraform;
function aiDocumentModelMetricsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.aiDocumentModelMetricsToHclTerraform = aiDocumentModelMetricsToHclTerraform;
class AiDocumentModelMetricsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
// dataset_summary - computed: true, optional: false, required: false
this._datasetSummary = new AiDocumentModelMetricsDatasetSummaryList(this, "dataset_summary", false);
// label_metrics_report - computed: true, optional: false, required: false
this._labelMetricsReport = new AiDocumentModelMetricsLabelMetricsReportList(this, "label_metrics_report", false);
// overall_metrics_report - computed: true, optional: false, required: false
this._overallMetricsReport = new AiDocumentModelMetricsOverallMetricsReportList(this, "overall_metrics_report", false);
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
get datasetSummary() {
return this._datasetSummary;
}
get labelMetricsReport() {
return this._labelMetricsReport;
}
// model_type - computed: true, optional: false, required: false
get modelType() {
return this.getStringAttribute('model_type');
}
get overallMetricsReport() {
return this._overallMetricsReport;
}
}
exports.AiDocumentModelMetricsOutputReference = AiDocumentModelMetricsOutputReference;
_l = JSII_RTTI_SYMBOL_1;
AiDocumentModelMetricsOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelMetricsOutputReference", version: "1.0.0" };
class AiDocumentModelMetricsList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new AiDocumentModelMetricsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.AiDocumentModelMetricsList = AiDocumentModelMetricsList;
_m = JSII_RTTI_SYMBOL_1;
AiDocumentModelMetricsList[_m] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelMetricsList", version: "1.0.0" };
function aiDocumentModelComponentModelsToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
model_id: cdktf.stringToTerraform(struct.modelId),
};
}
exports.aiDocumentModelComponentModelsToTerraform = aiDocumentModelComponentModelsToTerraform;
function aiDocumentModelComponentModelsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
model_id: {
value: cdktf.stringToHclTerraform(struct.modelId),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.aiDocumentModelComponentModelsToHclTerraform = aiDocumentModelComponentModelsToHclTerraform;
class AiDocumentModelComponentModelsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._modelId !== undefined) {
hasAnyValues = true;
internalValueResult.modelId = this._modelId;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._modelId = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._modelId = value.modelId;
}
}
get modelId() {
return this.getStringAttribute('model_id');
}
set modelId(value) {
this._modelId = value;
}
resetModelId() {
this._modelId = undefined;
}
// Temporarily expose input value. Use with caution.
get modelIdInput() {
return this._modelId;
}
}
exports.AiDocumentModelComponentModelsOutputReference = AiDocumentModelComponentModelsOutputReference;
_o = JSII_RTTI_SYMBOL_1;
AiDocumentModelComponentModelsOutputReference[_o] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelComponentModelsOutputReference", version: "1.0.0" };
class AiDocumentModelComponentModelsList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new AiDocumentModelComponentModelsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.AiDocumentModelComponentModelsList = AiDocumentModelComponentModelsList;
_p = JSII_RTTI_SYMBOL_1;
AiDocumentModelComponentModelsList[_p] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelComponentModelsList", version: "1.0.0" };
function aiDocumentModelTestingDatasetToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
bucket: cdktf.stringToTerraform(struct.bucket),
dataset_id: cdktf.stringToTerraform(struct.datasetId),
dataset_type: cdktf.stringToTerraform(struct.datasetType),
namespace: cdktf.stringToTerraform(struct.namespace),
object: cdktf.stringToTerraform(struct.object),
};
}
exports.aiDocumentModelTestingDatasetToTerraform = aiDocumentModelTestingDatasetToTerraform;
function aiDocumentModelTestingDatasetToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
bucket: {
value: cdktf.stringToHclTerraform(struct.bucket),
isBlock: false,
type: "simple",
storageClassType: "string",
},
dataset_id: {
value: cdktf.stringToHclTerraform(struct.datasetId),
isBlock: false,
type: "simple",
storageClassType: "string",
},
dataset_type: {
value: cdktf.stringToHclTerraform(struct.datasetType),
isBlock: false,
type: "simple",
storageClassType: "string",
},
namespace: {
value: cdktf.stringToHclTerraform(struct.namespace),
isBlock: false,
type: "simple",
storageClassType: "string",
},
object: {
value: cdktf.stringToHclTerraform(struct.object),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.aiDocumentModelTestingDatasetToHclTerraform = aiDocumentModelTestingDatasetToHclTerraform;
class AiDocumentModelTestingDatasetOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._bucket !== undefined) {
hasAnyValues = true;
internalValueResult.bucket = this._bucket;
}
if (this._datasetId !== undefined) {
hasAnyValues = true;
internalValueResult.datasetId = this._datasetId;
}
if (this._datasetType !== undefined) {
hasAnyValues = true;
internalValueResult.datasetType = this._datasetType;
}
if (this._namespace !== undefined) {
hasAnyValues = true;
internalValueResult.namespace = this._namespace;
}
if (this._object !== undefined) {
hasAnyValues = true;
internalValueResult.object = this._object;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._bucket = undefined;
this._datasetId = undefined;
this._datasetType = undefined;
this._namespace = undefined;
this._object = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._bucket = value.bucket;
this._datasetId = value.datasetId;
this._datasetType = value.datasetType;
this._namespace = value.namespace;
this._object = value.object;
}
}
get bucket() {
return this.getStringAttribute('bucket');
}
set bucket(value) {
this._bucket = value;
}
resetBucket() {
this._bucket = undefined;
}
// Temporarily expose input value. Use with caution.
get bucketInput() {
return this._bucket;
}
get datasetId() {
return this.getStringAttribute('dataset_id');
}
set datasetId(value) {
this._datasetId = value;
}
resetDatasetId() {
this._datasetId = undefined;
}
// Temporarily expose input value. Use with caution.
get datasetIdInput() {
return this._datasetId;
}
get datasetType() {
return this.getStringAttribute('dataset_type');
}
set datasetType(value) {
this._datasetType = value;
}
// Temporarily expose input value. Use with caution.
get datasetTypeInput() {
return this._datasetType;
}
get namespace() {
return this.getStringAttribute('namespace');
}
set namespace(value) {
this._namespace = value;
}
resetNamespace() {
this._namespace = undefined;
}
// Temporarily expose input value. Use with caution.
get namespaceInput() {
return this._namespace;
}
get object() {
return this.getStringAttribute('object');
}
set object(value) {
this._object = value;
}
resetObject() {
this._object = undefined;
}
// Temporarily expose input value. Use with caution.
get objectInput() {
return this._object;
}
}
exports.AiDocumentModelTestingDatasetOutputReference = AiDocumentModelTestingDatasetOutputReference;
_q = JSII_RTTI_SYMBOL_1;
AiDocumentModelTestingDatasetOutputReference[_q] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelTestingDatasetOutputReference", version: "1.0.0" };
function aiDocumentModelTimeoutsToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
create: cdktf.stringToTerraform(struct.create),
delete: cdktf.stringToTerraform(struct.delete),
update: cdktf.stringToTerraform(struct.update),
};
}
exports.aiDocumentModelTimeoutsToTerraform = aiDocumentModelTimeoutsToTerraform;
function aiDocumentModelTimeoutsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
create: {
value: cdktf.stringToHclTerraform(struct.create),
isBlock: false,
type: "simple",
storageClassType: "string",
},
delete: {
value: cdktf.stringToHclTerraform(struct.delete),
isBlock: false,
type: "simple",
storageClassType: "string",
},
update: {
value: cdktf.stringToHclTerraform(struct.update),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.aiDocumentModelTimeoutsToHclTerraform = aiDocumentModelTimeoutsToHclTerraform;
class AiDocumentModelTimeoutsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false);
this.isEmptyObject = false;
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._create !== undefined) {
hasAnyValues = true;
internalValueResult.create = this._create;
}
if (this._delete !== undefined) {
hasAnyValues = true;
internalValueResult.delete = this._delete;
}
if (this._update !== undefined) {
hasAnyValues = true;
internalValueResult.update = this._update;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._create = undefined;
this._delete = undefined;
this._update = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._create = value.create;
this._delete = value.delete;
this._update = value.update;
}
}
get create() {
return this.getStringAttribute('create');
}
set create(value) {
this._create = value;
}
resetCreate() {
this._create = undefined;
}
// Temporarily expose input value. Use with caution.
get createInput() {
return this._create;
}
get delete() {
return this.getStringAttribute('delete');
}
set delete(value) {
this._delete = value;
}
resetDelete() {
this._delete = undefined;
}
// Temporarily expose input value. Use with caution.
get deleteInput() {
return this._delete;
}
get update() {
return this.getStringAttribute('update');
}
set update(value) {
this._update = value;
}
resetUpdate() {
this._update = undefined;
}
// Temporarily expose input value. Use with caution.
get updateInput() {
return this._update;
}
}
exports.AiDocumentModelTimeoutsOutputReference = AiDocumentModelTimeoutsOutputReference;
_r = JSII_RTTI_SYMBOL_1;
AiDocumentModelTimeoutsOutputReference[_r] = { fqn: "rhizo-co-terraform-provider-oci.aiDocumentModel.AiDocumentModelTimeoutsOutputReference", version: "1.0.0" };
function aiDocumentModelTrainingDatasetToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
bucket: cdktf.stringToTerraform(struct.bucket),
dataset_id: cdktf.stringToTerraform(struct.datasetId),
dataset_type: cdktf.stringToTerraform(struct.datasetType),
namespace: cdktf.stringToTerraform(struct.namespace),
object: cdktf.stringToTerraform(struct.object),
};
}
exports.aiDocumentModelTrainingDatasetToTerraform = aiDocumentModelTrainingDatasetToTerraform;
function aiDocumentModelTrainingDatasetToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
bucket: {
value: cdktf.stringToHclTerraform(struct.bucket),
isBlock: false,
type: "simple",
storageClassType: "string",
},
dataset_id: {
value: cdktf.stringToHclTerraform(struct.datasetId),
isBlock: false,
type: "simple",
storageClassType: "string",
},
dataset_type: {
value: cdktf.stringToHclTerraform(struct.datasetType),
isBlock: false,
type: "simple",
storageClassType: "string",
},
namespace: {
value: cdktf.stringToHclTerraform(struct.namespace),
isBlock: false,
type: "simple",
storageClassType: "string",
},
object: {
value: cdktf.stringToHclTerraform(struct.object),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.aiDocumentModelTrainingDatasetToHclTerraform = aiDocumentModelTrainingDatasetToHclTerraform;
class AiDocumentModelTrainingDatasetOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._bucket !== undefined) {
hasAnyValues = true;
internalValueResult.bucket = this._bucket;
}
if (this._datasetId !== undefined) {
hasAnyValues = true;
internalValueResult.datasetId = this._datasetId;
}
if (this._datasetType !== undefined) {
hasAnyValues = true;
internalValueResult.datasetType = this._datasetType;
}
if (this._namespace !== undefined) {
hasAnyValues = true;
internalValueResult.namespace = this._namespace;
}
if (this._object !== undefined) {
hasAnyValues = true;
internalValueResult.object = this._object;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._bucket = undefined;
this._datasetId = undefined;
this._datasetType = undefined;
this._namespace = undefined;
this._object = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._bucket = value.bucket;
this._datasetId = value.datasetId;
this._datasetType = value.datasetType;
this._namespace = value.namespace;
this._object = value.object;
}
}
get bucket() {
return this.getStringAttribute('bucket');
}
set bucket(value) {
this._bucket = value;
}
resetBucket() {
this._bucket = undefined;
}
// Temporarily expose input value. Use with caution.
get bucketInput() {
return this._bucket;
}
get datasetId() {
return this.getStringAttribute('dataset_id');
}
set datasetId(value) {
this._datasetId = value;
}
resetDatasetId() {
this._datasetId = undefined;
}
// Temporarily expose input value. Use with caution.
get datasetIdInput