ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /proc/self/root/usr/share/mysqlsh/oci_sdk/oci/load_balancer/models/ |
# coding: utf-8 # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. 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 RuleSet(object): """ A named set of rules associated with a load balancer. Rules are objects that represent actions to apply to a listener, such as adding, altering, or removing HTTP headers. For more information, see `Managing Rule Sets`__. __ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrulesets.htm """ def __init__(self, **kwargs): """ Initializes a new RuleSet object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this RuleSet. :type name: str :param items: The value to assign to the items property of this RuleSet. :type items: list[Rule] """ self.swagger_types = { 'name': 'str', 'items': 'list[Rule]' } self.attribute_map = { 'name': 'name', 'items': 'items' } self._name = None self._items = None @property def name(self): """ **[Required]** Gets the name of this RuleSet. The name for this set of rules. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `example_rule_set` :return: The name of this RuleSet. :rtype: str """ return self._name @name.setter def name(self, name): """ Sets the name of this RuleSet. The name for this set of rules. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `example_rule_set` :param name: The name of this RuleSet. :type: str """ self._name = name @property def items(self): """ **[Required]** Gets the items of this RuleSet. An array of rules that compose the rule set. :return: The items of this RuleSet. :rtype: list[Rule] """ return self._items @items.setter def items(self, items): """ Sets the items of this RuleSet. An array of rules that compose the rule set. :param items: The items of this RuleSet. :type: list[Rule] """ self._items = items 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