AttachmentSummary

class oci.marketplace_private_offer.models.AttachmentSummary(**kwargs)

Bases: object

Description of Attachment.

Methods

__init__(**kwargs) Initializes a new AttachmentSummary object with values from keyword arguments.

Attributes

defined_tags [Required] Gets the defined_tags of this AttachmentSummary.
display_name [Required] Gets the display_name of this AttachmentSummary.
freeform_tags [Required] Gets the freeform_tags of this AttachmentSummary.
id [Required] Gets the id of this AttachmentSummary.
lifecycle_state [Required] Gets the lifecycle_state of this AttachmentSummary.
mime_type Gets the mime_type of this AttachmentSummary.
offer_id [Required] Gets the offer_id of this AttachmentSummary.
type [Required] Gets the type of this AttachmentSummary.
__init__(**kwargs)

Initializes a new AttachmentSummary 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 AttachmentSummary.
  • offer_id (str) – The value to assign to the offer_id property of this AttachmentSummary.
  • mime_type (str) – The value to assign to the mime_type property of this AttachmentSummary.
  • display_name (str) – The value to assign to the display_name property of this AttachmentSummary.
  • type (str) – The value to assign to the type property of this AttachmentSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AttachmentSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AttachmentSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AttachmentSummary.
defined_tags

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

[Required] Gets the display_name of this AttachmentSummary. The name used to refer to the uploaded data.

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

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

[Required] Gets the id of this AttachmentSummary. Unique identifier that is immutable on creation

Returns:The id of this AttachmentSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this AttachmentSummary. The current state of the Attachment.

Returns:The lifecycle_state of this AttachmentSummary.
Return type:str
mime_type

Gets the mime_type of this AttachmentSummary. The MIME type of the uploaded data.

Returns:The mime_type of this AttachmentSummary.
Return type:str
offer_id

[Required] Gets the offer_id of this AttachmentSummary. Unique identifier of the associated offer that is immutable on creation

Returns:The offer_id of this AttachmentSummary.
Return type:str
type

[Required] Gets the type of this AttachmentSummary. The type of offer attachment.

Returns:The type of this AttachmentSummary.
Return type:str