PackageSummary¶
-
class
oci.oda.models.
PackageSummary
(**kwargs)¶ Bases:
object
Summary of Package object.
Methods
__init__
(**kwargs)Initializes a new PackageSummary object with values from keyword arguments. Attributes
defined_tags
Gets the defined_tags of this PackageSummary. description
[Required] Gets the description of this PackageSummary. display_name
[Required] Gets the display_name of this PackageSummary. freeform_tags
Gets the freeform_tags of this PackageSummary. id
[Required] Gets the id of this PackageSummary. name
[Required] Gets the name of this PackageSummary. publisher_id
[Required] Gets the publisher_id of this PackageSummary. publisher_metadata
[Required] Gets the publisher_metadata of this PackageSummary. resource_types
[Required] Gets the resource_types of this PackageSummary. resource_types_metadata
[Required] Gets the resource_types_metadata of this PackageSummary. time_published
[Required] Gets the time_published of this PackageSummary. version
[Required] Gets the version of this PackageSummary. -
__init__
(**kwargs)¶ Initializes a new PackageSummary 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 PackageSummary.
- publisher_id (str) – The value to assign to the publisher_id property of this PackageSummary.
- name (str) – The value to assign to the name property of this PackageSummary.
- display_name (str) – The value to assign to the display_name property of this PackageSummary.
- version (str) – The value to assign to the version property of this PackageSummary.
- time_published (datetime) – The value to assign to the time_published property of this PackageSummary.
- description (str) – The value to assign to the description property of this PackageSummary.
- resource_types (list[str]) – The value to assign to the resource_types property of this PackageSummary.
- resource_types_metadata (list[oci.oda.models.ResourceTypeMetadata]) – The value to assign to the resource_types_metadata property of this PackageSummary.
- publisher_metadata (list[oci.oda.models.MetadataProperty]) – The value to assign to the publisher_metadata property of this PackageSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this PackageSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this PackageSummary.
Gets the defined_tags of this PackageSummary. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this PackageSummary. Return type: dict(str, dict(str, object))
-
description
¶ [Required] Gets the description of this PackageSummary. Description of the package.
Returns: The description of this PackageSummary. Return type: str
-
display_name
¶ [Required] Gets the display_name of this PackageSummary. Display name for the package (displayed in UI and user-facing applications).
Returns: The display_name of this PackageSummary. Return type: str
Gets the freeform_tags of this PackageSummary. Simple key-value pair that is applied without any predefined name, type, or scope. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this PackageSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this PackageSummary. Unique immutable identifier that was assigned when the Package was registered.
Returns: The id of this PackageSummary. Return type: str
-
name
¶ [Required] Gets the name of this PackageSummary. Name of package.
Returns: The name of this PackageSummary. Return type: str
-
publisher_id
¶ [Required] Gets the publisher_id of this PackageSummary. ID of the publisher providing the package.
Returns: The publisher_id of this PackageSummary. Return type: str
-
publisher_metadata
¶ [Required] Gets the publisher_metadata of this PackageSummary. 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 PackageSummary. Return type: list[oci.oda.models.MetadataProperty]
-
resource_types
¶ [Required] Gets the resource_types of this PackageSummary. A list of resource types describing the content of the package.
Returns: The resource_types of this PackageSummary. Return type: list[str]
-
resource_types_metadata
¶ [Required] Gets the resource_types_metadata of this PackageSummary. 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 PackageSummary. Return type: list[oci.oda.models.ResourceTypeMetadata]
-
time_published
¶ [Required] Gets the time_published of this PackageSummary. When the package was last published. A date-time string as described in RFC 3339, section 14.29.
Returns: The time_published of this PackageSummary. Return type: datetime
-
version
¶ [Required] Gets the version of this PackageSummary. Version of the package.
Returns: The version of this PackageSummary. Return type: str
-