OlvmTemplateVersion¶
- class oci.cloud_migrations.models.OlvmTemplateVersion(**kwargs)¶
Bases:
objectIndicates 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:
Gets the version_name of this OlvmTemplateVersion.
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.
- property version_name¶
Gets the version_name of this OlvmTemplateVersion. The name of this version.
- Returns
The version_name of this OlvmTemplateVersion.
- Return type
str
- property 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