Class Mailbox

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class Mailbox
    extends Crmbaseentity
    implements com.github.davidmoten.odata.client.ODataEntityType
    • Field Detail

      • testemailconfigurationretrycount

        protected Integer testemailconfigurationretrycount
      • noactcount

        protected Integer noactcount
      • isactsyncorgflagset

        protected Boolean isactsyncorgflagset
      • exchangesyncstatexml

        protected String exchangesyncstatexml
      • isforwardmailbox

        protected Boolean isforwardmailbox
      • _emailserverprofile_value

        protected String _emailserverprofile_value
      • isemailaddressapprovedbyo365admin

        protected Boolean isemailaddressapprovedbyo365admin
      • actdeliverymethod

        protected Integer actdeliverymethod
      • mailboxprocessingcontext

        protected Integer mailboxprocessingcontext
      • folderhierarchy

        protected String folderhierarchy
      • _modifiedby_value

        protected String _modifiedby_value
      • outgoingemaildeliverymethod

        protected Integer outgoingemaildeliverymethod
      • exchangecontactsimportstatus

        protected Integer exchangecontactsimportstatus
      • entityimageid

        protected String entityimageid
      • officeappsdeploymentscheduled

        protected Boolean officeappsdeploymentscheduled
      • mailboxid

        protected String mailboxid
      • timezoneruleversionnumber

        protected Integer timezoneruleversionnumber
      • incomingemaildeliverymethod

        protected Integer incomingemaildeliverymethod
      • forcedunlockcount

        protected Integer forcedunlockcount
      • lastsuccessfulsynccompletedon

        protected OffsetDateTime lastsuccessfulsynccompletedon
      • averagetotalduration

        protected Integer averagetotalduration
      • _owninguser_value

        protected String _owninguser_value
      • lastsyncerror

        protected String lastsyncerror
      • postponeofficeappsdeploymentuntil

        protected OffsetDateTime postponeofficeappsdeploymentuntil
      • versionnumber

        protected Long versionnumber
      • oauthrefreshtoken

        protected String oauthrefreshtoken
      • _organizationid_value

        protected String _organizationid_value
      • lastduration

        protected Integer lastduration
      • testemailconfigurationscheduled

        protected Boolean testemailconfigurationscheduled
      • officeappsdeploymenterror

        protected String officeappsdeploymenterror
      • enabledforact

        protected Boolean enabledforact
      • outgoingemailstatus

        protected Integer outgoingemailstatus
      • lastsyncerrorcount

        protected Integer lastsyncerrorcount
      • emailaddress

        protected String emailaddress
      • utcconversiontimezonecode

        protected Integer utcconversiontimezonecode
      • lastsyncerroroccurredon

        protected OffsetDateTime lastsyncerroroccurredon
      • processanddeleteemails

        protected Boolean processanddeleteemails
      • entityimage

        protected byte[] entityimage
      • allowemailconnectortousecredentials

        protected Boolean allowemailconnectortousecredentials
      • itemsprocessedforlastsync

        protected Integer itemsprocessedforlastsync
      • entityimage_timestamp

        protected Long entityimage_timestamp
      • officeappsdeploymentcompleteon

        protected OffsetDateTime officeappsdeploymentcompleteon
      • processinglastattemptedon

        protected OffsetDateTime processinglastattemptedon
      • username

        protected String username
      • _modifiedonbehalfby_value

        protected String _modifiedonbehalfby_value
      • officeappsdeploymentstatus

        protected Integer officeappsdeploymentstatus
      • postponetestemailconfigurationuntil

        protected OffsetDateTime postponetestemailconfigurationuntil
      • actstatus

        protected Integer actstatus
      • statuscode

        protected Integer statuscode
      • receivingpostponeduntilforact

        protected OffsetDateTime receivingpostponeduntilforact
      • processedtimes

        protected Integer processedtimes
      • exchangecontactsimportcompletedon

        protected OffsetDateTime exchangecontactsimportcompletedon
      • ispasswordset

        protected Boolean ispasswordset
      • _owningteam_value

        protected String _owningteam_value
      • _ownerid_value

        protected String _ownerid_value
      • lastsyncerrormachinename

        protected String lastsyncerrormachinename
      • _regardingobjectid_value

        protected String _regardingobjectid_value
      • ewsurl

        protected String ewsurl
      • processingstatecode

        protected Integer processingstatecode
      • transientfailurecount

        protected Integer transientfailurecount
      • lastsyncerrorcode

        protected Integer lastsyncerrorcode
      • password

        protected String password
      • _createdonbehalfby_value

        protected String _createdonbehalfby_value
      • isoauthrefreshtokenset

        protected Boolean isoauthrefreshtokenset
      • postponemailboxprocessinguntil

        protected OffsetDateTime postponemailboxprocessinguntil
      • testmailboxaccesscompletedon

        protected OffsetDateTime testmailboxaccesscompletedon
      • processemailreceivedafter

        protected OffsetDateTime processemailreceivedafter
      • emailrouteraccessapproval

        protected Integer emailrouteraccessapproval
      • mailboxstatus

        protected Integer mailboxstatus
      • noemailcount

        protected Integer noemailcount
      • incomingemailstatus

        protected Integer incomingemailstatus
      • enabledforoutgoingemail

        protected Boolean enabledforoutgoingemail
      • _createdby_value

        protected String _createdby_value
      • isoauthaccesstokenset

        protected Boolean isoauthaccesstokenset
      • oauthaccesstoken

        protected String oauthaccesstoken
      • enabledforincomingemail

        protected Boolean enabledforincomingemail
      • isexchangecontactsimportscheduled

        protected Boolean isexchangecontactsimportscheduled
      • _owningbusinessunit_value

        protected String _owningbusinessunit_value
      • isserviceaccount

        protected Boolean isserviceaccount
      • orgmarkedasprimaryforexchangesync

        protected Boolean orgmarkedasprimaryforexchangesync
      • entityimage_url

        protected String entityimage_url
      • itemsfailedforlastsync

        protected Integer itemsfailedforlastsync
      • undeliverablefolder

        protected String undeliverablefolder
      • lastmailboxforcedunlockoccurredon

        protected OffsetDateTime lastmailboxforcedunlockoccurredon
      • verboseloggingenabled

        protected Integer verboseloggingenabled
      • statecode

        protected Integer statecode
      • hostid

        protected String hostid
      • receivingpostponeduntil

        protected OffsetDateTime receivingpostponeduntil
    • Constructor Detail

      • Mailbox

        protected Mailbox()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Crmbaseentity
      • builderMailbox

        public static Mailbox.Builder builderMailbox()
        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
      • getTestemailconfigurationretrycount

        public Optional<Integer> getTestemailconfigurationretrycount()
      • withTestemailconfigurationretrycount

        public Mailbox withTestemailconfigurationretrycount​(Integer testemailconfigurationretrycount)
      • withNoactcount

        public Mailbox withNoactcount​(Integer noactcount)
      • getIsactsyncorgflagset

        public Optional<Boolean> getIsactsyncorgflagset()
      • withIsactsyncorgflagset

        public Mailbox withIsactsyncorgflagset​(Boolean isactsyncorgflagset)
      • getExchangesyncstatexml

        public Optional<String> getExchangesyncstatexml()
      • withExchangesyncstatexml

        public Mailbox withExchangesyncstatexml​(String exchangesyncstatexml)
      • withIsforwardmailbox

        public Mailbox withIsforwardmailbox​(Boolean isforwardmailbox)
      • get_emailserverprofile_value

        public Optional<String> get_emailserverprofile_value()
      • with_emailserverprofile_value

        public Mailbox with_emailserverprofile_value​(String _emailserverprofile_value)
      • getIsemailaddressapprovedbyo365admin

        public Optional<Boolean> getIsemailaddressapprovedbyo365admin()
      • withIsemailaddressapprovedbyo365admin

        public Mailbox withIsemailaddressapprovedbyo365admin​(Boolean isemailaddressapprovedbyo365admin)
      • withActdeliverymethod

        public Mailbox withActdeliverymethod​(Integer actdeliverymethod)
      • getMailboxprocessingcontext

        public Optional<Integer> getMailboxprocessingcontext()
      • withMailboxprocessingcontext

        public Mailbox withMailboxprocessingcontext​(Integer mailboxprocessingcontext)
      • withFolderhierarchy

        public Mailbox withFolderhierarchy​(String folderhierarchy)
      • get_modifiedby_value

        public Optional<String> get_modifiedby_value()
      • with_modifiedby_value

        public Mailbox with_modifiedby_value​(String _modifiedby_value)
      • getOutgoingemaildeliverymethod

        public Optional<Integer> getOutgoingemaildeliverymethod()
      • withOutgoingemaildeliverymethod

        public Mailbox withOutgoingemaildeliverymethod​(Integer outgoingemaildeliverymethod)
      • getExchangecontactsimportstatus

        public Optional<Integer> getExchangecontactsimportstatus()
      • withExchangecontactsimportstatus

        public Mailbox withExchangecontactsimportstatus​(Integer exchangecontactsimportstatus)
      • withEntityimageid

        public Mailbox withEntityimageid​(String entityimageid)
      • getOfficeappsdeploymentscheduled

        public Optional<Boolean> getOfficeappsdeploymentscheduled()
      • withOfficeappsdeploymentscheduled

        public Mailbox withOfficeappsdeploymentscheduled​(Boolean officeappsdeploymentscheduled)
      • withMailboxid

        public Mailbox withMailboxid​(String mailboxid)
      • getTimezoneruleversionnumber

        public Optional<Integer> getTimezoneruleversionnumber()
      • withTimezoneruleversionnumber

        public Mailbox withTimezoneruleversionnumber​(Integer timezoneruleversionnumber)
      • getIncomingemaildeliverymethod

        public Optional<Integer> getIncomingemaildeliverymethod()
      • withIncomingemaildeliverymethod

        public Mailbox withIncomingemaildeliverymethod​(Integer incomingemaildeliverymethod)
      • withForcedunlockcount

        public Mailbox withForcedunlockcount​(Integer forcedunlockcount)
      • withLastsuccessfulsynccompletedon

        public Mailbox withLastsuccessfulsynccompletedon​(OffsetDateTime lastsuccessfulsynccompletedon)
      • getAveragetotalduration

        public Optional<Integer> getAveragetotalduration()
      • withAveragetotalduration

        public Mailbox withAveragetotalduration​(Integer averagetotalduration)
      • withOauthtokenexpireson

        public Mailbox withOauthtokenexpireson​(OffsetDateTime oauthtokenexpireson)
      • get_owninguser_value

        public Optional<String> get_owninguser_value()
      • with_owninguser_value

        public Mailbox with_owninguser_value​(String _owninguser_value)
      • withLastsyncerror

        public Mailbox withLastsyncerror​(String lastsyncerror)
      • getPostponeofficeappsdeploymentuntil

        public Optional<OffsetDateTime> getPostponeofficeappsdeploymentuntil()
      • withPostponeofficeappsdeploymentuntil

        public Mailbox withPostponeofficeappsdeploymentuntil​(OffsetDateTime postponeofficeappsdeploymentuntil)
      • getVersionnumber

        public Optional<Long> getVersionnumber()
      • withVersionnumber

        public Mailbox withVersionnumber​(Long versionnumber)
      • getOauthrefreshtoken

        public Optional<String> getOauthrefreshtoken()
      • withOauthrefreshtoken

        public Mailbox withOauthrefreshtoken​(String oauthrefreshtoken)
      • get_organizationid_value

        public Optional<String> get_organizationid_value()
      • with_organizationid_value

        public Mailbox with_organizationid_value​(String _organizationid_value)
      • withLastduration

        public Mailbox withLastduration​(Integer lastduration)
      • getTestemailconfigurationscheduled

        public Optional<Boolean> getTestemailconfigurationscheduled()
      • withTestemailconfigurationscheduled

        public Mailbox withTestemailconfigurationscheduled​(Boolean testemailconfigurationscheduled)
      • getOfficeappsdeploymenterror

        public Optional<String> getOfficeappsdeploymenterror()
      • withOfficeappsdeploymenterror

        public Mailbox withOfficeappsdeploymenterror​(String officeappsdeploymenterror)
      • withEnabledforact

        public Mailbox withEnabledforact​(Boolean enabledforact)
      • getOutgoingemailstatus

        public Optional<Integer> getOutgoingemailstatus()
      • withOutgoingemailstatus

        public Mailbox withOutgoingemailstatus​(Integer outgoingemailstatus)
      • withLastsyncerrorcount

        public Mailbox withLastsyncerrorcount​(Integer lastsyncerrorcount)
      • withEmailaddress

        public Mailbox withEmailaddress​(String emailaddress)
      • getUtcconversiontimezonecode

        public Optional<Integer> getUtcconversiontimezonecode()
      • withUtcconversiontimezonecode

        public Mailbox withUtcconversiontimezonecode​(Integer utcconversiontimezonecode)
      • withLastsyncerroroccurredon

        public Mailbox withLastsyncerroroccurredon​(OffsetDateTime lastsyncerroroccurredon)
      • getProcessanddeleteemails

        public Optional<Boolean> getProcessanddeleteemails()
      • withProcessanddeleteemails

        public Mailbox withProcessanddeleteemails​(Boolean processanddeleteemails)
      • getEntityimage

        public Optional<byte[]> getEntityimage()
      • withEntityimage

        public Mailbox withEntityimage​(byte[] entityimage)
      • getAllowemailconnectortousecredentials

        public Optional<Boolean> getAllowemailconnectortousecredentials()
      • withAllowemailconnectortousecredentials

        public Mailbox withAllowemailconnectortousecredentials​(Boolean allowemailconnectortousecredentials)
      • getItemsprocessedforlastsync

        public Optional<Integer> getItemsprocessedforlastsync()
      • withItemsprocessedforlastsync

        public Mailbox withItemsprocessedforlastsync​(Integer itemsprocessedforlastsync)
      • getEntityimage_timestamp

        public Optional<Long> getEntityimage_timestamp()
      • withEntityimage_timestamp

        public Mailbox withEntityimage_timestamp​(Long entityimage_timestamp)
      • withOfficeappsdeploymentcompleteon

        public Mailbox withOfficeappsdeploymentcompleteon​(OffsetDateTime officeappsdeploymentcompleteon)
      • withProcessinglastattemptedon

        public Mailbox withProcessinglastattemptedon​(OffsetDateTime processinglastattemptedon)
      • withUsername

        public Mailbox withUsername​(String username)
      • get_modifiedonbehalfby_value

        public Optional<String> get_modifiedonbehalfby_value()
      • with_modifiedonbehalfby_value

        public Mailbox with_modifiedonbehalfby_value​(String _modifiedonbehalfby_value)
      • getOfficeappsdeploymentstatus

        public Optional<Integer> getOfficeappsdeploymentstatus()
      • withOfficeappsdeploymentstatus

        public Mailbox withOfficeappsdeploymentstatus​(Integer officeappsdeploymentstatus)
      • withPostponesendinguntil

        public Mailbox withPostponesendinguntil​(OffsetDateTime postponesendinguntil)
      • getPostponetestemailconfigurationuntil

        public Optional<OffsetDateTime> getPostponetestemailconfigurationuntil()
      • withPostponetestemailconfigurationuntil

        public Mailbox withPostponetestemailconfigurationuntil​(OffsetDateTime postponetestemailconfigurationuntil)
      • withStatuscode

        public Mailbox withStatuscode​(Integer statuscode)
      • withReceivingpostponeduntilforact

        public Mailbox withReceivingpostponeduntilforact​(OffsetDateTime receivingpostponeduntilforact)
      • withProcessedtimes

        public Mailbox withProcessedtimes​(Integer processedtimes)
      • getExchangecontactsimportcompletedon

        public Optional<OffsetDateTime> getExchangecontactsimportcompletedon()
      • withExchangecontactsimportcompletedon

        public Mailbox withExchangecontactsimportcompletedon​(OffsetDateTime exchangecontactsimportcompletedon)
      • withIspasswordset

        public Mailbox withIspasswordset​(Boolean ispasswordset)
      • get_owningteam_value

        public Optional<String> get_owningteam_value()
      • with_owningteam_value

        public Mailbox with_owningteam_value​(String _owningteam_value)
      • with_ownerid_value

        public Mailbox with_ownerid_value​(String _ownerid_value)
      • getLastsyncerrormachinename

        public Optional<String> getLastsyncerrormachinename()
      • withLastsyncerrormachinename

        public Mailbox withLastsyncerrormachinename​(String lastsyncerrormachinename)
      • get_regardingobjectid_value

        public Optional<String> get_regardingobjectid_value()
      • with_regardingobjectid_value

        public Mailbox with_regardingobjectid_value​(String _regardingobjectid_value)
      • getProcessingstatecode

        public Optional<Integer> getProcessingstatecode()
      • withProcessingstatecode

        public Mailbox withProcessingstatecode​(Integer processingstatecode)
      • getTransientfailurecount

        public Optional<Integer> getTransientfailurecount()
      • withTransientfailurecount

        public Mailbox withTransientfailurecount​(Integer transientfailurecount)
      • withLastsyncerrorcode

        public Mailbox withLastsyncerrorcode​(Integer lastsyncerrorcode)
      • withPassword

        public Mailbox withPassword​(String password)
      • get_createdonbehalfby_value

        public Optional<String> get_createdonbehalfby_value()
      • with_createdonbehalfby_value

        public Mailbox with_createdonbehalfby_value​(String _createdonbehalfby_value)
      • getIsoauthrefreshtokenset

        public Optional<Boolean> getIsoauthrefreshtokenset()
      • withIsoauthrefreshtokenset

        public Mailbox withIsoauthrefreshtokenset​(Boolean isoauthrefreshtokenset)
      • withPostponemailboxprocessinguntil

        public Mailbox withPostponemailboxprocessinguntil​(OffsetDateTime postponemailboxprocessinguntil)
      • withTestmailboxaccesscompletedon

        public Mailbox withTestmailboxaccesscompletedon​(OffsetDateTime testmailboxaccesscompletedon)
      • withProcessemailreceivedafter

        public Mailbox withProcessemailreceivedafter​(OffsetDateTime processemailreceivedafter)
      • getEmailrouteraccessapproval

        public Optional<Integer> getEmailrouteraccessapproval()
      • withEmailrouteraccessapproval

        public Mailbox withEmailrouteraccessapproval​(Integer emailrouteraccessapproval)
      • withMailboxstatus

        public Mailbox withMailboxstatus​(Integer mailboxstatus)
      • withNoemailcount

        public Mailbox withNoemailcount​(Integer noemailcount)
      • getIncomingemailstatus

        public Optional<Integer> getIncomingemailstatus()
      • withIncomingemailstatus

        public Mailbox withIncomingemailstatus​(Integer incomingemailstatus)
      • getEnabledforoutgoingemail

        public Optional<Boolean> getEnabledforoutgoingemail()
      • withEnabledforoutgoingemail

        public Mailbox withEnabledforoutgoingemail​(Boolean enabledforoutgoingemail)
      • with_createdby_value

        public Mailbox with_createdby_value​(String _createdby_value)
      • getIsoauthaccesstokenset

        public Optional<Boolean> getIsoauthaccesstokenset()
      • withIsoauthaccesstokenset

        public Mailbox withIsoauthaccesstokenset​(Boolean isoauthaccesstokenset)
      • withOauthaccesstoken

        public Mailbox withOauthaccesstoken​(String oauthaccesstoken)
      • getEnabledforincomingemail

        public Optional<Boolean> getEnabledforincomingemail()
      • withEnabledforincomingemail

        public Mailbox withEnabledforincomingemail​(Boolean enabledforincomingemail)
      • getIsexchangecontactsimportscheduled

        public Optional<Boolean> getIsexchangecontactsimportscheduled()
      • withIsexchangecontactsimportscheduled

        public Mailbox withIsexchangecontactsimportscheduled​(Boolean isexchangecontactsimportscheduled)
      • get_owningbusinessunit_value

        public Optional<String> get_owningbusinessunit_value()
      • with_owningbusinessunit_value

        public Mailbox with_owningbusinessunit_value​(String _owningbusinessunit_value)
      • withIsserviceaccount

        public Mailbox withIsserviceaccount​(Boolean isserviceaccount)
      • withLastautodiscoveredon

        public Mailbox withLastautodiscoveredon​(OffsetDateTime lastautodiscoveredon)
      • getOrgmarkedasprimaryforexchangesync

        public Optional<Boolean> getOrgmarkedasprimaryforexchangesync()
      • withOrgmarkedasprimaryforexchangesync

        public Mailbox withOrgmarkedasprimaryforexchangesync​(Boolean orgmarkedasprimaryforexchangesync)
      • withEntityimage_url

        public Mailbox withEntityimage_url​(String entityimage_url)
      • getItemsfailedforlastsync

        public Optional<Integer> getItemsfailedforlastsync()
      • withItemsfailedforlastsync

        public Mailbox withItemsfailedforlastsync​(Integer itemsfailedforlastsync)
      • getUndeliverablefolder

        public Optional<String> getUndeliverablefolder()
      • withUndeliverablefolder

        public Mailbox withUndeliverablefolder​(String undeliverablefolder)
      • getLastmailboxforcedunlockoccurredon

        public Optional<OffsetDateTime> getLastmailboxforcedunlockoccurredon()
      • withLastmailboxforcedunlockoccurredon

        public Mailbox withLastmailboxforcedunlockoccurredon​(OffsetDateTime lastmailboxforcedunlockoccurredon)
      • getVerboseloggingenabled

        public Optional<Integer> getVerboseloggingenabled()
      • withVerboseloggingenabled

        public Mailbox withVerboseloggingenabled​(Integer verboseloggingenabled)
      • withReceivingpostponeduntil

        public Mailbox withReceivingpostponeduntil​(OffsetDateTime receivingpostponeduntil)
      • getRegardingobjectid_queue

        public QueueRequest getRegardingobjectid_queue()
      • 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 Mailbox 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 Mailbox 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