Package model
Class UserLinks
- java.lang.Object
-
- model.UserLinks
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class UserLinks extends Object
For your convenience, every response includes several URLs which link to resources relevant to the request. You can use these `_links` to make your follow-up requests and quickly access relevant IDs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPLICATIONstatic StringSERIALIZED_NAME_APPLICATIONSstatic StringSERIALIZED_NAME_SELF
-
Constructor Summary
Constructors Constructor Description UserLinks()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_APPLICATION
public static final String SERIALIZED_NAME_APPLICATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLICATIONS
public static final String SERIALIZED_NAME_APPLICATIONS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SELF
public static final String SERIALIZED_NAME_SELF
- See Also:
- Constant Field Values
-
-
Method Detail
-
application
public UserLinks application(ApplicationProfileLinksApplication application)
-
getApplication
@Nullable public ApplicationProfileLinksApplication getApplication()
Get application- Returns:
- application
-
setApplication
public void setApplication(ApplicationProfileLinksApplication application)
-
applications
public UserLinks applications(ApplicationLinksApplicationProfile applications)
-
getApplications
@Nullable public ApplicationLinksApplicationProfile getApplications()
Get applications- Returns:
- applications
-
setApplications
public void setApplications(ApplicationLinksApplicationProfile applications)
-
self
public UserLinks self(ApplicationLinksSelf self)
-
getSelf
@Nullable public ApplicationLinksSelf getSelf()
Get self- Returns:
- self
-
setSelf
public void setSelf(ApplicationLinksSelf self)
-
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 UserLinks
-
fromJson
public static UserLinks fromJson(String jsonString) throws IOException
Create an instance of UserLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UserLinks
- Throws:
IOException- if the JSON string is invalid with respect to UserLinks
-
toJson
public String toJson()
Convert an instance of UserLinks to an JSON string- Returns:
- JSON string
-
-