AdminTerm¶
- class oci.marketplace_publisher.models.AdminTerm(**kwargs)¶
Bases:
objectBase model object for the admin term.
Methods:
__init__(**kwargs)Initializes a new AdminTerm object with values from keyword arguments.
Attributes:
[Required] Gets the author of this AdminTerm.
[Required] Gets the compartment_id of this AdminTerm.
Gets the defined_tags of this AdminTerm.
Gets the freeform_tags of this AdminTerm.
Gets the id of this AdminTerm.
Gets the legacy_id of this AdminTerm.
[Required] Gets the lifecycle_state of this AdminTerm.
[Required] Gets the name of this AdminTerm.
[Required] Gets the publisher_id of this AdminTerm.
Gets the system_tags of this AdminTerm.
[Required] Gets the time_created of this AdminTerm.
[Required] Gets the time_updated of this AdminTerm.
- __init__(**kwargs)¶
Initializes a new AdminTerm 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 AdminTerm.
legacy_id (str) – The value to assign to the legacy_id property of this AdminTerm.
name (str) – The value to assign to the name property of this AdminTerm.
author (str) – The value to assign to the author property of this AdminTerm.
compartment_id (str) – The value to assign to the compartment_id property of this AdminTerm.
publisher_id (str) – The value to assign to the publisher_id property of this AdminTerm.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this AdminTerm.
time_created (datetime) – The value to assign to the time_created property of this AdminTerm.
time_updated (datetime) – The value to assign to the time_updated property of this AdminTerm.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AdminTerm.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AdminTerm.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AdminTerm.
- property author¶
[Required] Gets the author of this AdminTerm. Who authored the term. Publisher terms will be defaulted to ‘PARTNER’.
- Returns
The author of this AdminTerm.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this AdminTerm. The unique identifier for the compartment.
- Returns
The compartment_id of this AdminTerm.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this AdminTerm. 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 AdminTerm.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this AdminTerm. 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 AdminTerm.
- Return type
dict(str, str)
- property id¶
Gets the id of this AdminTerm. Unique OCID identifier for the term.
- Returns
The id of this AdminTerm.
- Return type
str
- property legacy_id¶
Gets the legacy_id of this AdminTerm. The unique legacy identifier for the term.
- Returns
The legacy_id of this AdminTerm.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this AdminTerm. The current state for the Term.
- Returns
The lifecycle_state of this AdminTerm.
- Return type
str
- property name¶
[Required] Gets the name of this AdminTerm. The name for the term.
- Returns
The name of this AdminTerm.
- Return type
str
- property publisher_id¶
[Required] Gets the publisher_id of this AdminTerm. The unique identifier for the publisher.
- Returns
The publisher_id of this AdminTerm.
- Return type
str
- property system_tags¶
Gets the system_tags of this AdminTerm. 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 AdminTerm.
- Return type
dict(str, dict(str, object))