4#include "LootLockerServerResponse.generated.h"
20 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
23 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
26 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
29 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
34 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
37 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
46 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
49 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
52 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
55 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
58 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
71 UPROPERTY(BlueprintReadWrite, Category =
"LootLockerServer")
74 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
77 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
80 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
83 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
104USTRUCT(BlueprintType)
111 UPROPERTY(BlueprintReadWrite, EditAnywhere, BlueprintReadWrite, Category =
"LootLockerServer")
116 UPROPERTY(BlueprintReadWrite, EditAnywhere, BlueprintReadWrite, Category =
"LootLockerServer")
121 UPROPERTY(BlueprintReadWrite, EditAnywhere, BlueprintReadWrite, Category =
"LootLockerServer")
129USTRUCT(BlueprintType)
136 UPROPERTY(BlueprintReadWrite, EditAnywhere, BlueprintReadWrite, Category =
"LootLockerServer")
141 UPROPERTY(BlueprintReadWrite, EditAnywhere, BlueprintReadWrite, Category =
"LootLockerServer")
146 UPROPERTY(BlueprintReadWrite, EditAnywhere, BlueprintReadWrite, Category =
"LootLockerServer")
150USTRUCT(BlueprintType)
157 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
162 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
166USTRUCT(BlueprintType)
173 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
178 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
183 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
188 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
193 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
198 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
203 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
208 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
228 static T
Error(FString ErrorMessage,
int StatusCode = 0,
const FString& RequestId =
"")
231 ErrorResponse.Success =
false;
232 ErrorResponse.StatusCode = StatusCode;
233 ErrorResponse.FullTextFromServer =
"{ \"message\": \"" + ErrorMessage +
"\"}";
234 ErrorResponse.ErrorData.Message = ErrorMessage;
235 ErrorResponse.RequestContext.RequestId = RequestId;
236 return ErrorResponse;
void(* FLootLockerServerResponseCallback)(FLootLockerServerResponse)
Definition LootLockerServerResponse.h:94
Definition LootLockerServerResponse.h:224
static T Error(FString ErrorMessage, int StatusCode=0, const FString &RequestId="")
Definition LootLockerServerResponse.h:228
An empty type to use as empty request bodies.
Definition LootLockerServerResponse.h:11
Definition LootLockerServerResponse.h:17
FString Trace_id
A unique identifier for tracing the request through LootLocker systems, use this in contact with supp...
Definition LootLockerServerResponse.h:30
FString Message
A free text description of the problem and potential suggestions for fixing it.
Definition LootLockerServerResponse.h:38
FString Request_id
A unique identifier of the request to use in contact with support.
Definition LootLockerServerResponse.h:27
FString Doc_url
A link to further documentation on the error.
Definition LootLockerServerResponse.h:24
FString Code
A descriptive code identifying the error.
Definition LootLockerServerResponse.h:21
int Retry_after_seconds
If the request was rate limited (status code 429) or the servers were temporarily unavailable (status...
Definition LootLockerServerResponse.h:35
Definition LootLockerServerResponse.h:43
FString RequestMethod
The HTTP Method that was used for this request.
Definition LootLockerServerResponse.h:56
FString RequestId
The unique identifier for this request.
Definition LootLockerServerResponse.h:50
FString RequestURL
The url that this request was made to.
Definition LootLockerServerResponse.h:53
FString RequestTime
The time that this request was made.
Definition LootLockerServerResponse.h:47
FString RequestParametersJsonString
The request parameters as a json string.
Definition LootLockerServerResponse.h:59
The base response for all LootLocker Server responses.
Definition LootLockerServerResponse.h:67
FString FullTextFromServer
Raw text/http body from the server response.
Definition LootLockerServerResponse.h:78
FLootLockerServerErrorData ErrorData
If this request was not a success, this structure holds all the information needed to identify the pr...
Definition LootLockerServerResponse.h:81
FLootLockerServerRequestContext RequestContext
Context information about the request.
Definition LootLockerServerResponse.h:84
int StatusCode
HTTP Status code from the request to LootLockers backend.
Definition LootLockerServerResponse.h:75
bool Success
True if the request succeeded.
Definition LootLockerServerResponse.h:72
Static defines of the different predefined error status codes that can occur in responses.
Definition LootLockerServerResponse.h:216
static const int LL_ERROR_PARSE_ERROR
Definition LootLockerServerResponse.h:220
static const int LL_ERROR_INVALID_HTTP
Definition LootLockerServerResponse.h:218
static const int LL_ERROR_INVALID_INPUT
Definition LootLockerServerResponse.h:219
static const int LL_ERROR_UNDOCUMENTED
Definition LootLockerServerResponse.h:217