CatalogContentDetails

class oci.fleet_apps_management.models.CatalogContentDetails(**kwargs)

Bases: oci.fleet_apps_management.models.content_details.ContentDetails

Details for Terraform content.

Attributes

SOURCE_TYPE_CATALOG str(object=’’) -> str
SOURCE_TYPE_OBJECT_STORAGE_BUCKET str(object=’’) -> str
catalog_id [Required] Gets the catalog_id of this CatalogContentDetails.
source_type [Required] Gets the source_type of this ContentDetails.

Methods

__init__(**kwargs) Initializes a new CatalogContentDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
SOURCE_TYPE_CATALOG = 'CATALOG'
SOURCE_TYPE_OBJECT_STORAGE_BUCKET = 'OBJECT_STORAGE_BUCKET'
__init__(**kwargs)

Initializes a new CatalogContentDetails object with values from keyword arguments. The default value of the source_type attribute of this class is CATALOG and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • source_type (str) – The value to assign to the source_type property of this CatalogContentDetails. Allowed values for this property are: “OBJECT_STORAGE_BUCKET”, “CATALOG”
  • catalog_id (str) – The value to assign to the catalog_id property of this CatalogContentDetails.
catalog_id

[Required] Gets the catalog_id of this CatalogContentDetails. Catalog Id having terraform package.

Returns:The catalog_id of this CatalogContentDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

source_type

[Required] Gets the source_type of this ContentDetails. Content Source type details.

Allowed values for this property are: “OBJECT_STORAGE_BUCKET”, “CATALOG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The source_type of this ContentDetails.
Return type:str