@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class UploadMultipartFormRequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UploadMultipartFormRequest.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CONTENT_TYPE_HEADER |
static String |
SERIALIZED_NAME_FILE |
Constructor and Description |
---|
UploadMultipartFormRequest() |
Modifier and Type | Method and Description |
---|---|
UploadMultipartFormRequest |
_file(File _file) |
UploadMultipartFormRequest |
contentTypeHeader(String contentTypeHeader) |
boolean |
equals(Object o) |
static UploadMultipartFormRequest |
fromJson(String jsonString)
Create an instance of UploadMultipartFormRequest given an JSON string
|
String |
getContentTypeHeader()
Optional content type header of attachment
|
File |
getFile()
Get _file
|
int |
hashCode() |
void |
setContentTypeHeader(String contentTypeHeader) |
void |
setFile(File _file) |
String |
toJson()
Convert an instance of UploadMultipartFormRequest to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_CONTENT_TYPE_HEADER
public static final String SERIALIZED_NAME_FILE
public UploadMultipartFormRequest contentTypeHeader(String contentTypeHeader)
@Nullable public String getContentTypeHeader()
public void setContentTypeHeader(String contentTypeHeader)
public UploadMultipartFormRequest _file(File _file)
public void setFile(File _file)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to UploadMultipartFormRequestpublic static UploadMultipartFormRequest fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to UploadMultipartFormRequestpublic String toJson()
Copyright © 2023. All rights reserved.