Module slack_sdk.scim.v1.types

Classes

class TypeAndValue (*, primary: Union[bool, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, type: 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 TypeAndValue:
    primary: Union[Optional[bool], DefaultArg]
    type: Union[Optional[str], DefaultArg]
    value: Union[Optional[str], DefaultArg]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        primary: Union[Optional[bool], DefaultArg] = NotGiven,
        type: Union[Optional[str], DefaultArg] = NotGiven,
        value: Union[Optional[str], DefaultArg] = NotGiven,
        **kwargs,
    ) -> None:
        self.primary = primary
        self.type = type
        self.value = value
        self.unknown_fields = kwargs

    def to_dict(self) -> dict:
        return _to_dict_without_not_given(self)

Subclasses

Class variables

var primary : Union[bool, ForwardRef(None), DefaultArg]
var type : Union[str, ForwardRef(None), DefaultArg]
var unknown_fields : Dict[str, Any]
var value : Union[str, ForwardRef(None), DefaultArg]

Methods

def to_dict(self) ‑> dict