Class 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
    • Field Detail

      • objecttypecode

        protected String objecttypecode
      • operation

        protected Integer operation
      • _regardingobjectid_value

        protected UUID _regardingobjectid_value
      • auditid

        protected UUID auditid
      • useradditionalinfo

        protected String useradditionalinfo
      • attributemask

        protected String attributemask
      • _userid_value

        protected UUID _userid_value
      • _callinguserid_value

        protected UUID _callinguserid_value
      • _objectid_value

        protected UUID _objectid_value
      • transactionid

        protected UUID transactionid
    • Constructor Detail

      • Audit

        protected Audit()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Crmbaseentity
      • 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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Crmbaseentity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Crmbaseentity
      • withObjecttypecode

        public Audit withObjecttypecode​(String objecttypecode)
      • withOperation

        public Audit withOperation​(Integer operation)
      • get_regardingobjectid_value

        public Optional<UUID> get_regardingobjectid_value()
      • with_regardingobjectid_value

        public Audit with_regardingobjectid_value​(UUID _regardingobjectid_value)
      • withAuditid

        public Audit withAuditid​(UUID auditid)
      • getUseradditionalinfo

        public Optional<String> getUseradditionalinfo()
      • withUseradditionalinfo

        public Audit withUseradditionalinfo​(String useradditionalinfo)
      • withAttributemask

        public Audit withAttributemask​(String attributemask)
      • get_userid_value

        public Optional<UUID> get_userid_value()
      • with_userid_value

        public Audit with_userid_value​(UUID _userid_value)
      • get_callinguserid_value

        public Optional<UUID> get_callinguserid_value()
      • with_callinguserid_value

        public Audit with_callinguserid_value​(UUID _callinguserid_value)
      • get_objectid_value

        public Optional<UUID> get_objectid_value()
      • with_objectid_value

        public Audit with_objectid_value​(UUID _objectid_value)
      • getTransactionid

        public Optional<UUID> getTransactionid()
      • withTransactionid

        public Audit withTransactionid​(UUID transactionid)
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Crmbaseentity
      • patch

        public Audit patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Crmbaseentity
        Returns:
        a copy of this with 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 of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Crmbaseentity
        Returns:
        a copy of this with 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()