
net.accelbyte.sdk.api.ams.wrappers.Fleets 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.ams.wrappers;
import net.accelbyte.sdk.api.ams.models.*;
import net.accelbyte.sdk.api.ams.operations.fleets.*;
import net.accelbyte.sdk.core.AccelByteSDK;
import net.accelbyte.sdk.core.HttpResponse;
public class Fleets {
private AccelByteSDK sdk;
public Fleets(AccelByteSDK sdk) {
this.sdk = sdk;
}
/**
* @see FleetList
*/
public ApiFleetListResponse fleetList(FleetList input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
return input.parseResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see FleetCreate
*/
public ApiFleetCreateResponse fleetCreate(FleetCreate input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
return input.parseResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see FleetGet
*/
public ApiFleetGetResponse fleetGet(FleetGet input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
return input.parseResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see FleetUpdate
*/
public void fleetUpdate(FleetUpdate input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
input.handleEmptyResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see FleetDelete
*/
public void fleetDelete(FleetDelete input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
input.handleEmptyResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see FleetServers
*/
public ApiFleetServersResponse fleetServers(FleetServers input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
return input.parseResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see FleetClaimByID
*/
public ApiFleetClaimResponse fleetClaimByID(FleetClaimByID input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
return input.parseResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
/**
* @see FleetClaimByKeys
*/
public ApiFleetClaimResponse fleetClaimByKeys(FleetClaimByKeys input) throws Exception {
final HttpResponse httpResponse = sdk.runRequest(input);
return input.parseResponse(
httpResponse.getCode(), httpResponse.getContentType(), httpResponse.getPayload());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy