Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
oda
models
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: create_skill_version_details.py
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190506 from .create_skill_details import CreateSkillDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class CreateSkillVersionDetails(CreateSkillDetails): """ Properties that are required to create a new version of an existing Skill. """ def __init__(self, **kwargs): """ Initializes a new CreateSkillVersionDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.oda.models.CreateSkillVersionDetails.kind` attribute of this class is ``VERSION`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param kind: The value to assign to the kind property of this CreateSkillVersionDetails. Allowed values for this property are: "NEW", "CLONE", "VERSION", "EXTEND" :type kind: str :param category: The value to assign to the category property of this CreateSkillVersionDetails. :type category: str :param description: The value to assign to the description property of this CreateSkillVersionDetails. :type description: str :param platform_version: The value to assign to the platform_version property of this CreateSkillVersionDetails. :type platform_version: str :param dialog_version: The value to assign to the dialog_version property of this CreateSkillVersionDetails. :type dialog_version: str :param multilingual_mode: The value to assign to the multilingual_mode property of this CreateSkillVersionDetails. Allowed values for this property are: "NATIVE", "TRANSLATION" :type multilingual_mode: str :param primary_language_tag: The value to assign to the primary_language_tag property of this CreateSkillVersionDetails. :type primary_language_tag: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateSkillVersionDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateSkillVersionDetails. :type defined_tags: dict(str, dict(str, object)) :param id: The value to assign to the id property of this CreateSkillVersionDetails. :type id: str :param version: The value to assign to the version property of this CreateSkillVersionDetails. :type version: str """ self.swagger_types = { 'kind': 'str', 'category': 'str', 'description': 'str', 'platform_version': 'str', 'dialog_version': 'str', 'multilingual_mode': 'str', 'primary_language_tag': 'str', 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))', 'id': 'str', 'version': 'str' } self.attribute_map = { 'kind': 'kind', 'category': 'category', 'description': 'description', 'platform_version': 'platformVersion', 'dialog_version': 'dialogVersion', 'multilingual_mode': 'multilingualMode', 'primary_language_tag': 'primaryLanguageTag', 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags', 'id': 'id', 'version': 'version' } self._kind = None self._category = None self._description = None self._platform_version = None self._dialog_version = None self._multilingual_mode = None self._primary_language_tag = None self._freeform_tags = None self._defined_tags = None self._id = None self._version = None self._kind = 'VERSION' @property def id(self): """ **[Required]** Gets the id of this CreateSkillVersionDetails. The unique identifier of the Skill to create a new version of. :return: The id of this CreateSkillVersionDetails. :rtype: str """ return self._id @id.setter def id(self, id): """ Sets the id of this CreateSkillVersionDetails. The unique identifier of the Skill to create a new version of. :param id: The id of this CreateSkillVersionDetails. :type: str """ self._id = id @property def version(self): """ **[Required]** Gets the version of this CreateSkillVersionDetails. 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. :return: The version of this CreateSkillVersionDetails. :rtype: str """ return self._version @version.setter def version(self, version): """ Sets the version of this CreateSkillVersionDetails. 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. :param version: The version of this CreateSkillVersionDetails. :type: str """ self._version = version def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other