• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

andgineer / api-db-prototype / 8766121206

20 Apr 2024 03:45PM UTC coverage: 83.956% (-2.9%) from 86.892%
8766121206

push

github

andgineer
upgrade reqs

2 of 2 new or added lines in 2 files covered. (100.0%)

89 existing lines in 23 files now uncovered.

1057 of 1259 relevant lines covered (83.96%)

0.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

64.71
/src/openapi_server/models/update_user.py
1
from datetime import date, datetime  # noqa: F401
1✔
2

3
from typing import List, Dict  # noqa: F401
1✔
4

5
from openapi_server.models.base_model import Model
1✔
6
from openapi_server.models.user_group import UserGroup
1✔
7
from openapi_server import util
1✔
8

9
from openapi_server.models.user_group import UserGroup  # noqa: E501
1✔
10

11
class UpdateUser(Model):
1✔
12
    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13

14
    Do not edit the class manually.
15
    """
16

17
    def __init__(self, group=None, email=None, name=None):  # noqa: E501
1✔
18
        """UpdateUser - a model defined in OpenAPI
19

20
        :param group: The group of this UpdateUser.  # noqa: E501
21
        :type group: UserGroup
22
        :param email: The email of this UpdateUser.  # noqa: E501
23
        :type email: str
24
        :param name: The name of this UpdateUser.  # noqa: E501
25
        :type name: str
26
        """
UNCOV
27
        self.openapi_types = {
×
28
            'group': UserGroup,
29
            'email': str,
30
            'name': str
31
        }
32

UNCOV
33
        self.attribute_map = {
×
34
            'group': 'group',
35
            'email': 'email',
36
            'name': 'name'
37
        }
38

39
        self._group = group
×
40
        self._email = email
×
41
        self._name = name
×
42

43
    @classmethod
1✔
44
    def from_dict(cls, dikt) -> 'UpdateUser':
1✔
45
        """Returns the dict as a model
46

47
        :param dikt: A dict.
48
        :type: dict
49
        :return: The UpdateUser of this UpdateUser.  # noqa: E501
50
        :rtype: UpdateUser
51
        """
52
        return util.deserialize_model(dikt, cls)
×
53

54
    @property
1✔
55
    def group(self) -> UserGroup:
1✔
56
        """Gets the group of this UpdateUser.
57

58

59
        :return: The group of this UpdateUser.
60
        :rtype: UserGroup
61
        """
62
        return self._group
×
63

64
    @group.setter
1✔
65
    def group(self, group: UserGroup):
1✔
66
        """Sets the group of this UpdateUser.
67

68

69
        :param group: The group of this UpdateUser.
70
        :type group: UserGroup
71
        """
72

73
        self._group = group
×
74

75
    @property
1✔
76
    def email(self) -> str:
1✔
77
        """Gets the email of this UpdateUser.
78

79

80
        :return: The email of this UpdateUser.
81
        :rtype: str
82
        """
83
        return self._email
×
84

85
    @email.setter
1✔
86
    def email(self, email: str):
1✔
87
        """Sets the email of this UpdateUser.
88

89

90
        :param email: The email of this UpdateUser.
91
        :type email: str
92
        """
93

94
        self._email = email
×
95

96
    @property
1✔
97
    def name(self) -> str:
1✔
98
        """Gets the name of this UpdateUser.
99

100

101
        :return: The name of this UpdateUser.
102
        :rtype: str
103
        """
104
        return self._name
×
105

106
    @name.setter
1✔
107
    def name(self, name: str):
1✔
108
        """Sets the name of this UpdateUser.
109

110

111
        :param name: The name of this UpdateUser.
112
        :type name: str
113
        """
114

115
        self._name = name
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc