Package com.launchdarkly.api.model
Class UserRecordRep
- java.lang.Object
-
- com.launchdarkly.api.model.UserRecordRep
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-07-11T22:46:03.646077Z[Etc/UTC]") public class UserRecordRep extends java.lang.Object
UserRecordRep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserRecordRep.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>
openapiFields
static java.util.HashSet<java.lang.String>
openapiRequiredFields
static java.lang.String
SERIALIZED_NAME_ENVIRONMENT_ID
static java.lang.String
SERIALIZED_NAME_LAST_PING
static java.lang.String
SERIALIZED_NAME_OWNER_ID
static java.lang.String
SERIALIZED_NAME_SORT_VALUE
static java.lang.String
SERIALIZED_NAME_USER
-
Constructor Summary
Constructors Constructor Description UserRecordRep()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UserRecordRep
environmentId(java.lang.String environmentId)
boolean
equals(java.lang.Object o)
static UserRecordRep
fromJson(java.lang.String jsonString)
Create an instance of UserRecordRep given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>
getAdditionalProperties()
Return the additional (undeclared) property.java.lang.Object
getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.java.lang.String
getEnvironmentId()
Get environmentIdjava.time.OffsetDateTime
getLastPing()
Get lastPingjava.lang.String
getOwnerId()
Get ownerIdjava.lang.Object
getSortValue()
Get sortValueUser
getUser()
Get userint
hashCode()
UserRecordRep
lastPing(java.time.OffsetDateTime lastPing)
UserRecordRep
ownerId(java.lang.String ownerId)
UserRecordRep
putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.void
setEnvironmentId(java.lang.String environmentId)
void
setLastPing(java.time.OffsetDateTime lastPing)
void
setOwnerId(java.lang.String ownerId)
void
setSortValue(java.lang.Object sortValue)
void
setUser(User user)
UserRecordRep
sortValue(java.lang.Object sortValue)
java.lang.String
toJson()
Convert an instance of UserRecordRep to an JSON stringjava.lang.String
toString()
UserRecordRep
user(User user)
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_LAST_PING
public static final java.lang.String SERIALIZED_NAME_LAST_PING
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENVIRONMENT_ID
public static final java.lang.String SERIALIZED_NAME_ENVIRONMENT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OWNER_ID
public static final java.lang.String SERIALIZED_NAME_OWNER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER
public static final java.lang.String SERIALIZED_NAME_USER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SORT_VALUE
public static final java.lang.String SERIALIZED_NAME_SORT_VALUE
- See Also:
- Constant Field Values
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
lastPing
public UserRecordRep lastPing(java.time.OffsetDateTime lastPing)
-
getLastPing
@Nullable public java.time.OffsetDateTime getLastPing()
Get lastPing- Returns:
- lastPing
-
setLastPing
public void setLastPing(java.time.OffsetDateTime lastPing)
-
environmentId
public UserRecordRep environmentId(java.lang.String environmentId)
-
getEnvironmentId
@Nullable public java.lang.String getEnvironmentId()
Get environmentId- Returns:
- environmentId
-
setEnvironmentId
public void setEnvironmentId(java.lang.String environmentId)
-
ownerId
public UserRecordRep ownerId(java.lang.String ownerId)
-
getOwnerId
@Nullable public java.lang.String getOwnerId()
Get ownerId- Returns:
- ownerId
-
setOwnerId
public void setOwnerId(java.lang.String ownerId)
-
user
public UserRecordRep user(User user)
-
getUser
@Nullable public User getUser()
Get user- Returns:
- user
-
setUser
public void setUser(User user)
-
sortValue
public UserRecordRep sortValue(java.lang.Object sortValue)
-
getSortValue
@Nullable public java.lang.Object getSortValue()
Get sortValue- Returns:
- sortValue
-
setSortValue
public void setSortValue(java.lang.Object sortValue)
-
putAdditionalProperty
public UserRecordRep putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws java.io.IOException
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
java.io.IOException
- if the JSON Object is invalid with respect to UserRecordRep
-
fromJson
public static UserRecordRep fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of UserRecordRep given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of UserRecordRep
- Throws:
java.io.IOException
- if the JSON string is invalid with respect to UserRecordRep
-
toJson
public java.lang.String toJson()
Convert an instance of UserRecordRep to an JSON string- Returns:
- JSON string
-
-