TermSummary

class oci.marketplace_publisher.models.TermSummary(**kwargs)

Bases: object

The model for the term summary.

Methods

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

Attributes

author [Required] Gets the author of this TermSummary.
compartment_id [Required] Gets the compartment_id of this TermSummary.
defined_tags Gets the defined_tags of this TermSummary.
freeform_tags Gets the freeform_tags of this TermSummary.
id [Required] Gets the id of this TermSummary.
lifecycle_state [Required] Gets the lifecycle_state of this TermSummary.
name [Required] Gets the name of this TermSummary.
system_tags Gets the system_tags of this TermSummary.
time_created [Required] Gets the time_created of this TermSummary.
time_updated [Required] Gets the time_updated of this TermSummary.
__init__(**kwargs)

Initializes a new TermSummary 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 TermSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this TermSummary.
  • name (str) – The value to assign to the name property of this TermSummary.
  • author (str) – The value to assign to the author property of this TermSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this TermSummary.
  • time_created (datetime) – The value to assign to the time_created property of this TermSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this TermSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this TermSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this TermSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this TermSummary.
author

[Required] Gets the author of this TermSummary. Who authored the term. Publisher terms will be defaulted to as ‘PARTNER’.

Returns:The author of this TermSummary.
Return type:str
compartment_id

[Required] Gets the compartment_id of this TermSummary. The unique identifier for the compartment.

Returns:The compartment_id of this TermSummary.
Return type:str
defined_tags

Gets the defined_tags of this TermSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this TermSummary.
Return type:dict(str, dict(str, object))
freeform_tags

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

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

[Required] Gets the id of this TermSummary. Unique OCID identifier for the term.

Returns:The id of this TermSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this TermSummary. The current state for the term version.

Returns:The lifecycle_state of this TermSummary.
Return type:str
name

[Required] Gets the name of this TermSummary. The name for the term.

Returns:The name of this TermSummary.
Return type:str
system_tags

Gets the system_tags of this TermSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this TermSummary.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this TermSummary. The date and time the resource was created, in the format defined by RFC3339.

Example: 2022-09-15T21:10:29.600Z

Returns:The time_created of this TermSummary.
Return type:datetime
time_updated

[Required] Gets the time_updated of this TermSummary. The date and time the resource was updated, in the format defined by RFC3339.

Example: 2022-09-15T21:10:29.600Z

Returns:The time_updated of this TermSummary.
Return type:datetime