MCPcopy Create free account
hub / github.com/slackapi/python-slack-sdk / UserName

Class UserName

slack_sdk/scim/v1/user.py:91–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90
91class UserName:
92 family_name: Union[Optional[str], DefaultArg]
93 given_name: Union[Optional[str], DefaultArg]
94 unknown_fields: Dict[str, Any]
95
96 def __init__(
97 self,
98 family_name: Union[Optional[str], DefaultArg] = NotGiven,
99 given_name: Union[Optional[str], DefaultArg] = NotGiven,
100 **kwargs,
101 ) -> None:
102 self.family_name = family_name
103 self.given_name = given_name
104 self.unknown_fields = kwargs
105
106 def to_dict(self) -> dict:
107 return _to_dict_without_not_given(self)
108
109
110class UserPhoto:

Callers 5

test_user_crudMethod · 0.90
test_group_crudMethod · 0.90
test_usersMethod · 0.90
test_usersMethod · 0.90
__init__Method · 0.85

Calls

no outgoing calls

Tested by 4

test_user_crudMethod · 0.72
test_group_crudMethod · 0.72
test_usersMethod · 0.72
test_usersMethod · 0.72