Package com.launchdarkly.api.model
Class TitleRep
- java.lang.Object
-
- com.launchdarkly.api.model.TitleRep
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-11-16T23:57:26.096741Z[Etc/UTC]") public class TitleRep extends java.lang.ObjectTitleRep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTitleRep.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>openapiFieldsstatic java.util.HashSet<java.lang.String>openapiRequiredFieldsstatic java.lang.StringSERIALIZED_NAME_APPstatic java.lang.StringSERIALIZED_NAME_MEMBERstatic java.lang.StringSERIALIZED_NAME_PARENTstatic java.lang.StringSERIALIZED_NAME_SUBJECTstatic java.lang.StringSERIALIZED_NAME_TARGETstatic java.lang.StringSERIALIZED_NAME_TITLEstatic java.lang.StringSERIALIZED_NAME_TITLE_VERBstatic java.lang.StringSERIALIZED_NAME_TOKEN
-
Constructor Summary
Constructors Constructor Description TitleRep()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TitleRepapp(AuthorizedAppDataRep app)booleanequals(java.lang.Object o)static TitleRepfromJson(java.lang.String jsonString)Create an instance of TitleRep given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()Return the additional (undeclared) property.java.lang.ObjectgetAdditionalProperty(java.lang.String key)Return the additional (undeclared) property with the specified name.AuthorizedAppDataRepgetApp()Get appMemberDataRepgetMember()Get memberParentResourceRepgetParent()Get parentSubjectDataRepgetSubject()Get subjectTargetResourceRepgetTarget()Get targetjava.lang.StringgetTitle()A description of what occurred, in the format <code>member</code> <code>titleVerb</code> <code>target</code>java.lang.StringgetTitleVerb()The action and resource recorded in this audit log entryTokenSummarygetToken()Get tokeninthashCode()TitleRepmember(MemberDataRep member)TitleRepparent(ParentResourceRep parent)TitleRepputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.voidsetApp(AuthorizedAppDataRep app)voidsetMember(MemberDataRep member)voidsetParent(ParentResourceRep parent)voidsetSubject(SubjectDataRep subject)voidsetTarget(TargetResourceRep target)voidsetTitle(java.lang.String title)voidsetTitleVerb(java.lang.String titleVerb)voidsetToken(TokenSummary token)TitleRepsubject(SubjectDataRep subject)TitleReptarget(TargetResourceRep target)TitleReptitle(java.lang.String title)TitleReptitleVerb(java.lang.String titleVerb)java.lang.StringtoJson()Convert an instance of TitleRep to an JSON stringTitleReptoken(TokenSummary token)java.lang.StringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_SUBJECT
public static final java.lang.String SERIALIZED_NAME_SUBJECT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MEMBER
public static final java.lang.String SERIALIZED_NAME_MEMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOKEN
public static final java.lang.String SERIALIZED_NAME_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APP
public static final java.lang.String SERIALIZED_NAME_APP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TITLE_VERB
public static final java.lang.String SERIALIZED_NAME_TITLE_VERB
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TITLE
public static final java.lang.String SERIALIZED_NAME_TITLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TARGET
public static final java.lang.String SERIALIZED_NAME_TARGET
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PARENT
public static final java.lang.String SERIALIZED_NAME_PARENT
- 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
-
subject
public TitleRep subject(SubjectDataRep subject)
-
getSubject
@Nullable public SubjectDataRep getSubject()
Get subject- Returns:
- subject
-
setSubject
public void setSubject(SubjectDataRep subject)
-
member
public TitleRep member(MemberDataRep member)
-
getMember
@Nullable public MemberDataRep getMember()
Get member- Returns:
- member
-
setMember
public void setMember(MemberDataRep member)
-
token
public TitleRep token(TokenSummary token)
-
getToken
@Nullable public TokenSummary getToken()
Get token- Returns:
- token
-
setToken
public void setToken(TokenSummary token)
-
app
public TitleRep app(AuthorizedAppDataRep app)
-
getApp
@Nullable public AuthorizedAppDataRep getApp()
Get app- Returns:
- app
-
setApp
public void setApp(AuthorizedAppDataRep app)
-
titleVerb
public TitleRep titleVerb(java.lang.String titleVerb)
-
getTitleVerb
@Nullable public java.lang.String getTitleVerb()
The action and resource recorded in this audit log entry- Returns:
- titleVerb
-
setTitleVerb
public void setTitleVerb(java.lang.String titleVerb)
-
title
public TitleRep title(java.lang.String title)
-
getTitle
@Nullable public java.lang.String getTitle()
A description of what occurred, in the format <code>member</code> <code>titleVerb</code> <code>target</code>- Returns:
- title
-
setTitle
public void setTitle(java.lang.String title)
-
target
public TitleRep target(TargetResourceRep target)
-
getTarget
@Nullable public TargetResourceRep getTarget()
Get target- Returns:
- target
-
setTarget
public void setTarget(TargetResourceRep target)
-
parent
public TitleRep parent(ParentResourceRep parent)
-
getParent
@Nullable public ParentResourceRep getParent()
Get parent- Returns:
- parent
-
setParent
public void setParent(ParentResourceRep parent)
-
putAdditionalProperty
public TitleRep 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws java.io.IOExceptionValidates 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 TitleRep
-
fromJson
public static TitleRep fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of TitleRep given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TitleRep
- Throws:
java.io.IOException- if the JSON string is invalid with respect to TitleRep
-
toJson
public java.lang.String toJson()
Convert an instance of TitleRep to an JSON string- Returns:
- JSON string
-
-