# -*- coding: utf-8 -*-

from qcloudsdkcore.request import Request

class DetachInstanceRequest(Request):

    def __init__(self):
        super(DetachInstanceRequest, self).__init__(
            'scaling', 'qcloudcliV1', 'DetachInstance', 'scaling.api.qcloud.com')

    def get_instanceIds(self):
        return self.get_params().get('instanceIds')

    def set_instanceIds(self, instanceIds):
        self.add_param('instanceIds', instanceIds)

    def get_keepInstance(self):
        return self.get_params().get('keepInstance')

    def set_keepInstance(self, keepInstance):
        self.add_param('keepInstance', keepInstance)

    def get_scalingGroupId(self):
        return self.get_params().get('scalingGroupId')

    def set_scalingGroupId(self, scalingGroupId):
        self.add_param('scalingGroupId', scalingGroupId)

# -*- coding: utf-8 -*-

from qcloudsdkcore.request import Request

class DetachInstanceRequest(Request):

    def __init__(self):
        super(DetachInstanceRequest, self).__init__(
            'scaling', 'qcloudcliV1', 'DetachInstance', 'scaling.api.qcloud.com')

    def get_instanceIds(self):
        return self.get_params().get('instanceIds')

    def set_instanceIds(self, instanceIds):
        self.add_param('instanceIds', instanceIds)

    def get_keepInstance(self):
        return self.get_params().get('keepInstance')

    def set_keepInstance(self, keepInstance):
        self.add_param('keepInstance', keepInstance)

    def get_scalingGroupId(self):
        return self.get_params().get('scalingGroupId')

    def set_scalingGroupId(self, scalingGroupId):
        self.add_param('scalingGroupId', scalingGroupId)

# -*- coding: utf-8 -*-