# -*- coding: utf-8 -*-
from typing import List


class MuteOption:
    def __init__(
            self,
            mute_end_timestamp: str = None,
            mute_seconds: str = None,
            ):
        """

        :param mute_end_timestamp: 禁言到期时间戳，绝对时间戳，单位：秒（与 seconds 字段同时赋值的话，以该字段为准）
        :param mute_seconds: 禁言多少秒（两个字段二选一，默认以 timeTo 为准）
        """
        if mute_end_timestamp is not None:
            self.mute_end_timestamp = mute_end_timestamp
        if mute_seconds is not None:
            self.mute_seconds = mute_seconds


class MultiMuteOption:
    def __init__(
            self,
            mute_end_timestamp: str = None,
            mute_seconds: str = None,
            user_ids: List[str] = None
            ):
        """

        :param mute_end_timestamp: 禁言到期时间戳，绝对时间戳，单位：秒（与 seconds 字段同时赋值的话，以该字段为准）
        :param mute_seconds: 禁言多少秒（两个字段二选一，默认以 timeTo 为准）
        """
        if mute_end_timestamp is not None:
            self.mute_end_timestamp = mute_end_timestamp
        if mute_seconds is not None:
            self.mute_seconds = mute_seconds
        if user_ids is not None:
            self.user_ids = user_ids


class UserIds:
    def __init__(self, data=None):
        self.user_ids: List[str]
        if data:
            self.__dict__ = data

# -*- coding: utf-8 -*-
from typing import List


class MuteOption:
    def __init__(
            self,
            mute_end_timestamp: str = None,
            mute_seconds: str = None,
            ):
        """

        :param mute_end_timestamp: 禁言到期时间戳，绝对时间戳，单位：秒（与 seconds 字段同时赋值的话，以该字段为准）
        :param mute_seconds: 禁言多少秒（两个字段二选一，默认以 timeTo 为准）
        """
        if mute_end_timestamp is not None:
            self.mute_end_timestamp = mute_end_timestamp
        if mute_seconds is not None:
            self.mute_seconds = mute_seconds


class MultiMuteOption:
    def __init__(
            self,
            mute_end_timestamp: str = None,
            mute_seconds: str = None,
            user_ids: List[str] = None
            ):
        """

        :param mute_end_timestamp: 禁言到期时间戳，绝对时间戳，单位：秒（与 seconds 字段同时赋值的话，以该字段为准）
        :param mute_seconds: 禁言多少秒（两个字段二选一，默认以 timeTo 为准）
        """
        if mute_end_timestamp is not None:
            self.mute_end_timestamp = mute_end_timestamp
        if mute_seconds is not None:
            self.mute_seconds = mute_seconds
        if user_ids is not None:
            self.user_ids = user_ids


class UserIds:
    def __init__(self, data=None):
        self.user_ids: List[str]
        if data:
            self.__dict__ = data

# -*- coding: utf-8 -*- :param mute_end_timestamp: 禁言到期时间戳，绝对时间戳，单位：秒（与 seconds 字段同时赋值的话，以该字段为准）         :param mute_seconds: 禁言多少秒（两个字段二选一，默认以 timeTo 为准） :param mute_end_timestamp: 禁言到期时间戳，绝对时间戳，单位：秒（与 seconds 字段同时赋值的话，以该字段为准）         :param mute_seconds: 禁言多少秒（两个字段二选一，默认以 timeTo 为准）