GenericArtifactDetails¶
-
class
oci.fleet_apps_management.models.
GenericArtifactDetails
(**kwargs)¶ Bases:
oci.fleet_apps_management.models.artifact_details.ArtifactDetails
Patch artifact description and content details if common for all platforms.
Attributes
CATEGORY_GENERIC
str(object=’’) -> str CATEGORY_PLATFORM_SPECIFIC
str(object=’’) -> str artifact
[Required] Gets the artifact of this GenericArtifactDetails. category
[Required] Gets the category of this ArtifactDetails. Methods
__init__
(**kwargs)Initializes a new GenericArtifactDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
CATEGORY_GENERIC
= 'GENERIC'¶
-
CATEGORY_PLATFORM_SPECIFIC
= 'PLATFORM_SPECIFIC'¶
-
__init__
(**kwargs)¶ Initializes a new GenericArtifactDetails object with values from keyword arguments. The default value of the
category
attribute of this class isGENERIC
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - category (str) – The value to assign to the category property of this GenericArtifactDetails. Allowed values for this property are: “GENERIC”, “PLATFORM_SPECIFIC”
- artifact (oci.fleet_apps_management.models.GenericArtifact) – The value to assign to the artifact property of this GenericArtifactDetails.
-
artifact
¶ [Required] Gets the artifact of this GenericArtifactDetails.
Returns: The artifact of this GenericArtifactDetails. Return type: oci.fleet_apps_management.models.GenericArtifact
-
category
¶ [Required] Gets the category of this ArtifactDetails. Artifact category details.
Allowed values for this property are: “GENERIC”, “PLATFORM_SPECIFIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The category of this ArtifactDetails. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-