Module slack_sdk.scim.v1.group
Classes
class Group (*,
display_name: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
id: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
members: List[GroupMember] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
meta: GroupMeta | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
schemas: List[str] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)-
Expand source code
class Group: display_name: Union[Optional[str], DefaultArg] id: Union[Optional[str], DefaultArg] members: Union[Optional[List[GroupMember]], DefaultArg] meta: Union[Optional[GroupMeta], DefaultArg] schemas: Union[Optional[List[str]], DefaultArg] unknown_fields: Dict[str, Any] def __init__( self, *, display_name: Union[Optional[str], DefaultArg] = NotGiven, id: Union[Optional[str], DefaultArg] = NotGiven, members: Union[Optional[List[GroupMember]], DefaultArg] = NotGiven, meta: Union[Optional[GroupMeta], DefaultArg] = NotGiven, schemas: Union[Optional[List[str]], DefaultArg] = NotGiven, **kwargs, ) -> None: self.display_name = display_name self.id = id self.members = ( [a if isinstance(a, GroupMember) else GroupMember(**a) for a in members] if _is_iterable(members) else members ) self.meta = GroupMeta(**meta) if meta is not None and isinstance(meta, dict) else meta self.schemas = schemas self.unknown_fields = kwargs def to_dict(self): return _to_dict_without_not_given(self) def __repr__(self): return f"<slack_sdk.scim.{self.__class__.__name__}: {self.to_dict()}>"
Class variables
var display_name : str | DefaultArg | None
-
The type of the None singleton.
var id : str | DefaultArg | None
-
The type of the None singleton.
var members : List[GroupMember] | DefaultArg | None
-
The type of the None singleton.
var meta : GroupMeta | DefaultArg | None
-
The type of the None singleton.
var schemas : List[str] | DefaultArg | None
-
The type of the None singleton.
var unknown_fields : Dict[str, Any]
-
The type of the None singleton.
Methods
def to_dict(self)
class GroupMember (*,
display: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
value: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)-
Expand source code
class GroupMember: display: Union[Optional[str], DefaultArg] value: Union[Optional[str], DefaultArg] unknown_fields: Dict[str, Any] def __init__( self, *, display: Union[Optional[str], DefaultArg] = NotGiven, value: Union[Optional[str], DefaultArg] = NotGiven, **kwargs, ) -> None: self.display = display self.value = value self.unknown_fields = kwargs def to_dict(self): return _to_dict_without_not_given(self)
Class variables
var display : str | DefaultArg | None
-
The type of the None singleton.
var unknown_fields : Dict[str, Any]
-
The type of the None singleton.
var value : str | DefaultArg | None
-
The type of the None singleton.
Methods
def to_dict(self)
class GroupMeta (*,
created: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
location: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)-
Expand source code
class GroupMeta: created: Union[Optional[str], DefaultArg] location: Union[Optional[str], DefaultArg] unknown_fields: Dict[str, Any] def __init__( self, *, created: Union[Optional[str], DefaultArg] = NotGiven, location: Union[Optional[str], DefaultArg] = NotGiven, **kwargs, ) -> None: self.created = created self.location = location self.unknown_fields = kwargs def to_dict(self): return _to_dict_without_not_given(self)
Class variables
var created : str | DefaultArg | None
-
The type of the None singleton.
var location : str | DefaultArg | None
-
The type of the None singleton.
var unknown_fields : Dict[str, Any]
-
The type of the None singleton.
Methods
def to_dict(self)