PlatformSpecificArtifactDetails

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

Bases: ArtifactDetails

Patch artifact description and content details which is platform specific.

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.

artifacts

[Required] Gets the artifacts of this PlatformSpecificArtifactDetails.

category

[Required] Gets the category of this ArtifactDetails.

Methods:

__init__(**kwargs)

Initializes a new PlatformSpecificArtifactDetails 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 PlatformSpecificArtifactDetails object with values from keyword arguments. The default value of the category attribute of this class is PLATFORM_SPECIFIC 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 PlatformSpecificArtifactDetails. Allowed values for this property are: “GENERIC”, “PLATFORM_SPECIFIC”

  • artifacts (list[oci.fleet_apps_management.models.PlatformSpecificArtifact]) – The value to assign to the artifacts property of this PlatformSpecificArtifactDetails.

property artifacts

[Required] Gets the artifacts of this PlatformSpecificArtifactDetails. Artifacts.

Returns

The artifacts of this PlatformSpecificArtifactDetails.

Return type

list[oci.fleet_apps_management.models.PlatformSpecificArtifact]

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.