Package model
Class AuthorizationsListEmbedded
- java.lang.Object
-
- model.AuthorizationsListEmbedded
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class AuthorizationsListEmbedded extends Object
List of `Authroization` objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthorizationsListEmbedded.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AUTHORIZATIONS
-
Constructor Summary
Constructors Constructor Description AuthorizationsListEmbedded()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationsListEmbeddedaddAuthorizationsItem(Authorization authorizationsItem)AuthorizationsListEmbeddedauthorizations(Set<Authorization> authorizations)booleanequals(Object o)static AuthorizationsListEmbeddedfromJson(String jsonString)Create an instance of AuthorizationsListEmbedded given an JSON stringSet<Authorization>getAuthorizations()`Authorization` objects.inthashCode()voidsetAuthorizations(Set<Authorization> authorizations)StringtoJson()Convert an instance of AuthorizationsListEmbedded to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
authorizations
public AuthorizationsListEmbedded authorizations(Set<Authorization> authorizations)
-
addAuthorizationsItem
public AuthorizationsListEmbedded addAuthorizationsItem(Authorization authorizationsItem)
-
getAuthorizations
@Nullable public Set<Authorization> getAuthorizations()
`Authorization` objects.- Returns:
- authorizations
-
setAuthorizations
public void setAuthorizations(Set<Authorization> authorizations)
-
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 AuthorizationsListEmbedded
-
fromJson
public static AuthorizationsListEmbedded fromJson(String jsonString) throws IOException
Create an instance of AuthorizationsListEmbedded given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AuthorizationsListEmbedded
- Throws:
IOException- if the JSON string is invalid with respect to AuthorizationsListEmbedded
-
toJson
public String toJson()
Convert an instance of AuthorizationsListEmbedded to an JSON string- Returns:
- JSON string
-
-