GenericArtifactDetails¶
- class oci.fleet_apps_management.models.GenericArtifactDetails(**kwargs)¶
Bases:
ArtifactDetailsPatch artifact description and content details if common for all platforms.
Attributes:
A constant which can be used with the category property of a ArtifactDetails.
A constant which can be used with the category property of a ArtifactDetails.
[Required] Gets the artifact of this GenericArtifactDetails.
[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'¶
A constant which can be used with the category property of a ArtifactDetails. This constant has a value of “GENERIC”
- CATEGORY_PLATFORM_SPECIFIC = 'PLATFORM_SPECIFIC'¶
A constant which can be used with the category property of a ArtifactDetails. This constant has a value of “PLATFORM_SPECIFIC”
- __init__(**kwargs)¶
Initializes a new GenericArtifactDetails object with values from keyword arguments. The default value of the
categoryattribute of this class isGENERICand 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.
- property artifact¶
[Required] Gets the artifact of this GenericArtifactDetails.
- Returns
The artifact of this GenericArtifactDetails.
- Return type
- property 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.