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
author[Required] Gets the author of this AdminTerm. compartment_id[Required] Gets the compartment_id of this AdminTerm. defined_tagsGets the defined_tags of this AdminTerm. freeform_tagsGets the freeform_tags of this AdminTerm. idGets the id of this AdminTerm. legacy_idGets the legacy_id of this AdminTerm. lifecycle_state[Required] Gets the lifecycle_state of this AdminTerm. name[Required] Gets the name of this AdminTerm. publisher_id[Required] Gets the publisher_id of this AdminTerm. system_tagsGets the system_tags of this AdminTerm. time_created[Required] Gets the time_created of this AdminTerm. time_updated[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.
[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
-
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
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))
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)
-
id¶ Gets the id of this AdminTerm. Unique OCID identifier for the term.
Returns: The id of this AdminTerm. Return type: str
-
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
-
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
-
name¶ [Required] Gets the name of this AdminTerm. The name for the term.
Returns: The name of this AdminTerm. Return type: str
-
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
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))
-