Package

class oci.oda.models.Package(**kwargs)

Bases: object

Details of Package object.

Methods

__init__(**kwargs) Initializes a new Package object with values from keyword arguments.

Attributes

default_parameter_values [Required] Gets the default_parameter_values of this Package.
defined_tags Gets the defined_tags of this Package.
description [Required] Gets the description of this Package.
display_name [Required] Gets the display_name of this Package.
freeform_tags Gets the freeform_tags of this Package.
id [Required] Gets the id of this Package.
import_contract [Required] Gets the import_contract of this Package.
name [Required] Gets the name of this Package.
publisher_id [Required] Gets the publisher_id of this Package.
publisher_metadata [Required] Gets the publisher_metadata of this Package.
resource_types [Required] Gets the resource_types of this Package.
resource_types_metadata [Required] Gets the resource_types_metadata of this Package.
time_published [Required] Gets the time_published of this Package.
time_uploaded [Required] Gets the time_uploaded of this Package.
version [Required] Gets the version of this Package.
__init__(**kwargs)

Initializes a new Package object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this Package.
  • publisher_id (str) – The value to assign to the publisher_id property of this Package.
  • name (str) – The value to assign to the name property of this Package.
  • display_name (str) – The value to assign to the display_name property of this Package.
  • version (str) – The value to assign to the version property of this Package.
  • time_uploaded (datetime) – The value to assign to the time_uploaded property of this Package.
  • time_published (datetime) – The value to assign to the time_published property of this Package.
  • description (str) – The value to assign to the description property of this Package.
  • resource_types (list[str]) – The value to assign to the resource_types property of this Package.
  • resource_types_metadata (list[oci.oda.models.ResourceTypeMetadata]) – The value to assign to the resource_types_metadata property of this Package.
  • publisher_metadata (list[oci.oda.models.MetadataProperty]) – The value to assign to the publisher_metadata property of this Package.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Package.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Package.
  • import_contract (oci.oda.models.ImportContract) – The value to assign to the import_contract property of this Package.
  • default_parameter_values (oci.oda.models.DefaultParameterValues) – The value to assign to the default_parameter_values property of this Package.
default_parameter_values

[Required] Gets the default_parameter_values of this Package.

Returns:The default_parameter_values of this Package.
Return type:oci.oda.models.DefaultParameterValues
defined_tags

Gets the defined_tags of this Package. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this Package.
Return type:dict(str, dict(str, object))
description

[Required] Gets the description of this Package. Description of the package.

Returns:The description of this Package.
Return type:str
display_name

[Required] Gets the display_name of this Package. Display name for the package (displayed in UI and user-facing applications).

Returns:The display_name of this Package.
Return type:str
freeform_tags

Gets the freeform_tags of this Package. Simple key-value pair that is applied without any predefined name, type, or scope. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this Package.
Return type:dict(str, str)
id

[Required] Gets the id of this Package. Unique immutable identifier that was assigned when the Package was registered.

Returns:The id of this Package.
Return type:str
import_contract

[Required] Gets the import_contract of this Package.

Returns:The import_contract of this Package.
Return type:oci.oda.models.ImportContract
name

[Required] Gets the name of this Package. Name of package.

Returns:The name of this Package.
Return type:str
publisher_id

[Required] Gets the publisher_id of this Package. ID of the publisher providing the package.

Returns:The publisher_id of this Package.
Return type:str
publisher_metadata

[Required] Gets the publisher_metadata of this Package. A map of metadata key/value pairs that further describes the publisher and the platform in which the package might be used.

Returns:The publisher_metadata of this Package.
Return type:list[oci.oda.models.MetadataProperty]
resource_types

[Required] Gets the resource_types of this Package. A list of resource types describing the content of the package.

Returns:The resource_types of this Package.
Return type:list[str]
resource_types_metadata

[Required] Gets the resource_types_metadata of this Package. A map of resource type to metadata key/value map that further describes the content for the resource types in this package.. Keys are resource type names, values are a map of name/value pairs per resource type.

Returns:The resource_types_metadata of this Package.
Return type:list[oci.oda.models.ResourceTypeMetadata]
time_published

[Required] Gets the time_published of this Package. When the package was last published. A date-time string as described in RFC 3339, section 14.29.

Returns:The time_published of this Package.
Return type:datetime
time_uploaded

[Required] Gets the time_uploaded of this Package. When the package was uploaded. A date-time string as described in RFC 3339, section 14.29.

Returns:The time_uploaded of this Package.
Return type:datetime
version

[Required] Gets the version of this Package. Version of the package.

Returns:The version of this Package.
Return type:str