ComponentVersion¶
-
class
oci.core.models.ComponentVersion(**kwargs)¶ Bases:
objectRepresents a specific component type and its associated firmware versions.
Methods
__init__(**kwargs)Initializes a new ComponentVersion object with values from keyword arguments. Attributes
component_type[Required] Gets the component_type of this ComponentVersion. version[Required] Gets the version of this ComponentVersion. -
__init__(**kwargs)¶ Initializes a new ComponentVersion object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - component_type (str) – The value to assign to the component_type property of this ComponentVersion.
- version (list[str]) – The value to assign to the version property of this ComponentVersion.
-
component_type¶ [Required] Gets the component_type of this ComponentVersion. The type of component.
Returns: The component_type of this ComponentVersion. Return type: str
-
version¶ [Required] Gets the version of this ComponentVersion. A list of firmware versions associated with this component type.
Returns: The version of this ComponentVersion. Return type: list[str]
-