6 This is the initial REST API for RIC subscription # noqa: E501
8 OpenAPI spec version: 0.0.4
10 Generated by: https://github.com/swagger-api/swagger-codegen.git
15 import re # noqa: F401
19 from ricxappframe.subsclient.configuration import Configuration
22 class ActionsToBeSetup(object):
23 """NOTE: This class is auto generated by the swagger code generator program.
25 Do not edit the class manually.
30 swagger_types (dict): The key is attribute name
31 and the value is attribute type.
32 attribute_map (dict): The key is attribute name
33 and the value is json key in definition.
41 def __init__(self, _configuration=None): # noqa: E501
42 """ActionsToBeSetup - a model defined in Swagger""" # noqa: E501
43 if _configuration is None:
44 _configuration = Configuration()
45 self._configuration = _configuration
46 self.discriminator = None
49 """Returns the model properties as a dict"""
52 for attr, _ in six.iteritems(self.swagger_types):
53 value = getattr(self, attr)
54 if isinstance(value, list):
55 result[attr] = list(map(
56 lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
59 elif hasattr(value, "to_dict"):
60 result[attr] = value.to_dict()
61 elif isinstance(value, dict):
62 result[attr] = dict(map(
63 lambda item: (item[0], item[1].to_dict())
64 if hasattr(item[1], "to_dict") else item,
69 if issubclass(ActionsToBeSetup, dict):
70 for key, value in self.items():
76 """Returns the string representation of the model"""
77 return pprint.pformat(self.to_dict())
80 """For `print` and `pprint`"""
83 def __eq__(self, other):
84 """Returns true if both objects are equal"""
85 if not isinstance(other, ActionsToBeSetup):
88 return self.to_dict() == other.to_dict()
90 def __ne__(self, other):
91 """Returns true if both objects are not equal"""
92 if not isinstance(other, ActionsToBeSetup):
95 return self.to_dict() != other.to_dict()