
net.accelbyte.sdk.api.dsmc.wrappers.PodConfig Maven / Gradle / Ivy
/*
* Copyright (c) 2022 AccelByte Inc. All Rights Reserved
* This is licensed software from AccelByte Inc, for limitations
* and restrictions contact your company contract manager.
*
* Code generated. DO NOT EDIT.
*/
package net.accelbyte.sdk.api.dsmc.wrappers;
import net.accelbyte.sdk.api.dsmc.models.*;
import net.accelbyte.sdk.api.dsmc.operations.pod_config.*;
import net.accelbyte.sdk.core.AccelByteSDK;
import net.accelbyte.sdk.core.HttpResponse;
public class PodConfig {
private AccelByteSDK sdk;
public PodConfig(AccelByteSDK sdk) {
this.sdk = sdk;
}
/**
* @see GetLowestInstanceSpec
*/
public ModelsInstanceSpec getLowestInstanceSpec(GetLowestInstanceSpec input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
return input.parseResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see GetAllPodConfig
*/
public ModelsListPodConfigResponse getAllPodConfig(GetAllPodConfig input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
return input.parseResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see GetPodConfig
*/
public ModelsPodConfigRecord getPodConfig(GetPodConfig input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
return input.parseResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see CreatePodConfig
*/
public ModelsPodConfigRecord createPodConfig(CreatePodConfig input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
return input.parseResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see DeletePodConfig
*/
public void deletePodConfig(DeletePodConfig input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
input.handleEmptyResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see UpdatePodConfig
*/
public ModelsPodConfigRecord updatePodConfig(UpdatePodConfig input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
return input.parseResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see GetAllPodConfigClient
*/
public ModelsListPodConfigResponse getAllPodConfigClient(GetAllPodConfigClient input)
throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
return input.parseResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see CreatePodConfigClient
*/
public ModelsPodConfigRecord createPodConfigClient(CreatePodConfigClient input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
return input.parseResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see DeletePodConfigClient
*/
public void deletePodConfigClient(DeletePodConfigClient input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
input.handleEmptyResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy