Package model
Class AssociatedIdentity
- java.lang.Object
-
- model.AssociatedIdentity
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class AssociatedIdentity extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssociatedIdentity.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPLICATIONstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_ENTITYstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_TAGSstatic StringSERIALIZED_NAME_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description AssociatedIdentity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociatedIdentityapplication(String application)AssociatedIdentitycreatedAt(OffsetDateTime createdAt)AssociatedIdentityentity(AssociatedIdentityEntity entity)booleanequals(Object o)static AssociatedIdentityfromJson(String jsonString)Create an instance of AssociatedIdentity given an JSON stringStringgetApplication()ID of the `Application` associated with the `Identity`.OffsetDateTimegetCreatedAt()Timestamp of when the object was created.AssociatedIdentityEntitygetEntity()Get entityStringgetId()The ID of the `Identity` resource.IdentityLinksgetLinks()Get linksMap<String,String>getTags()Key value pair for annotating custom meta data (e.g.OffsetDateTimegetUpdatedAt()Timestamp of when the object was last updated.inthashCode()AssociatedIdentityid(String id)AssociatedIdentitylinks(IdentityLinks links)AssociatedIdentityputTagsItem(String key, String tagsItem)voidsetApplication(String application)voidsetCreatedAt(OffsetDateTime createdAt)voidsetEntity(AssociatedIdentityEntity entity)voidsetId(String id)voidsetLinks(IdentityLinks links)voidsetTags(Map<String,String> tags)voidsetUpdatedAt(OffsetDateTime updatedAt)AssociatedIdentitytags(Map<String,String> tags)StringtoJson()Convert an instance of AssociatedIdentity to an JSON stringStringtoString()AssociatedIdentityupdatedAt(OffsetDateTime updatedAt)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLICATION
public static final String SERIALIZED_NAME_APPLICATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENTITY
public static final String SERIALIZED_NAME_ENTITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public AssociatedIdentity id(String id)
-
setId
public void setId(String id)
-
createdAt
public AssociatedIdentity createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public AssociatedIdentity updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
application
public AssociatedIdentity application(String application)
-
getApplication
@Nullable public String getApplication()
ID of the `Application` associated with the `Identity`.- Returns:
- application
-
setApplication
public void setApplication(String application)
-
entity
public AssociatedIdentity entity(AssociatedIdentityEntity entity)
-
getEntity
@Nullable public AssociatedIdentityEntity getEntity()
Get entity- Returns:
- entity
-
setEntity
public void setEntity(AssociatedIdentityEntity entity)
-
tags
public AssociatedIdentity tags(Map<String,String> tags)
-
putTagsItem
public AssociatedIdentity putTagsItem(String key, String tagsItem)
-
getTags
@Nullable public Map<String,String> getTags()
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
links
public AssociatedIdentity links(IdentityLinks links)
-
getLinks
@Nullable public IdentityLinks getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(IdentityLinks links)
-
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 AssociatedIdentity
-
fromJson
public static AssociatedIdentity fromJson(String jsonString) throws IOException
Create an instance of AssociatedIdentity given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AssociatedIdentity
- Throws:
IOException- if the JSON string is invalid with respect to AssociatedIdentity
-
toJson
public String toJson()
Convert an instance of AssociatedIdentity to an JSON string- Returns:
- JSON string
-
-