ListingRevisionNote¶
-
class
oci.marketplace_publisher.models.
ListingRevisionNote
(**kwargs)¶ Bases:
object
The model for the listing revision notes.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a ListingRevisionNote. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a ListingRevisionNote. NOTE_SOURCE_ADMINISTRATOR
A constant which can be used with the note_source property of a ListingRevisionNote. NOTE_SOURCE_PUBLISHER
A constant which can be used with the note_source property of a ListingRevisionNote. compartment_id
[Required] Gets the compartment_id of this ListingRevisionNote. defined_tags
Gets the defined_tags of this ListingRevisionNote. freeform_tags
Gets the freeform_tags of this ListingRevisionNote. id
[Required] Gets the id of this ListingRevisionNote. lifecycle_state
Gets the lifecycle_state of this ListingRevisionNote. listing_revision_id
[Required] Gets the listing_revision_id of this ListingRevisionNote. note_details
[Required] Gets the note_details of this ListingRevisionNote. note_source
[Required] Gets the note_source of this ListingRevisionNote. system_tags
Gets the system_tags of this ListingRevisionNote. time_created
[Required] Gets the time_created of this ListingRevisionNote. time_updated
[Required] Gets the time_updated of this ListingRevisionNote. Methods
__init__
(**kwargs)Initializes a new ListingRevisionNote object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a ListingRevisionNote. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a ListingRevisionNote. This constant has a value of “DELETED”
-
NOTE_SOURCE_ADMINISTRATOR
= 'ADMINISTRATOR'¶ A constant which can be used with the note_source property of a ListingRevisionNote. This constant has a value of “ADMINISTRATOR”
-
NOTE_SOURCE_PUBLISHER
= 'PUBLISHER'¶ A constant which can be used with the note_source property of a ListingRevisionNote. This constant has a value of “PUBLISHER”
-
__init__
(**kwargs)¶ Initializes a new ListingRevisionNote 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 ListingRevisionNote.
- listing_revision_id (str) – The value to assign to the listing_revision_id property of this ListingRevisionNote.
- compartment_id (str) – The value to assign to the compartment_id property of this ListingRevisionNote.
- note_source (str) – The value to assign to the note_source property of this ListingRevisionNote. Allowed values for this property are: “PUBLISHER”, “ADMINISTRATOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- note_details (str) – The value to assign to the note_details property of this ListingRevisionNote.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ListingRevisionNote. Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this ListingRevisionNote.
- time_updated (datetime) – The value to assign to the time_updated property of this ListingRevisionNote.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ListingRevisionNote.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ListingRevisionNote.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ListingRevisionNote.
-
compartment_id
¶ [Required] Gets the compartment_id of this ListingRevisionNote. The unique identifier for the compartment.
Returns: The compartment_id of this ListingRevisionNote. Return type: str
Gets the defined_tags of this ListingRevisionNote. 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 ListingRevisionNote. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this ListingRevisionNote. 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 ListingRevisionNote. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this ListingRevisionNote. The OCID of the listing revision note.
Returns: The id of this ListingRevisionNote. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this ListingRevisionNote. The current state of the listing revision note.
Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this ListingRevisionNote. Return type: str
-
listing_revision_id
¶ [Required] Gets the listing_revision_id of this ListingRevisionNote. The unique identifier of the listing revision that the specified note belongs to.
Returns: The listing_revision_id of this ListingRevisionNote. Return type: str
-
note_details
¶ [Required] Gets the note_details of this ListingRevisionNote. Notes provided for the listing revision.
Returns: The note_details of this ListingRevisionNote. Return type: str
-
note_source
¶ [Required] Gets the note_source of this ListingRevisionNote. type of the note.
Allowed values for this property are: “PUBLISHER”, “ADMINISTRATOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The note_source of this ListingRevisionNote. Return type: str
Gets the system_tags of this ListingRevisionNote. 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 ListingRevisionNote. Return type: dict(str, dict(str, object))
-