• 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

60.0
/src/openapi_server/models/new_user_response.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 import util
1✔
7

8

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

12
    Do not edit the class manually.
13
    """
14

15
    def __init__(self, id=None):  # noqa: E501
1✔
16
        """NewUserResponse - a model defined in OpenAPI
17

18
        :param id: The id of this NewUserResponse.  # noqa: E501
19
        :type id: str
20
        """
UNCOV
21
        self.openapi_types = {
×
22
            'id': str
23
        }
24

UNCOV
25
        self.attribute_map = {
×
26
            'id': 'id'
27
        }
28

29
        self._id = id
×
30

31
    @classmethod
1✔
32
    def from_dict(cls, dikt) -> 'NewUserResponse':
1✔
33
        """Returns the dict as a model
34

35
        :param dikt: A dict.
36
        :type: dict
37
        :return: The NewUserResponse of this NewUserResponse.  # noqa: E501
38
        :rtype: NewUserResponse
39
        """
40
        return util.deserialize_model(dikt, cls)
×
41

42
    @property
1✔
43
    def id(self) -> str:
1✔
44
        """Gets the id of this NewUserResponse.
45

46
        ID of the created user  # noqa: E501
47

48
        :return: The id of this NewUserResponse.
49
        :rtype: str
50
        """
51
        return self._id
×
52

53
    @id.setter
1✔
54
    def id(self, id: str):
1✔
55
        """Sets the id of this NewUserResponse.
56

57
        ID of the created user  # noqa: E501
58

59
        :param id: The id of this NewUserResponse.
60
        :type id: str
61
        """
62
        if id is None:
×
63
            raise ValueError("Invalid value for `id`, must not be `None`")  # noqa: E501
×
64

65
        self._id = id
×
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

© 2026 Coveralls, Inc