TermVersionAttachment

class oci.marketplace_publisher.models.TermVersionAttachment(**kwargs)

Bases: object

An attachment uploaded by the Publisher for the term.

Methods:

__init__(**kwargs)

Initializes a new TermVersionAttachment object with values from keyword arguments.

Attributes:

content_url

[Required] Gets the content_url of this TermVersionAttachment.

mime_type

[Required] Gets the mime_type of this TermVersionAttachment.

__init__(**kwargs)

Initializes a new TermVersionAttachment object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • content_url (str) – The value to assign to the content_url property of this TermVersionAttachment.

  • mime_type (str) – The value to assign to the mime_type property of this TermVersionAttachment.

property content_url

[Required] Gets the content_url of this TermVersionAttachment. The content URL of the uploaded data.

Returns

The content_url of this TermVersionAttachment.

Return type

str

property mime_type

[Required] Gets the mime_type of this TermVersionAttachment. The MIME type of the uploaded data.

Returns

The mime_type of this TermVersionAttachment.

Return type

str