OlvmIcon

class oci.cloud_bridge.models.OlvmIcon(**kwargs)

Bases: object

Icon of virtual machine or template.

Methods:

__init__(**kwargs)

Initializes a new OlvmIcon object with values from keyword arguments.

Attributes:

comment

Gets the comment of this OlvmIcon.

data

Gets the data of this OlvmIcon.

description

Gets the description of this OlvmIcon.

id

Gets the id of this OlvmIcon.

media_type

Gets the media_type of this OlvmIcon.

name

Gets the name of this OlvmIcon.

__init__(**kwargs)

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

Parameters
  • comment (str) – The value to assign to the comment property of this OlvmIcon.

  • data (str) – The value to assign to the data property of this OlvmIcon.

  • description (str) – The value to assign to the description property of this OlvmIcon.

  • id (str) – The value to assign to the id property of this OlvmIcon.

  • media_type (str) – The value to assign to the media_type property of this OlvmIcon.

  • name (str) – The value to assign to the name property of this OlvmIcon.

property comment

Gets the comment of this OlvmIcon. Free text containing comments about this object.

Returns

The comment of this OlvmIcon.

Return type

str

property data

Gets the data of this OlvmIcon. Base64 encode content of the icon file.

Returns

The data of this OlvmIcon.

Return type

str

property description

Gets the description of this OlvmIcon. A human-readable description in plain text.

Returns

The description of this OlvmIcon.

Return type

str

property id

Gets the id of this OlvmIcon. A unique identifier.

Returns

The id of this OlvmIcon.

Return type

str

property media_type

Gets the media_type of this OlvmIcon. Format of icon file.

Returns

The media_type of this OlvmIcon.

Return type

str

property name

Gets the name of this OlvmIcon. Name of the property.

Returns

The name of this OlvmIcon.

Return type

str