AdminTermVersion

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

Bases: object

Model object for the term version details.

Attributes

AUTHOR_ORACLE A constant which can be used with the author property of a AdminTermVersion.
AUTHOR_PARTNER A constant which can be used with the author property of a AdminTermVersion.
TERM_AUTHOR_ORACLE A constant which can be used with the term_author property of a AdminTermVersion.
TERM_AUTHOR_PARTNER A constant which can be used with the term_author property of a AdminTermVersion.
attachment [Required] Gets the attachment of this AdminTermVersion.
author Gets the author of this AdminTermVersion.
compartment_id Gets the compartment_id of this AdminTermVersion.
defined_tags Gets the defined_tags of this AdminTermVersion.
display_name [Required] Gets the display_name of this AdminTermVersion.
freeform_tags Gets the freeform_tags of this AdminTermVersion.
id Gets the id of this AdminTermVersion.
legacy_id Gets the legacy_id of this AdminTermVersion.
lifecycle_state [Required] Gets the lifecycle_state of this AdminTermVersion.
status [Required] Gets the status of this AdminTermVersion.
system_tags Gets the system_tags of this AdminTermVersion.
term_author Gets the term_author of this AdminTermVersion.
term_id [Required] Gets the term_id of this AdminTermVersion.
time_created [Required] Gets the time_created of this AdminTermVersion.
time_updated [Required] Gets the time_updated of this AdminTermVersion.

Methods

__init__(**kwargs) Initializes a new AdminTermVersion object with values from keyword arguments.
AUTHOR_ORACLE = 'ORACLE'

A constant which can be used with the author property of a AdminTermVersion. This constant has a value of “ORACLE”

AUTHOR_PARTNER = 'PARTNER'

A constant which can be used with the author property of a AdminTermVersion. This constant has a value of “PARTNER”

TERM_AUTHOR_ORACLE = 'ORACLE'

A constant which can be used with the term_author property of a AdminTermVersion. This constant has a value of “ORACLE”

TERM_AUTHOR_PARTNER = 'PARTNER'

A constant which can be used with the term_author property of a AdminTermVersion. This constant has a value of “PARTNER”

__init__(**kwargs)

Initializes a new AdminTermVersion 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 AdminTermVersion.
  • legacy_id (str) – The value to assign to the legacy_id property of this AdminTermVersion.
  • term_id (str) – The value to assign to the term_id property of this AdminTermVersion.
  • term_author (str) – The value to assign to the term_author property of this AdminTermVersion. Allowed values for this property are: “ORACLE”, “PARTNER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • display_name (str) – The value to assign to the display_name property of this AdminTermVersion.
  • compartment_id (str) – The value to assign to the compartment_id property of this AdminTermVersion.
  • author (str) – The value to assign to the author property of this AdminTermVersion. Allowed values for this property are: “ORACLE”, “PARTNER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • attachment (oci.marketplace_publisher.models.AdminTermVersionAttachment) – The value to assign to the attachment property of this AdminTermVersion.
  • status (str) – The value to assign to the status property of this AdminTermVersion.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AdminTermVersion.
  • time_created (datetime) – The value to assign to the time_created property of this AdminTermVersion.
  • time_updated (datetime) – The value to assign to the time_updated property of this AdminTermVersion.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AdminTermVersion.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AdminTermVersion.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AdminTermVersion.
attachment

[Required] Gets the attachment of this AdminTermVersion.

Returns:The attachment of this AdminTermVersion.
Return type:oci.marketplace_publisher.models.AdminTermVersionAttachment
author

Gets the author of this AdminTermVersion. Who authored the term. Publisher terms will be defaulted to ‘PARTNER’.

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

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

Gets the compartment_id of this AdminTermVersion. The unique identifier for the compartment.

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

Gets the defined_tags of this AdminTermVersion. 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 AdminTermVersion.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this AdminTermVersion. The name for the term version.

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

Gets the freeform_tags of this AdminTermVersion. 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 AdminTermVersion.
Return type:dict(str, str)
id

Gets the id of this AdminTermVersion. Unique OCID identifier for the term version.

Returns:The id of this AdminTermVersion.
Return type:str
legacy_id

Gets the legacy_id of this AdminTermVersion. The unique legacy identifier for the term version.

Returns:The legacy_id of this AdminTermVersion.
Return type:str
lifecycle_state

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

Returns:The lifecycle_state of this AdminTermVersion.
Return type:str
status

[Required] Gets the status of this AdminTermVersion. The current status for the term version.

Returns:The status of this AdminTermVersion.
Return type:str
system_tags

Gets the system_tags of this AdminTermVersion. 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 AdminTermVersion.
Return type:dict(str, dict(str, object))
term_author

Gets the term_author of this AdminTermVersion. Who authored the term. Publisher terms will be defaulted to ‘PARTNER’.

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

Returns:The term_author of this AdminTermVersion.
Return type:str
term_id

[Required] Gets the term_id of this AdminTermVersion. The unique identifier for the term.

Returns:The term_id of this AdminTermVersion.
Return type:str
time_created

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

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

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

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

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

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