<gh_stars>10-100
# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.

from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest


class ListZonesRequest(JDCloudRequest):
    """
    列出、搜索、排序和筛选您的域
    """

    def __init__(self, parameters, header=None, version="v1"):
        super(ListZonesRequest, self).__init__(
            '/zones', 'GET', header, version)
        self.parameters = parameters


class ListZonesParameters(object):

    def __init__(self, ):
        """
        """

        self.match = None
        self.name = None
        self.__account__name = None
        self.order = None
        self.page = None
        self.per_page = None
        self.status = None
        self.__account__id = None
        self.direction = None

    def setMatch(self, match):
        """
        :param match: (Optional) 是否匹配所有搜索要求或至少一个（任何）
        """
        self.match = match

    def setName(self, name):
        """
        :param name: (Optional) 域名
        """
        self.name = name

    def set__account__name(self, __account__name):
        """
        :param __account__name: (Optional) 帐户名
        """
        self.__account__name = __account__name

    def setOrder(self, order):
        """
        :param order: (Optional) 按字段对域进行排序
        """
        self.order = order

    def setPage(self, page):
        """
        :param page: (Optional) 分页结果的页码
        """
        self.page = page

    def setPer_page(self, per_page):
        """
        :param per_page: (Optional) 每页的域数
        """
        self.per_page = per_page

    def setStatus(self, status):
        """
        :param status: (Optional) 域的状态
        """
        self.status = status

    def set__account__id(self, __account__id):
        """
        :param __account__id: (Optional) 帐户标识符标签
        """
        self.__account__id = __account__id

    def setDirection(self, direction):
        """
        :param direction: (Optional) asc - 升序；desc - 降序
        """
        self.direction = direction


# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.

from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest


class ListZonesRequest(JDCloudRequest):
    """
    列出、搜索、排序和筛选您的域
    """

    def __init__(self, parameters, header=None, version="v1"):
        super(ListZonesRequest, self).__init__(
            '/zones', 'GET', header, version)
        self.parameters = parameters


class ListZonesParameters(object):

    def __init__(self, ):
        """
        """

        self.match = None
        self.name = None
        self.__account__name = None
        self.order = None
        self.page = None
        self.per_page = None
        self.status = None
        self.__account__id = None
        self.direction = None

    def setMatch(self, match):
        """
        :param match: (Optional) 是否匹配所有搜索要求或至少一个（任何）
        """
        self.match = match

    def setName(self, name):
        """
        :param name: (Optional) 域名
        """
        self.name = name

    def set__account__name(self, __account__name):
        """
        :param __account__name: (Optional) 帐户名
        """
        self.__account__name = __account__name

    def setOrder(self, order):
        """
        :param order: (Optional) 按字段对域进行排序
        """
        self.order = order

    def setPage(self, page):
        """
        :param page: (Optional) 分页结果的页码
        """
        self.page = page

    def setPer_page(self, per_page):
        """
        :param per_page: (Optional) 每页的域数
        """
        self.per_page = per_page

    def setStatus(self, status):
        """
        :param status: (Optional) 域的状态
        """
        self.status = status

    def set__account__id(self, __account__id):
        """
        :param __account__id: (Optional) 帐户标识符标签
        """
        self.__account__id = __account__id

    def setDirection(self, direction):
        """
        :param direction: (Optional) asc - 升序；desc - 降序
        """
        self.direction = direction
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # #     http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # NOTE: This class is auto generated by the jdcloud code generator program. 列出、搜索、排序和筛选您的域 :param match: (Optional) 是否匹配所有搜索要求或至少一个（任何） :param name: (Optional) 域名 :param __account__name: (Optional) 帐户名 :param order: (Optional) 按字段对域进行排序 :param page: (Optional) 分页结果的页码 :param per_page: (Optional) 每页的域数 :param status: (Optional) 域的状态 :param __account__id: (Optional) 帐户标识符标签 :param direction: (Optional) asc - 升序；desc - 降序