EnumStringImageCapabilitySchemaDescriptor¶
-
class
oci.core.models.
EnumStringImageCapabilitySchemaDescriptor
(**kwargs)¶ Bases:
oci.core.models.image_capability_schema_descriptor.ImageCapabilitySchemaDescriptor
Enum String type of ImageCapabilitySchemaDescriptor
Attributes
SOURCE_GLOBAL
str(object=’’) -> str SOURCE_IMAGE
str(object=’’) -> str default_value
Gets the default_value of this EnumStringImageCapabilitySchemaDescriptor. descriptor_type
[Required] Gets the descriptor_type of this ImageCapabilitySchemaDescriptor. source
[Required] Gets the source of this ImageCapabilitySchemaDescriptor. values
[Required] Gets the values of this EnumStringImageCapabilitySchemaDescriptor. Methods
__init__
(**kwargs)Initializes a new EnumStringImageCapabilitySchemaDescriptor 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. -
SOURCE_GLOBAL
= 'GLOBAL'¶
-
SOURCE_IMAGE
= 'IMAGE'¶
-
__init__
(**kwargs)¶ Initializes a new EnumStringImageCapabilitySchemaDescriptor object with values from keyword arguments. The default value of the
descriptor_type
attribute of this class isenumstring
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - descriptor_type (str) – The value to assign to the descriptor_type property of this EnumStringImageCapabilitySchemaDescriptor.
- source (str) – The value to assign to the source property of this EnumStringImageCapabilitySchemaDescriptor. Allowed values for this property are: “GLOBAL”, “IMAGE”
- values (list[str]) – The value to assign to the values property of this EnumStringImageCapabilitySchemaDescriptor.
- default_value (str) – The value to assign to the default_value property of this EnumStringImageCapabilitySchemaDescriptor.
-
default_value
¶ Gets the default_value of this EnumStringImageCapabilitySchemaDescriptor. the default value
Returns: The default_value of this EnumStringImageCapabilitySchemaDescriptor. Return type: str
-
descriptor_type
¶ [Required] Gets the descriptor_type of this ImageCapabilitySchemaDescriptor. The image capability schema descriptor type for the capability
Returns: The descriptor_type of this ImageCapabilitySchemaDescriptor. 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.
-
source
¶ [Required] Gets the source of this ImageCapabilitySchemaDescriptor. Allowed values for this property are: “GLOBAL”, “IMAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The source of this ImageCapabilitySchemaDescriptor. Return type: str
-
values
¶ [Required] Gets the values of this EnumStringImageCapabilitySchemaDescriptor. the list of values for the enum
Returns: The values of this EnumStringImageCapabilitySchemaDescriptor. Return type: list[str]
-