Module slack_sdk.scim.v1.group
Classes
class Group (*, display_name: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, id: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, members: Union[List[GroupMember], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, meta: Union[GroupMeta, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, schemas: Union[List[str], ForwardRef(None), DefaultArg] = <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 : Union[str, ForwardRef(None), DefaultArg]
var id : Union[str, ForwardRef(None), DefaultArg]
var members : Union[List[GroupMember], ForwardRef(None), DefaultArg]
var meta : Union[GroupMeta, ForwardRef(None), DefaultArg]
var schemas : Union[List[str], ForwardRef(None), DefaultArg]
var unknown_fields : Dict[str, Any]
Methods
def to_dict(self)
class GroupMember (*, display: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, value: Union[str, ForwardRef(None), DefaultArg] = <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 : Union[str, ForwardRef(None), DefaultArg]
var unknown_fields : Dict[str, Any]
var value : Union[str, ForwardRef(None), DefaultArg]
Methods
def to_dict(self)
class GroupMeta (*, created: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, location: Union[str, ForwardRef(None), DefaultArg] = <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 : Union[str, ForwardRef(None), DefaultArg]
var location : Union[str, ForwardRef(None), DefaultArg]
var unknown_fields : Dict[str, Any]
Methods
def to_dict(self)