Module slack_sdk.scim.v1.types

Classes

class TypeAndValue (*,
primary: bool | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
type: 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 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 : bool | DefaultArg | None

The type of the None singleton.

var type : 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) ‑> dict