|
| 1 | +# coding=utf8 |
| 2 | + |
| 3 | +# Copyright 2018 JDCLOUD.COM |
| 4 | +# |
| 5 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | +# you may not use this file except in compliance with the License. |
| 7 | +# You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, software |
| 12 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +# See the License for the specific language governing permissions and |
| 15 | +# limitations under the License. |
| 16 | +# |
| 17 | +# NOTE: This class is auto generated by the jdcloud code generator program. |
| 18 | + |
| 19 | +from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest |
| 20 | + |
| 21 | + |
| 22 | +class FindDeviceGroupLinkPageRequest(JDCloudRequest): |
| 23 | + """ |
| 24 | + 获取分组列表 |
| 25 | + """ |
| 26 | + |
| 27 | + def __init__(self, parameters, header=None, version="v2"): |
| 28 | + super(FindDeviceGroupLinkPageRequest, self).__init__( |
| 29 | + '/regions/{regionId}/instances/{instanceId}/devicegrouplink:get', 'GET', header, version) |
| 30 | + self.parameters = parameters |
| 31 | + |
| 32 | + |
| 33 | +class FindDeviceGroupLinkPageParameters(object): |
| 34 | + |
| 35 | + def __init__(self, instanceId, regionId, ): |
| 36 | + """ |
| 37 | + :param instanceId: 设备归属的实例ID |
| 38 | + :param regionId: 设备归属的实例所在区域 |
| 39 | + """ |
| 40 | + |
| 41 | + self.instanceId = instanceId |
| 42 | + self.regionId = regionId |
| 43 | + self.productKey = None |
| 44 | + self.deviceName = None |
| 45 | + self.deviceCollectorType = None |
| 46 | + self.groupName = None |
| 47 | + self.userPin = None |
| 48 | + self.tag = None |
| 49 | + self.groupId = None |
| 50 | + self.manufacturer = None |
| 51 | + self.model = None |
| 52 | + self.orderId = None |
| 53 | + self.status = None |
| 54 | + self.pageNumber = None |
| 55 | + self.pageSize = None |
| 56 | + self.order = None |
| 57 | + self.direction = None |
| 58 | + |
| 59 | + def setProductKey(self, productKey): |
| 60 | + """ |
| 61 | + :param productKey: (Optional) 产品Key |
| 62 | + """ |
| 63 | + self.productKey = productKey |
| 64 | + |
| 65 | + def setDeviceName(self, deviceName): |
| 66 | + """ |
| 67 | + :param deviceName: (Optional) 设备名称 |
| 68 | + """ |
| 69 | + self.deviceName = deviceName |
| 70 | + |
| 71 | + def setDeviceCollectorType(self, deviceCollectorType): |
| 72 | + """ |
| 73 | + :param deviceCollectorType: (Optional) 采集器类型 |
| 74 | + """ |
| 75 | + self.deviceCollectorType = deviceCollectorType |
| 76 | + |
| 77 | + def setGroupName(self, groupName): |
| 78 | + """ |
| 79 | + :param groupName: (Optional) 组名称 |
| 80 | + """ |
| 81 | + self.groupName = groupName |
| 82 | + |
| 83 | + def setUserPin(self, userPin): |
| 84 | + """ |
| 85 | + :param userPin: (Optional) 查询的用户组 |
| 86 | + """ |
| 87 | + self.userPin = userPin |
| 88 | + |
| 89 | + def setTag(self, tag): |
| 90 | + """ |
| 91 | + :param tag: (Optional) 组标签 |
| 92 | + """ |
| 93 | + self.tag = tag |
| 94 | + |
| 95 | + def setGroupId(self, groupId): |
| 96 | + """ |
| 97 | + :param groupId: (Optional) 组ID |
| 98 | + """ |
| 99 | + self.groupId = groupId |
| 100 | + |
| 101 | + def setManufacturer(self, manufacturer): |
| 102 | + """ |
| 103 | + :param manufacturer: (Optional) 厂商名称 |
| 104 | + """ |
| 105 | + self.manufacturer = manufacturer |
| 106 | + |
| 107 | + def setModel(self, model): |
| 108 | + """ |
| 109 | + :param model: (Optional) 设备型号 |
| 110 | + """ |
| 111 | + self.model = model |
| 112 | + |
| 113 | + def setOrderId(self, orderId): |
| 114 | + """ |
| 115 | + :param orderId: (Optional) 订单号 |
| 116 | + """ |
| 117 | + self.orderId = orderId |
| 118 | + |
| 119 | + def setStatus(self, status): |
| 120 | + """ |
| 121 | + :param status: (Optional) 设备状态 |
| 122 | + """ |
| 123 | + self.status = status |
| 124 | + |
| 125 | + def setPageNumber(self, pageNumber): |
| 126 | + """ |
| 127 | + :param pageNumber: (Optional) 当前页码 |
| 128 | + """ |
| 129 | + self.pageNumber = pageNumber |
| 130 | + |
| 131 | + def setPageSize(self, pageSize): |
| 132 | + """ |
| 133 | + :param pageSize: (Optional) 每页大小 |
| 134 | + """ |
| 135 | + self.pageSize = pageSize |
| 136 | + |
| 137 | + def setOrder(self, order): |
| 138 | + """ |
| 139 | + :param order: (Optional) 排序字段 |
| 140 | + """ |
| 141 | + self.order = order |
| 142 | + |
| 143 | + def setDirection(self, direction): |
| 144 | + """ |
| 145 | + :param direction: (Optional) 排序方式(asc desc) |
| 146 | + """ |
| 147 | + self.direction = direction |
| 148 | + |
0 commit comments