Class AuditEvent
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.managed.tenants.entity.AuditEvent
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AuditEvent extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuditEvent.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringactivityprotected OffsetDateTimeactivityDateTimeprotected StringactivityIdprotected Stringcategoryprotected StringhttpVerbprotected StringinitiatedByAppIdprotected StringinitiatedByUpnprotected StringinitiatedByUserIdprotected StringipAddressprotected StringrequestBodyprotected StringrequestUrlprotected StringtenantIdsprotected StringtenantNames-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAuditEvent()
-
Method Summary
-
-
-
Field Detail
-
activity
protected String activity
-
activityDateTime
protected OffsetDateTime activityDateTime
-
activityId
protected String activityId
-
category
protected String category
-
httpVerb
protected String httpVerb
-
initiatedByAppId
protected String initiatedByAppId
-
initiatedByUpn
protected String initiatedByUpn
-
initiatedByUserId
protected String initiatedByUserId
-
ipAddress
protected String ipAddress
-
requestBody
protected String requestBody
-
requestUrl
protected String requestUrl
-
tenantIds
protected String tenantIds
-
tenantNames
protected String tenantNames
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAuditEvent
public static AuditEvent.Builder builderAuditEvent()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withActivity
public AuditEvent withActivity(String activity)
-
getActivityDateTime
public Optional<OffsetDateTime> getActivityDateTime()
-
withActivityDateTime
public AuditEvent withActivityDateTime(OffsetDateTime activityDateTime)
-
withActivityId
public AuditEvent withActivityId(String activityId)
-
withCategory
public AuditEvent withCategory(String category)
-
withHttpVerb
public AuditEvent withHttpVerb(String httpVerb)
-
withInitiatedByAppId
public AuditEvent withInitiatedByAppId(String initiatedByAppId)
-
withInitiatedByUpn
public AuditEvent withInitiatedByUpn(String initiatedByUpn)
-
withInitiatedByUserId
public AuditEvent withInitiatedByUserId(String initiatedByUserId)
-
withIpAddress
public AuditEvent withIpAddress(String ipAddress)
-
withRequestBody
public AuditEvent withRequestBody(String requestBody)
-
withRequestUrl
public AuditEvent withRequestUrl(String requestUrl)
-
withTenantIds
public AuditEvent withTenantIds(String tenantIds)
-
withTenantNames
public AuditEvent withTenantNames(String tenantNames)
-
withUnmappedField
public AuditEvent withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AuditEvent patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AuditEvent put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-