OlvmTemplateVersion

class oci.cloud_migrations.models.OlvmTemplateVersion(**kwargs)

Bases: object

Indicates whether this is the base version or a sub-version of another template.

Methods

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

Attributes

version_name Gets the version_name of this OlvmTemplateVersion.
version_number Gets the version_number of this OlvmTemplateVersion.
__init__(**kwargs)

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

Parameters:
  • version_name (str) – The value to assign to the version_name property of this OlvmTemplateVersion.
  • version_number (int) – The value to assign to the version_number property of this OlvmTemplateVersion.
version_name

Gets the version_name of this OlvmTemplateVersion. The name of this version.

Returns:The version_name of this OlvmTemplateVersion.
Return type:str
version_number

Gets the version_number of this OlvmTemplateVersion. The index of this version in the versions hierarchy of the template.

Returns:The version_number of this OlvmTemplateVersion.
Return type:int