예제 #1
0
    def __init__(
        self,
        custom_root=None,
        domain=None,
        root=None,
        ssl_certificate=None,
        static_enabled=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """WebDomain - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._custom_root = None
        self._domain = None
        self._root = None
        self._ssl_certificate = None
        self._static_enabled = None
        self.discriminator = None

        self.custom_root = custom_root
        self.domain = domain
        self.root = root
        self.ssl_certificate = ssl_certificate
        self.static_enabled = static_enabled
예제 #2
0
    def __init__(
        self,
        address=None,
        address_display=None,
        forwards_to=None,
        permitted_senders=None,
        required=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """MailAlias - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._address = None
        self._address_display = None
        self._forwards_to = None
        self._permitted_senders = None
        self._required = None
        self.discriminator = None

        self.address = address
        self.address_display = address_display
        self.forwards_to = forwards_to
        self.permitted_senders = permitted_senders
        self.required = required
    def __init__(
        self,
        enc_pw_file=None,
        file_target_directory=None,
        min_age_in_days=None,
        ssh_pub_key=None,
        target=None,
        target_user=None,
        target_pass=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """SystemBackupConfigResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._enc_pw_file = None
        self._file_target_directory = None
        self._min_age_in_days = None
        self._ssh_pub_key = None
        self._target = None
        self._target_user = None
        self._target_pass = None
        self.discriminator = None

        self.enc_pw_file = enc_pw_file
        self.file_target_directory = file_target_directory
        self.min_age_in_days = min_age_in_days
        self.ssh_pub_key = ssh_pub_key
        self.target = target
        if target_user is not None:
            self.target_user = target_user
        if target_pass is not None:
            self.target_pass = target_pass
    def __init__(
        self,
        date=None,
        date_delta=None,
        date_str=None,
        deleted_in=None,
        full=None,
        size=None,
        volumes=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """SystemBackupStatus - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._date = None
        self._date_delta = None
        self._date_str = None
        self._deleted_in = None
        self._full = None
        self._size = None
        self._volumes = None
        self.discriminator = None

        self.date = date
        self.date_delta = date_delta
        self.date_str = date_str
        if deleted_in is not None:
            self.deleted_in = deleted_in
        self.full = full
        self.size = size
        self.volumes = volumes
예제 #5
0
    def __init__(
        self,
        api_key=None,
        email=None,
        privileges=None,
        reason=None,
        status=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """MeResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._api_key = None
        self._email = None
        self._privileges = None
        self._reason = None
        self._status = None
        self.discriminator = None

        if api_key is not None:
            self.api_key = api_key
        if email is not None:
            self.email = email
        if privileges is not None:
            self.privileges = privileges
        if reason is not None:
            self.reason = reason
        self.status = status
예제 #6
0
    def __init__(self, hostnames=None, local_vars_configuration=None):  # noqa: E501
        """DNSSecondaryNameserverAddRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._hostnames = None
        self.discriminator = None

        self.hostnames = hostnames
예제 #7
0
    def __init__(self, mfa_id=None, local_vars_configuration=None):  # noqa: E501
        """MfaDisableRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._mfa_id = None
        self.discriminator = None

        self.mfa_id = mfa_id
    def __init__(self, value=None, local_vars_configuration=None):  # noqa: E501
        """SystemPrivacyUpdateRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._value = None
        self.discriminator = None

        self.value = value
예제 #9
0
    def __init__(self, email=None, local_vars_configuration=None):  # noqa: E501
        """MailUserRemoveRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._email = None
        self.discriminator = None

        self.email = email
예제 #10
0
    def __init__(self,
                 address=None,
                 local_vars_configuration=None):  # noqa: E501
        """MailAliasRemoveRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._address = None
        self.discriminator = None

        self.address = address
예제 #11
0
    def __init__(self,
                 countrycode=None,
                 local_vars_configuration=None):  # noqa: E501
        """SSLCSRGenerateRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._countrycode = None
        self.discriminator = None

        self.countrycode = countrycode
예제 #12
0
    def __init__(self,
                 force=None,
                 local_vars_configuration=None):  # noqa: E501
        """DNSUpdateRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._force = None
        self.discriminator = None

        self.force = force
    def __init__(self,
                 requests=None,
                 local_vars_configuration=None):  # noqa: E501
        """SSLCertificatesProvisionResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._requests = None
        self.discriminator = None

        self.requests = requests
    def __init__(
        self, enabled_mfa=None, new_mfa=None, local_vars_configuration=None
    ):  # noqa: E501
        """MfaStatusResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._enabled_mfa = None
        self._new_mfa = None
        self.discriminator = None

        self.enabled_mfa = enabled_mfa
        if new_mfa is not None:
            self.new_mfa = new_mfa
    def __init__(self,
                 domain=None,
                 users=None,
                 local_vars_configuration=None):  # noqa: E501
        """MailUserByDomain - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._domain = None
        self._users = None
        self.discriminator = None

        self.domain = domain
        self.users = users
예제 #16
0
    def __init__(self,
                 can_provision=None,
                 status=None,
                 local_vars_configuration=None):  # noqa: E501
        """SSLStatusResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._can_provision = None
        self._status = None
        self.discriminator = None

        self.can_provision = can_provision
        self.status = status
    def __init__(self,
                 monospace=None,
                 text=None,
                 local_vars_configuration=None):  # noqa: E501
        """StatusEntryExtra - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._monospace = None
        self._text = None
        self.discriminator = None

        self.monospace = monospace
        self.text = text
예제 #18
0
    def __init__(
        self, type=None, text=None, extra=None, local_vars_configuration=None
    ):  # noqa: E501
        """StatusEntry - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._type = None
        self._text = None
        self._extra = None
        self.discriminator = None

        self.type = type
        self.text = text
        self.extra = extra
    def __init__(
        self, secret=None, code=None, label=None, local_vars_configuration=None
    ):  # noqa: E501
        """MfaEnableRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._secret = None
        self._code = None
        self._label = None
        self.discriminator = None

        self.secret = secret
        self.code = code
        if label is not None:
            self.label = label
    def __init__(self,
                 email=None,
                 password=None,
                 privileges=None,
                 local_vars_configuration=None):  # noqa: E501
        """MailUserAddRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._email = None
        self._password = None
        self._privileges = None
        self.discriminator = None

        self.email = email
        self.password = password
        self.privileges = privileges
예제 #21
0
    def __init__(self,
                 domain=None,
                 status=None,
                 text=None,
                 local_vars_configuration=None):  # noqa: E501
        """SSLStatus - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._domain = None
        self._status = None
        self._text = None
        self.discriminator = None

        self.domain = domain
        self.status = status
        self.text = text
    def __init__(self,
                 qname=None,
                 rtype=None,
                 value=None,
                 local_vars_configuration=None):  # noqa: E501
        """DNSCustomRecord - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._qname = None
        self._rtype = None
        self._value = None
        self.discriminator = None

        self.qname = qname
        self.rtype = rtype
        self.value = value
예제 #23
0
    def __init__(self,
                 domain=None,
                 cert=None,
                 chain=None,
                 local_vars_configuration=None):  # noqa: E501
        """SSLCertificateInstallRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._domain = None
        self._cert = None
        self._chain = None
        self.discriminator = None

        self.domain = domain
        self.cert = cert
        self.chain = chain
예제 #24
0
    def __init__(
        self,
        configuration=None,
        header_name=None,
        header_value=None,
        cookie=None,
        pool_threads=1,
    ):
        if configuration is None:
            configuration = Configuration.get_default_copy()
        self.configuration = configuration
        self.pool_threads = pool_threads

        self.rest_client = rest.RESTClientObject(configuration)
        self.default_headers = {}
        if header_name is not None:
            self.default_headers[header_name] = header_value
        self.cookie = cookie
        # Set default User-Agent.
        self.user_agent = "OpenAPI-Generator/0.51.1/python"
        self.client_side_validation = configuration.client_side_validation
    def __init__(self,
                 type=None,
                 secret=None,
                 qr_code_base64=None,
                 local_vars_configuration=None):  # noqa: E501
        """MfaStatusResponseNewMfa - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._type = None
        self._secret = None
        self._qr_code_base64 = None
        self.discriminator = None

        if type is not None:
            self.type = type
        if secret is not None:
            self.secret = secret
        if qr_code_base64 is not None:
            self.qr_code_base64 = qr_code_base64
    def __init__(self,
                 id=None,
                 type=None,
                 label=None,
                 local_vars_configuration=None):  # noqa: E501
        """MfaStatusResponseEnabledMfa - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._type = None
        self._label = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if type is not None:
            self.type = type
        if label is not None:
            self.label = label
    def __init__(
        self,
        backups=None,
        unmatched_file_size=None,
        error=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """SystemBackupStatusResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._backups = None
        self._unmatched_file_size = None
        self._error = None
        self.discriminator = None

        if backups is not None:
            self.backups = backups
        self.unmatched_file_size = unmatched_file_size
        if error is not None:
            self.error = error
    def __init__(
        self,
        target=None,
        target_user=None,
        target_pass=None,
        min_age=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """SystemBackupConfigUpdateRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._target = None
        self._target_user = None
        self._target_pass = None
        self._min_age = None
        self.discriminator = None

        self.target = target
        self.target_user = target_user
        self.target_pass = target_pass
        self.min_age = min_age
예제 #29
0
    def __init__(
        self,
        update_if_exists=None,
        address=None,
        forwards_to=None,
        permitted_senders=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """MailAliasUpsertRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._update_if_exists = None
        self._address = None
        self._forwards_to = None
        self._permitted_senders = None
        self.discriminator = None

        self.update_if_exists = update_if_exists
        self.address = address
        self.forwards_to = forwards_to
        self.permitted_senders = permitted_senders
예제 #30
0
    def __init__(
        self,
        email=None,
        privileges=None,
        status=None,
        mailbox=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """MailUser - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._email = None
        self._privileges = None
        self._status = None
        self._mailbox = None
        self.discriminator = None

        self.email = email
        self.privileges = privileges
        self.status = status
        if mailbox is not None:
            self.mailbox = mailbox