Coverage for /var/srv/projects/api.amasfac.comuna18.com/tmp/venv/lib/python3.9/site-packages/sendgrid/helpers/mail/bcc_settings_email.py: 53%

13 statements  

« prev     ^ index     » next       coverage.py v6.4.4, created at 2023-07-17 14:22 -0600

1class BccSettingsEmail(object): 

2 """The BccSettingsEmail of an Attachment.""" 

3 

4 def __init__(self, bcc_settings_email=None): 

5 """Create a BccSettingsEmail object 

6 

7 :param bcc_settings_email: The email address that you would like to 

8 receive the BCC 

9 :type bcc_settings_email: string, optional 

10 """ 

11 self._bcc_settings_email = None 

12 

13 if bcc_settings_email is not None: 

14 self.bcc_settings_email = bcc_settings_email 

15 

16 @property 

17 def bcc_settings_email(self): 

18 """The email address that you would like to receive the BCC 

19 

20 :rtype: string 

21 """ 

22 return self._bcc_settings_email 

23 

24 @bcc_settings_email.setter 

25 def bcc_settings_email(self, value): 

26 """The email address that you would like to receive the BCC 

27 

28 :param value: The email address that you would like to receive the BCC 

29 :type value: string 

30 """ 

31 self._bcc_settings_email = value 

32 

33 def get(self): 

34 """ 

35 Get a JSON-ready representation of this BccSettingsEmail. 

36 

37 :returns: This BccSettingsEmail, ready for use in a request body. 

38 :rtype: string 

39 """ 

40 return self.bcc_settings_email