Package model
Class FilesListEmbedded
- java.lang.Object
-
- model.FilesListEmbedded
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class FilesListEmbedded extends Object
List of `File` objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilesListEmbedded.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_FILES
-
Constructor Summary
Constructors Constructor Description FilesListEmbedded()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FilesListEmbeddedaddFilesItem(ModelFile filesItem)booleanequals(Object o)FilesListEmbeddedfiles(List<ModelFile> files)static FilesListEmbeddedfromJson(String jsonString)Create an instance of FilesListEmbedded given an JSON stringList<ModelFile>getFiles()`File` objects.inthashCode()voidsetFiles(List<ModelFile> files)StringtoJson()Convert an instance of FilesListEmbedded to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
files
public FilesListEmbedded files(List<ModelFile> files)
-
addFilesItem
public FilesListEmbedded addFilesItem(ModelFile filesItem)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to FilesListEmbedded
-
fromJson
public static FilesListEmbedded fromJson(String jsonString) throws IOException
Create an instance of FilesListEmbedded given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FilesListEmbedded
- Throws:
IOException- if the JSON string is invalid with respect to FilesListEmbedded
-
toJson
public String toJson()
Convert an instance of FilesListEmbedded to an JSON string- Returns:
- JSON string
-
-