File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/fleet_apps_management/models/fleet_based_action_group.py
Back
# coding: utf-8 # Copyright (c) 2016, 2026, 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: 20250228 from .action_group import ActionGroup 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 FleetBasedActionGroup(ActionGroup): """ A string variable that holds a value """ def __init__(self, **kwargs): """ Initializes a new FleetBasedActionGroup object with values from keyword arguments. The default value of the :py:attr:`~oci.fleet_apps_management.models.FleetBasedActionGroup.kind` attribute of this class is ``FLEET_USING_RUNBOOK`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this FleetBasedActionGroup. :type display_name: str :param kind: The value to assign to the kind property of this FleetBasedActionGroup. Allowed values for this property are: "FLEET_USING_RUNBOOK" :type kind: str :param fleet_id: The value to assign to the fleet_id property of this FleetBasedActionGroup. :type fleet_id: str :param sequence: The value to assign to the sequence property of this FleetBasedActionGroup. :type sequence: int :param runbook_id: The value to assign to the runbook_id property of this FleetBasedActionGroup. :type runbook_id: str :param runbook_version_name: The value to assign to the runbook_version_name property of this FleetBasedActionGroup. :type runbook_version_name: str """ self.swagger_types = { 'display_name': 'str', 'kind': 'str', 'fleet_id': 'str', 'sequence': 'int', 'runbook_id': 'str', 'runbook_version_name': 'str' } self.attribute_map = { 'display_name': 'displayName', 'kind': 'kind', 'fleet_id': 'fleetId', 'sequence': 'sequence', 'runbook_id': 'runbookId', 'runbook_version_name': 'runbookVersionName' } self._display_name = None self._kind = None self._fleet_id = None self._sequence = None self._runbook_id = None self._runbook_version_name = None self._kind = 'FLEET_USING_RUNBOOK' @property def fleet_id(self): """ **[Required]** Gets the fleet_id of this FleetBasedActionGroup. ID of the fleet :return: The fleet_id of this FleetBasedActionGroup. :rtype: str """ return self._fleet_id @fleet_id.setter def fleet_id(self, fleet_id): """ Sets the fleet_id of this FleetBasedActionGroup. ID of the fleet :param fleet_id: The fleet_id of this FleetBasedActionGroup. :type: str """ self._fleet_id = fleet_id @property def sequence(self): """ Gets the sequence of this FleetBasedActionGroup. Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given. :return: The sequence of this FleetBasedActionGroup. :rtype: int """ return self._sequence @sequence.setter def sequence(self, sequence): """ Sets the sequence of this FleetBasedActionGroup. Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given. :param sequence: The sequence of this FleetBasedActionGroup. :type: int """ self._sequence = sequence @property def runbook_id(self): """ **[Required]** Gets the runbook_id of this FleetBasedActionGroup. ID of the runbook :return: The runbook_id of this FleetBasedActionGroup. :rtype: str """ return self._runbook_id @runbook_id.setter def runbook_id(self, runbook_id): """ Sets the runbook_id of this FleetBasedActionGroup. ID of the runbook :param runbook_id: The runbook_id of this FleetBasedActionGroup. :type: str """ self._runbook_id = runbook_id @property def runbook_version_name(self): """ **[Required]** Gets the runbook_version_name of this FleetBasedActionGroup. Name of the runbook version :return: The runbook_version_name of this FleetBasedActionGroup. :rtype: str """ return self._runbook_version_name @runbook_version_name.setter def runbook_version_name(self, runbook_version_name): """ Sets the runbook_version_name of this FleetBasedActionGroup. Name of the runbook version :param runbook_version_name: The runbook_version_name of this FleetBasedActionGroup. :type: str """ self._runbook_version_name = runbook_version_name 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
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings