Package com.launchdarkly.api.model
Class AuditLogEntryRep
- java.lang.Object
-
- com.launchdarkly.api.model.AuditLogEntryRep
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-19T22:24:20.163470Z[Etc/UTC]") public class AuditLogEntryRep extends java.lang.ObjectAuditLogEntryRep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuditLogEntryRep.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_ACCESSESstatic java.lang.StringSERIALIZED_NAME_ACCOUNT_IDstatic java.lang.StringSERIALIZED_NAME_APPstatic java.lang.StringSERIALIZED_NAME_COMMENTstatic java.lang.StringSERIALIZED_NAME_CURRENT_VERSIONstatic java.lang.StringSERIALIZED_NAME_DATEstatic java.lang.StringSERIALIZED_NAME_DELTAstatic java.lang.StringSERIALIZED_NAME_DESCRIPTIONstatic java.lang.StringSERIALIZED_NAME_IDstatic java.lang.StringSERIALIZED_NAME_KINDstatic java.lang.StringSERIALIZED_NAME_LINKSstatic java.lang.StringSERIALIZED_NAME_MEMBERstatic java.lang.StringSERIALIZED_NAME_MERGEstatic java.lang.StringSERIALIZED_NAME_NAMEstatic java.lang.StringSERIALIZED_NAME_PARENTstatic java.lang.StringSERIALIZED_NAME_PREVIOUS_VERSIONstatic java.lang.StringSERIALIZED_NAME_SHORT_DESCRIPTIONstatic java.lang.StringSERIALIZED_NAME_SUBENTRIESstatic 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_TOKENstatic java.lang.StringSERIALIZED_NAME_TRIGGER_BODY
-
Constructor Summary
Constructors Constructor Description AuditLogEntryRep()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditLogEntryRepaccesses(java.util.List<ResourceAccess> accesses)AuditLogEntryRepaccountId(java.lang.String accountId)AuditLogEntryRepaddAccessesItem(ResourceAccess accessesItem)AuditLogEntryRepaddSubentriesItem(AuditLogEntryListingRep subentriesItem)AuditLogEntryRepapp(AuthorizedAppDataRep app)AuditLogEntryRepcomment(java.lang.String comment)AuditLogEntryRepcurrentVersion(java.lang.Object currentVersion)AuditLogEntryRepdate(java.lang.Long date)AuditLogEntryRepdelta(java.lang.Object delta)AuditLogEntryRepdescription(java.lang.String description)booleanequals(java.lang.Object o)static AuditLogEntryRepfromJson(java.lang.String jsonString)Create an instance of AuditLogEntryRep given an JSON stringjava.util.List<ResourceAccess>getAccesses()Details on the actions performed and resources acted on in this audit log entryjava.lang.StringgetAccountId()The ID of the account to which this audit log entry belongsjava.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 appjava.lang.StringgetComment()Optional comment for the audit log entryjava.lang.ObjectgetCurrentVersion()If the audit log entry has been updated, this is a JSON representation of the current version of the entityjava.lang.LonggetDate()Get datejava.lang.ObjectgetDelta()If the audit log entry has been updated, this is the JSON patch body that was used in the request to update the entityjava.lang.StringgetDescription()Description of the change recorded in the audit log entryjava.lang.StringgetId()The ID of the audit log entryjava.lang.StringgetKind()Get kindjava.util.Map<java.lang.String,Link>getLinks()The location and content type of related resourcesMemberDataRepgetMember()Get memberjava.lang.ObjectgetMerge()A JSON representation of the merge information for this audit log entry, if anyjava.lang.StringgetName()The name of the resource this audit log entry refers toParentResourceRepgetParent()Get parentjava.lang.ObjectgetPreviousVersion()If the audit log entry has been updated, this is a JSON representation of the previous version of the entityjava.lang.StringgetShortDescription()Shorter version of the change recorded in the audit log entryjava.util.List<AuditLogEntryListingRep>getSubentries()Get subentriesSubjectDataRepgetSubject()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 entryTokenDataRepgetToken()Get tokenjava.lang.ObjectgetTriggerBody()A JSON representation of the external trigger for this audit log entry, if anyinthashCode()AuditLogEntryRepid(java.lang.String id)AuditLogEntryRepkind(java.lang.String kind)AuditLogEntryReplinks(java.util.Map<java.lang.String,Link> links)AuditLogEntryRepmember(MemberDataRep member)AuditLogEntryRepmerge(java.lang.Object merge)AuditLogEntryRepname(java.lang.String name)AuditLogEntryRepparent(ParentResourceRep parent)AuditLogEntryReppreviousVersion(java.lang.Object previousVersion)AuditLogEntryRepputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.AuditLogEntryRepputLinksItem(java.lang.String key, Link linksItem)voidsetAccesses(java.util.List<ResourceAccess> accesses)voidsetAccountId(java.lang.String accountId)voidsetApp(AuthorizedAppDataRep app)voidsetComment(java.lang.String comment)voidsetCurrentVersion(java.lang.Object currentVersion)voidsetDate(java.lang.Long date)voidsetDelta(java.lang.Object delta)voidsetDescription(java.lang.String description)voidsetId(java.lang.String id)voidsetKind(java.lang.String kind)voidsetLinks(java.util.Map<java.lang.String,Link> links)voidsetMember(MemberDataRep member)voidsetMerge(java.lang.Object merge)voidsetName(java.lang.String name)voidsetParent(ParentResourceRep parent)voidsetPreviousVersion(java.lang.Object previousVersion)voidsetShortDescription(java.lang.String shortDescription)voidsetSubentries(java.util.List<AuditLogEntryListingRep> subentries)voidsetSubject(SubjectDataRep subject)voidsetTarget(TargetResourceRep target)voidsetTitle(java.lang.String title)voidsetTitleVerb(java.lang.String titleVerb)voidsetToken(TokenDataRep token)voidsetTriggerBody(java.lang.Object triggerBody)AuditLogEntryRepshortDescription(java.lang.String shortDescription)AuditLogEntryRepsubentries(java.util.List<AuditLogEntryListingRep> subentries)AuditLogEntryRepsubject(SubjectDataRep subject)AuditLogEntryReptarget(TargetResourceRep target)AuditLogEntryReptitle(java.lang.String title)AuditLogEntryReptitleVerb(java.lang.String titleVerb)java.lang.StringtoJson()Convert an instance of AuditLogEntryRep to an JSON stringAuditLogEntryReptoken(TokenDataRep token)java.lang.StringtoString()AuditLogEntryReptriggerBody(java.lang.Object triggerBody)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_LINKS
public static final java.lang.String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final java.lang.String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACCOUNT_ID
public static final java.lang.String SERIALIZED_NAME_ACCOUNT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATE
public static final java.lang.String SERIALIZED_NAME_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACCESSES
public static final java.lang.String SERIALIZED_NAME_ACCESSES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_KIND
public static final java.lang.String SERIALIZED_NAME_KIND
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final java.lang.String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final java.lang.String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHORT_DESCRIPTION
public static final java.lang.String SERIALIZED_NAME_SHORT_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMMENT
public static final java.lang.String SERIALIZED_NAME_COMMENT
- See Also:
- Constant Field Values
-
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
-
SERIALIZED_NAME_DELTA
public static final java.lang.String SERIALIZED_NAME_DELTA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRIGGER_BODY
public static final java.lang.String SERIALIZED_NAME_TRIGGER_BODY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERGE
public static final java.lang.String SERIALIZED_NAME_MERGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PREVIOUS_VERSION
public static final java.lang.String SERIALIZED_NAME_PREVIOUS_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CURRENT_VERSION
public static final java.lang.String SERIALIZED_NAME_CURRENT_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUBENTRIES
public static final java.lang.String SERIALIZED_NAME_SUBENTRIES
- 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
-
links
public AuditLogEntryRep links(java.util.Map<java.lang.String,Link> links)
-
putLinksItem
public AuditLogEntryRep putLinksItem(java.lang.String key, Link linksItem)
-
getLinks
@Nonnull public java.util.Map<java.lang.String,Link> getLinks()
The location and content type of related resources- Returns:
- links
-
setLinks
public void setLinks(java.util.Map<java.lang.String,Link> links)
-
id
public AuditLogEntryRep id(java.lang.String id)
-
getId
@Nonnull public java.lang.String getId()
The ID of the audit log entry- Returns:
- id
-
setId
public void setId(java.lang.String id)
-
accountId
public AuditLogEntryRep accountId(java.lang.String accountId)
-
getAccountId
@Nonnull public java.lang.String getAccountId()
The ID of the account to which this audit log entry belongs- Returns:
- accountId
-
setAccountId
public void setAccountId(java.lang.String accountId)
-
date
public AuditLogEntryRep date(java.lang.Long date)
-
getDate
@Nonnull public java.lang.Long getDate()
Get date- Returns:
- date
-
setDate
public void setDate(java.lang.Long date)
-
accesses
public AuditLogEntryRep accesses(java.util.List<ResourceAccess> accesses)
-
addAccessesItem
public AuditLogEntryRep addAccessesItem(ResourceAccess accessesItem)
-
getAccesses
@Nonnull public java.util.List<ResourceAccess> getAccesses()
Details on the actions performed and resources acted on in this audit log entry- Returns:
- accesses
-
setAccesses
public void setAccesses(java.util.List<ResourceAccess> accesses)
-
kind
public AuditLogEntryRep kind(java.lang.String kind)
-
getKind
@Nonnull public java.lang.String getKind()
Get kind- Returns:
- kind
-
setKind
public void setKind(java.lang.String kind)
-
name
public AuditLogEntryRep name(java.lang.String name)
-
getName
@Nonnull public java.lang.String getName()
The name of the resource this audit log entry refers to- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
description
public AuditLogEntryRep description(java.lang.String description)
-
getDescription
@Nonnull public java.lang.String getDescription()
Description of the change recorded in the audit log entry- Returns:
- description
-
setDescription
public void setDescription(java.lang.String description)
-
shortDescription
public AuditLogEntryRep shortDescription(java.lang.String shortDescription)
-
getShortDescription
@Nonnull public java.lang.String getShortDescription()
Shorter version of the change recorded in the audit log entry- Returns:
- shortDescription
-
setShortDescription
public void setShortDescription(java.lang.String shortDescription)
-
comment
public AuditLogEntryRep comment(java.lang.String comment)
-
getComment
@Nullable public java.lang.String getComment()
Optional comment for the audit log entry- Returns:
- comment
-
setComment
public void setComment(java.lang.String comment)
-
subject
public AuditLogEntryRep subject(SubjectDataRep subject)
-
getSubject
@Nullable public SubjectDataRep getSubject()
Get subject- Returns:
- subject
-
setSubject
public void setSubject(SubjectDataRep subject)
-
member
public AuditLogEntryRep member(MemberDataRep member)
-
getMember
@Nullable public MemberDataRep getMember()
Get member- Returns:
- member
-
setMember
public void setMember(MemberDataRep member)
-
token
public AuditLogEntryRep token(TokenDataRep token)
-
getToken
@Nullable public TokenDataRep getToken()
Get token- Returns:
- token
-
setToken
public void setToken(TokenDataRep token)
-
app
public AuditLogEntryRep app(AuthorizedAppDataRep app)
-
getApp
@Nullable public AuthorizedAppDataRep getApp()
Get app- Returns:
- app
-
setApp
public void setApp(AuthorizedAppDataRep app)
-
titleVerb
public AuditLogEntryRep 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 AuditLogEntryRep 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 AuditLogEntryRep target(TargetResourceRep target)
-
getTarget
@Nullable public TargetResourceRep getTarget()
Get target- Returns:
- target
-
setTarget
public void setTarget(TargetResourceRep target)
-
parent
public AuditLogEntryRep parent(ParentResourceRep parent)
-
getParent
@Nullable public ParentResourceRep getParent()
Get parent- Returns:
- parent
-
setParent
public void setParent(ParentResourceRep parent)
-
delta
public AuditLogEntryRep delta(java.lang.Object delta)
-
getDelta
@Nullable public java.lang.Object getDelta()
If the audit log entry has been updated, this is the JSON patch body that was used in the request to update the entity- Returns:
- delta
-
setDelta
public void setDelta(java.lang.Object delta)
-
triggerBody
public AuditLogEntryRep triggerBody(java.lang.Object triggerBody)
-
getTriggerBody
@Nullable public java.lang.Object getTriggerBody()
A JSON representation of the external trigger for this audit log entry, if any- Returns:
- triggerBody
-
setTriggerBody
public void setTriggerBody(java.lang.Object triggerBody)
-
merge
public AuditLogEntryRep merge(java.lang.Object merge)
-
getMerge
@Nullable public java.lang.Object getMerge()
A JSON representation of the merge information for this audit log entry, if any- Returns:
- merge
-
setMerge
public void setMerge(java.lang.Object merge)
-
previousVersion
public AuditLogEntryRep previousVersion(java.lang.Object previousVersion)
-
getPreviousVersion
@Nullable public java.lang.Object getPreviousVersion()
If the audit log entry has been updated, this is a JSON representation of the previous version of the entity- Returns:
- previousVersion
-
setPreviousVersion
public void setPreviousVersion(java.lang.Object previousVersion)
-
currentVersion
public AuditLogEntryRep currentVersion(java.lang.Object currentVersion)
-
getCurrentVersion
@Nullable public java.lang.Object getCurrentVersion()
If the audit log entry has been updated, this is a JSON representation of the current version of the entity- Returns:
- currentVersion
-
setCurrentVersion
public void setCurrentVersion(java.lang.Object currentVersion)
-
subentries
public AuditLogEntryRep subentries(java.util.List<AuditLogEntryListingRep> subentries)
-
addSubentriesItem
public AuditLogEntryRep addSubentriesItem(AuditLogEntryListingRep subentriesItem)
-
getSubentries
@Nullable public java.util.List<AuditLogEntryListingRep> getSubentries()
Get subentries- Returns:
- subentries
-
setSubentries
public void setSubentries(java.util.List<AuditLogEntryListingRep> subentries)
-
putAdditionalProperty
public AuditLogEntryRep 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 AuditLogEntryRep
-
fromJson
public static AuditLogEntryRep fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of AuditLogEntryRep given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AuditLogEntryRep
- Throws:
java.io.IOException- if the JSON string is invalid with respect to AuditLogEntryRep
-
toJson
public java.lang.String toJson()
Convert an instance of AuditLogEntryRep to an JSON string- Returns:
- JSON string
-
-