SkillSummary¶
-
class
oci.oda.models.
SkillSummary
(**kwargs)¶ Bases:
object
Summary of a Skill.
Attributes
LIFECYCLE_DETAILS_DRAFT
A constant which can be used with the lifecycle_details property of a SkillSummary. LIFECYCLE_DETAILS_PUBLISHED
A constant which can be used with the lifecycle_details property of a SkillSummary. LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a SkillSummary. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a SkillSummary. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a SkillSummary. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a SkillSummary. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a SkillSummary. LIFECYCLE_STATE_INACTIVE
A constant which can be used with the lifecycle_state property of a SkillSummary. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a SkillSummary. category
[Required] Gets the category of this SkillSummary. defined_tags
Gets the defined_tags of this SkillSummary. display_name
[Required] Gets the display_name of this SkillSummary. freeform_tags
Gets the freeform_tags of this SkillSummary. id
[Required] Gets the id of this SkillSummary. lifecycle_details
[Required] Gets the lifecycle_details of this SkillSummary. lifecycle_state
[Required] Gets the lifecycle_state of this SkillSummary. name
[Required] Gets the name of this SkillSummary. namespace
[Required] Gets the namespace of this SkillSummary. platform_version
[Required] Gets the platform_version of this SkillSummary. time_created
[Required] Gets the time_created of this SkillSummary. time_updated
[Required] Gets the time_updated of this SkillSummary. version
[Required] Gets the version of this SkillSummary. Methods
__init__
(**kwargs)Initializes a new SkillSummary object with values from keyword arguments. -
LIFECYCLE_DETAILS_DRAFT
= 'DRAFT'¶ A constant which can be used with the lifecycle_details property of a SkillSummary. This constant has a value of “DRAFT”
-
LIFECYCLE_DETAILS_PUBLISHED
= 'PUBLISHED'¶ A constant which can be used with the lifecycle_details property of a SkillSummary. This constant has a value of “PUBLISHED”
-
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a SkillSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a SkillSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a SkillSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a SkillSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a SkillSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_INACTIVE
= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a SkillSummary. This constant has a value of “INACTIVE”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a SkillSummary. This constant has a value of “UPDATING”
-
__init__
(**kwargs)¶ Initializes a new SkillSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this SkillSummary.
- name (str) – The value to assign to the name property of this SkillSummary.
- version (str) – The value to assign to the version property of this SkillSummary.
- display_name (str) – The value to assign to the display_name property of this SkillSummary.
- namespace (str) – The value to assign to the namespace property of this SkillSummary.
- category (str) – The value to assign to the category property of this SkillSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this SkillSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this SkillSummary. Allowed values for this property are: “PUBLISHED”, “DRAFT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- platform_version (str) – The value to assign to the platform_version property of this SkillSummary.
- time_created (datetime) – The value to assign to the time_created property of this SkillSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this SkillSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this SkillSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this SkillSummary.
-
category
¶ [Required] Gets the category of this SkillSummary. The resource’s category. This is used to group resource’s together.
Returns: The category of this SkillSummary. Return type: str
Gets the defined_tags of this SkillSummary. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this SkillSummary. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this SkillSummary. The resource’s display name.
Returns: The display_name of this SkillSummary. Return type: str
Gets the freeform_tags of this SkillSummary. Simple key-value pair that is applied without any predefined name, type, or scope. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this SkillSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this SkillSummary. Unique immutable identifier that was assigned when the resource was created.
Returns: The id of this SkillSummary. Return type: str
-
lifecycle_details
¶ [Required] Gets the lifecycle_details of this SkillSummary. The resource’s publish state.
Allowed values for this property are: “PUBLISHED”, “DRAFT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_details of this SkillSummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this SkillSummary. The resource’s current state.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this SkillSummary. Return type: str
-
name
¶ [Required] Gets the name of this SkillSummary. The reource’s name. The name can contain only letters, numbers, periods, and underscores. The name must begin with a letter.
Returns: The name of this SkillSummary. Return type: str
-
namespace
¶ [Required] Gets the namespace of this SkillSummary. The resource’s namespace.
Returns: The namespace of this SkillSummary. Return type: str
-
platform_version
¶ [Required] Gets the platform_version of this SkillSummary. The ODA Platform Version for this resource.
Returns: The platform_version of this SkillSummary. Return type: str
-
time_created
¶ [Required] Gets the time_created of this SkillSummary. When the resource was created. A date-time string as described in RFC 3339, section 14.29.
Returns: The time_created of this SkillSummary. Return type: datetime
-
time_updated
¶ [Required] Gets the time_updated of this SkillSummary. When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
Returns: The time_updated of this SkillSummary. Return type: datetime
-
version
¶ [Required] Gets the version of this SkillSummary. The resource’s version. The version can only contain numbers, letters, periods, underscores, dashes or spaces. The version must begin with a letter or a number.
Returns: The version of this SkillSummary. Return type: str
-