ArtifactDetails

class oci.fleet_apps_management.models.ArtifactDetails(**kwargs)

Bases: object

Patch artifact description and content details.

Attributes

CATEGORY_GENERIC A constant which can be used with the category property of a ArtifactDetails.
CATEGORY_PLATFORM_SPECIFIC A constant which can be used with the category property of a ArtifactDetails.
category [Required] Gets the category of this ArtifactDetails.

Methods

__init__(**kwargs) Initializes a new ArtifactDetails 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 ArtifactDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 ArtifactDetails. 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’.
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.