AdminTermVersion¶
- class oci.marketplace_publisher.models.AdminTermVersion(**kwargs)¶
Bases:
objectModel object for the term version details.
Attributes:
A constant which can be used with the author property of a AdminTermVersion.
A constant which can be used with the author property of a AdminTermVersion.
A constant which can be used with the term_author property of a AdminTermVersion.
A constant which can be used with the term_author property of a AdminTermVersion.
[Required] Gets the attachment of this AdminTermVersion.
Gets the author of this AdminTermVersion.
Gets the compartment_id of this AdminTermVersion.
Gets the defined_tags of this AdminTermVersion.
[Required] Gets the display_name of this AdminTermVersion.
Gets the freeform_tags of this AdminTermVersion.
Gets the id of this AdminTermVersion.
Gets the legacy_id of this AdminTermVersion.
[Required] Gets the lifecycle_state of this AdminTermVersion.
[Required] Gets the status of this AdminTermVersion.
Gets the system_tags of this AdminTermVersion.
Gets the term_author of this AdminTermVersion.
[Required] Gets the term_id of this AdminTermVersion.
[Required] Gets the time_created of this AdminTermVersion.
[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.
- property attachment¶
[Required] Gets the attachment of this AdminTermVersion.
- Returns
The attachment of this AdminTermVersion.
- Return type
- property 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
- property 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
- property 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))
- property 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
- property 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)
- property id¶
Gets the id of this AdminTermVersion. Unique OCID identifier for the term version.
- Returns
The id of this AdminTermVersion.
- Return type
str
- property 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
- property 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
- property status¶
[Required] Gets the status of this AdminTermVersion. The current status for the term version.
- Returns
The status of this AdminTermVersion.
- Return type
str
- property 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))
- property 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
- property 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