Package microsoft.dynamics.crm.entity
Class Audit
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Audit
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Audit extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAudit.Builder
-
Field Summary
Fields Modifier and Type Field Description protected String_callinguserid_valueprotected String_objectid_valueprotected String_regardingobjectid_valueprotected String_userid_valueprotected Integeractionprotected Stringattributemaskprotected Stringauditidprotected OffsetDateTimecreatedonprotected Stringobjecttypecodeprotected Integeroperationprotected Stringtransactionidprotected Stringuseradditionalinfo-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAudit()
-
Method Summary
-
-
-
Field Detail
-
objecttypecode
protected String objecttypecode
-
operation
protected Integer operation
-
_regardingobjectid_value
protected String _regardingobjectid_value
-
auditid
protected String auditid
-
action
protected Integer action
-
useradditionalinfo
protected String useradditionalinfo
-
attributemask
protected String attributemask
-
_userid_value
protected String _userid_value
-
_callinguserid_value
protected String _callinguserid_value
-
createdon
protected OffsetDateTime createdon
-
_objectid_value
protected String _objectid_value
-
transactionid
protected String transactionid
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderAudit
public static Audit.Builder builderAudit()
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 classCrmbaseentity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classCrmbaseentity
-
with_regardingobjectid_value
public Audit with_regardingobjectid_value(String _regardingobjectid_value)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Audit withCreatedon(OffsetDateTime createdon)
-
withUnmappedField
public Audit withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getCallinguserid
public SystemuserRequest getCallinguserid()
-
getUserid
public SystemuserRequest getUserid()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Audit patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Audit put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
retrieveAuditDetails
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<RetrieveAuditDetailsResponse> retrieveAuditDetails()
-
toString
public String toString()
- Overrides:
toStringin classCrmbaseentity
-
-