All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qingcloud.sdk.request.ResourceRequest Maven / Gradle / Ivy

Go to download

青云为开发者提供软件开发包 SDK (Software Development Kit), 可以利用它对青云的资源进行查看、创建和操作,借此开发出更富创造力的产品。

There is a newer version: 1.2.3
Show newest version
// +-------------------------------------------------------------------------
// | Copyright (C) 2016 Yunify, Inc.
// +-------------------------------------------------------------------------
// | Licensed under the Apache License, Version 2.0 (the "License");
// | you may not use this work except in compliance with the License.
// | You may obtain a copy of the License in the LICENSE file, or 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.
// +-------------------------------------------------------------------------

package com.qingcloud.sdk.request;

import com.qingcloud.sdk.exception.QCException;
import com.qingcloud.sdk.model.OutputModel;
import com.qingcloud.sdk.model.RequestInputModel;

import java.util.Map;

/** Created by karooli on 16/9/23. */
public interface ResourceRequest {

    /**
     * @param context: no desc
     * @param paramBean: no desc
     * @param callback: no desc
     * @throws QCException: no desc
     */
    void sendApiRequestAsync(Map context, RequestInputModel paramBean, ResponseCallBack callback) throws QCException;

    /**
     * @param context: no desc
     * @param paramBean: no desc
     * @param outputClass: no desc
     * @throws QCException: no desc
     */
    OutputModel sendApiRequest(Map context, RequestInputModel paramBean, Class outputClass) throws QCException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy