Class Goal

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

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

      • computedtargetasoftodaypercentageachieved

        protected BigDecimal computedtargetasoftodaypercentageachieved
      • stretchtargetstring

        protected String stretchtargetstring
      • amountdatatype

        protected Integer amountdatatype
      • _owningbusinessunit_value

        protected String _owningbusinessunit_value
      • _rollupqueryinprogressintegerid_value

        protected String _rollupqueryinprogressintegerid_value
      • _createdby_value

        protected String _createdby_value
      • inprogressinteger

        protected Integer inprogressinteger
      • entityimage_url

        protected String entityimage_url
      • _rollupqueryactualintegerid_value

        protected String _rollupqueryactualintegerid_value
      • fiscalperiod

        protected Integer fiscalperiod
      • _modifiedby_value

        protected String _modifiedby_value
      • isoverridden

        protected Boolean isoverridden
      • title

        protected String title
      • _owningteam_value

        protected String _owningteam_value
      • _rollupqueryactualdecimalid_value

        protected String _rollupqueryactualdecimalid_value
      • _rollupqueryactualmoneyid_value

        protected String _rollupqueryactualmoneyid_value
      • inprogressdecimal

        protected BigDecimal inprogressdecimal
      • consideronlygoalownersrecords

        protected Boolean consideronlygoalownersrecords
      • computedtargetasoftodayinteger

        protected Integer computedtargetasoftodayinteger
      • goalid

        protected String goalid
      • entityimageid

        protected String entityimageid
      • targetdecimal

        protected BigDecimal targetdecimal
      • computedtargetasoftodaymoney

        protected BigDecimal computedtargetasoftodaymoney
      • isamount

        protected Boolean isamount
      • actualinteger

        protected Integer actualinteger
      • customrollupfieldmoney

        protected BigDecimal customrollupfieldmoney
      • entityimage

        protected byte[] entityimage
      • versionnumber

        protected Long versionnumber
      • entityimage_timestamp

        protected Long entityimage_timestamp
      • _ownerid_value

        protected String _ownerid_value
      • actualstring

        protected String actualstring
      • stretchtargetinteger

        protected Integer stretchtargetinteger
      • actualmoney_base

        protected BigDecimal actualmoney_base
      • computedtargetasoftodaymoney_base

        protected BigDecimal computedtargetasoftodaymoney_base
      • customrollupfieldmoney_base

        protected BigDecimal customrollupfieldmoney_base
      • _modifiedonbehalfby_value

        protected String _modifiedonbehalfby_value
      • targetinteger

        protected Integer targetinteger
      • inprogressstring

        protected String inprogressstring
      • inprogressmoney_base

        protected BigDecimal inprogressmoney_base
      • targetstring

        protected String targetstring
      • timezoneruleversionnumber

        protected Integer timezoneruleversionnumber
      • statuscode

        protected Integer statuscode
      • isoverride

        protected Boolean isoverride
      • _goalownerid_value

        protected String _goalownerid_value
      • _rollupquerycustommoneyid_value

        protected String _rollupquerycustommoneyid_value
      • _owninguser_value

        protected String _owninguser_value
      • _transactioncurrencyid_value

        protected String _transactioncurrencyid_value
      • _rollupqueryinprogressdecimalid_value

        protected String _rollupqueryinprogressdecimalid_value
      • statecode

        protected Integer statecode
      • stretchtargetmoney

        protected BigDecimal stretchtargetmoney
      • importsequencenumber

        protected Integer importsequencenumber
      • treeid

        protected String treeid
      • _goalwitherrorid_value

        protected String _goalwitherrorid_value
      • rolluponlyfromchildgoals

        protected Boolean rolluponlyfromchildgoals
      • isfiscalperiodgoal

        protected Boolean isfiscalperiodgoal
      • actualdecimal

        protected BigDecimal actualdecimal
      • customrollupfieldstring

        protected String customrollupfieldstring
      • _rollupqueryinprogressmoneyid_value

        protected String _rollupqueryinprogressmoneyid_value
      • _rollupquerycustomdecimalid_value

        protected String _rollupquerycustomdecimalid_value
      • utcconversiontimezonecode

        protected Integer utcconversiontimezonecode
      • _rollupquerycustomintegerid_value

        protected String _rollupquerycustomintegerid_value
      • stretchtargetmoney_base

        protected BigDecimal stretchtargetmoney_base
      • _metricid_value

        protected String _metricid_value
      • computedtargetasoftodaydecimal

        protected BigDecimal computedtargetasoftodaydecimal
      • _createdonbehalfby_value

        protected String _createdonbehalfby_value
      • customrollupfielddecimal

        protected BigDecimal customrollupfielddecimal
      • fiscalyear

        protected Integer fiscalyear
      • stretchtargetdecimal

        protected BigDecimal stretchtargetdecimal
      • targetmoney_base

        protected BigDecimal targetmoney_base
      • inprogressmoney

        protected BigDecimal inprogressmoney
      • rolluperrorcode

        protected Integer rolluperrorcode
      • _parentgoalid_value

        protected String _parentgoalid_value
      • customrollupfieldinteger

        protected Integer customrollupfieldinteger
    • Constructor Detail

      • Goal

        protected Goal()
    • Method Detail

      • odataTypeName

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

        public static Goal.Builder builderGoal()
        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
      • getComputedtargetasoftodaypercentageachieved

        public Optional<BigDecimal> getComputedtargetasoftodaypercentageachieved()
      • withComputedtargetasoftodaypercentageachieved

        public Goal withComputedtargetasoftodaypercentageachieved​(BigDecimal computedtargetasoftodaypercentageachieved)
      • getStretchtargetstring

        public Optional<String> getStretchtargetstring()
      • withStretchtargetstring

        public Goal withStretchtargetstring​(String stretchtargetstring)
      • withAmountdatatype

        public Goal withAmountdatatype​(Integer amountdatatype)
      • get_owningbusinessunit_value

        public Optional<String> get_owningbusinessunit_value()
      • with_owningbusinessunit_value

        public Goal with_owningbusinessunit_value​(String _owningbusinessunit_value)
      • get_rollupqueryinprogressintegerid_value

        public Optional<String> get_rollupqueryinprogressintegerid_value()
      • with_rollupqueryinprogressintegerid_value

        public Goal with_rollupqueryinprogressintegerid_value​(String _rollupqueryinprogressintegerid_value)
      • with_createdby_value

        public Goal with_createdby_value​(String _createdby_value)
      • withInprogressinteger

        public Goal withInprogressinteger​(Integer inprogressinteger)
      • withEntityimage_url

        public Goal withEntityimage_url​(String entityimage_url)
      • withOverriddencreatedon

        public Goal withOverriddencreatedon​(OffsetDateTime overriddencreatedon)
      • get_rollupqueryactualintegerid_value

        public Optional<String> get_rollupqueryactualintegerid_value()
      • with_rollupqueryactualintegerid_value

        public Goal with_rollupqueryactualintegerid_value​(String _rollupqueryactualintegerid_value)
      • withFiscalperiod

        public Goal withFiscalperiod​(Integer fiscalperiod)
      • get_modifiedby_value

        public Optional<String> get_modifiedby_value()
      • with_modifiedby_value

        public Goal with_modifiedby_value​(String _modifiedby_value)
      • withIsoverridden

        public Goal withIsoverridden​(Boolean isoverridden)
      • withTitle

        public Goal withTitle​(String title)
      • get_owningteam_value

        public Optional<String> get_owningteam_value()
      • with_owningteam_value

        public Goal with_owningteam_value​(String _owningteam_value)
      • get_rollupqueryactualdecimalid_value

        public Optional<String> get_rollupqueryactualdecimalid_value()
      • with_rollupqueryactualdecimalid_value

        public Goal with_rollupqueryactualdecimalid_value​(String _rollupqueryactualdecimalid_value)
      • get_rollupqueryactualmoneyid_value

        public Optional<String> get_rollupqueryactualmoneyid_value()
      • with_rollupqueryactualmoneyid_value

        public Goal with_rollupqueryactualmoneyid_value​(String _rollupqueryactualmoneyid_value)
      • withExchangerate

        public Goal withExchangerate​(BigDecimal exchangerate)
      • withInprogressdecimal

        public Goal withInprogressdecimal​(BigDecimal inprogressdecimal)
      • getConsideronlygoalownersrecords

        public Optional<Boolean> getConsideronlygoalownersrecords()
      • withConsideronlygoalownersrecords

        public Goal withConsideronlygoalownersrecords​(Boolean consideronlygoalownersrecords)
      • getComputedtargetasoftodayinteger

        public Optional<Integer> getComputedtargetasoftodayinteger()
      • withComputedtargetasoftodayinteger

        public Goal withComputedtargetasoftodayinteger​(Integer computedtargetasoftodayinteger)
      • withGoalid

        public Goal withGoalid​(String goalid)
      • withEntityimageid

        public Goal withEntityimageid​(String entityimageid)
      • withTargetdecimal

        public Goal withTargetdecimal​(BigDecimal targetdecimal)
      • getComputedtargetasoftodaymoney

        public Optional<BigDecimal> getComputedtargetasoftodaymoney()
      • withComputedtargetasoftodaymoney

        public Goal withComputedtargetasoftodaymoney​(BigDecimal computedtargetasoftodaymoney)
      • withIsamount

        public Goal withIsamount​(Boolean isamount)
      • withActualinteger

        public Goal withActualinteger​(Integer actualinteger)
      • withCustomrollupfieldmoney

        public Goal withCustomrollupfieldmoney​(BigDecimal customrollupfieldmoney)
      • getEntityimage

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

        public Goal withEntityimage​(byte[] entityimage)
      • getVersionnumber

        public Optional<Long> getVersionnumber()
      • withVersionnumber

        public Goal withVersionnumber​(Long versionnumber)
      • getEntityimage_timestamp

        public Optional<Long> getEntityimage_timestamp()
      • withEntityimage_timestamp

        public Goal withEntityimage_timestamp​(Long entityimage_timestamp)
      • with_ownerid_value

        public Goal with_ownerid_value​(String _ownerid_value)
      • withPercentage

        public Goal withPercentage​(BigDecimal percentage)
      • withActualstring

        public Goal withActualstring​(String actualstring)
      • withActualmoney

        public Goal withActualmoney​(BigDecimal actualmoney)
      • getStretchtargetinteger

        public Optional<Integer> getStretchtargetinteger()
      • withStretchtargetinteger

        public Goal withStretchtargetinteger​(Integer stretchtargetinteger)
      • withLastrolledupdate

        public Goal withLastrolledupdate​(OffsetDateTime lastrolledupdate)
      • withActualmoney_base

        public Goal withActualmoney_base​(BigDecimal actualmoney_base)
      • getComputedtargetasoftodaymoney_base

        public Optional<BigDecimal> getComputedtargetasoftodaymoney_base()
      • withComputedtargetasoftodaymoney_base

        public Goal withComputedtargetasoftodaymoney_base​(BigDecimal computedtargetasoftodaymoney_base)
      • getCustomrollupfieldmoney_base

        public Optional<BigDecimal> getCustomrollupfieldmoney_base()
      • withCustomrollupfieldmoney_base

        public Goal withCustomrollupfieldmoney_base​(BigDecimal customrollupfieldmoney_base)
      • get_modifiedonbehalfby_value

        public Optional<String> get_modifiedonbehalfby_value()
      • with_modifiedonbehalfby_value

        public Goal with_modifiedonbehalfby_value​(String _modifiedonbehalfby_value)
      • withTargetinteger

        public Goal withTargetinteger​(Integer targetinteger)
      • withInprogressstring

        public Goal withInprogressstring​(String inprogressstring)
      • withInprogressmoney_base

        public Goal withInprogressmoney_base​(BigDecimal inprogressmoney_base)
      • withTargetstring

        public Goal withTargetstring​(String targetstring)
      • getTimezoneruleversionnumber

        public Optional<Integer> getTimezoneruleversionnumber()
      • withTimezoneruleversionnumber

        public Goal withTimezoneruleversionnumber​(Integer timezoneruleversionnumber)
      • withStatuscode

        public Goal withStatuscode​(Integer statuscode)
      • withIsoverride

        public Goal withIsoverride​(Boolean isoverride)
      • get_goalownerid_value

        public Optional<String> get_goalownerid_value()
      • with_goalownerid_value

        public Goal with_goalownerid_value​(String _goalownerid_value)
      • get_rollupquerycustommoneyid_value

        public Optional<String> get_rollupquerycustommoneyid_value()
      • with_rollupquerycustommoneyid_value

        public Goal with_rollupquerycustommoneyid_value​(String _rollupquerycustommoneyid_value)
      • get_owninguser_value

        public Optional<String> get_owninguser_value()
      • with_owninguser_value

        public Goal with_owninguser_value​(String _owninguser_value)
      • withTargetmoney

        public Goal withTargetmoney​(BigDecimal targetmoney)
      • get_transactioncurrencyid_value

        public Optional<String> get_transactioncurrencyid_value()
      • with_transactioncurrencyid_value

        public Goal with_transactioncurrencyid_value​(String _transactioncurrencyid_value)
      • get_rollupqueryinprogressdecimalid_value

        public Optional<String> get_rollupqueryinprogressdecimalid_value()
      • with_rollupqueryinprogressdecimalid_value

        public Goal with_rollupqueryinprogressdecimalid_value​(String _rollupqueryinprogressdecimalid_value)
      • withStatecode

        public Goal withStatecode​(Integer statecode)
      • withStretchtargetmoney

        public Goal withStretchtargetmoney​(BigDecimal stretchtargetmoney)
      • getImportsequencenumber

        public Optional<Integer> getImportsequencenumber()
      • withImportsequencenumber

        public Goal withImportsequencenumber​(Integer importsequencenumber)
      • withTreeid

        public Goal withTreeid​(String treeid)
      • get_goalwitherrorid_value

        public Optional<String> get_goalwitherrorid_value()
      • with_goalwitherrorid_value

        public Goal with_goalwitherrorid_value​(String _goalwitherrorid_value)
      • getRolluponlyfromchildgoals

        public Optional<Boolean> getRolluponlyfromchildgoals()
      • withRolluponlyfromchildgoals

        public Goal withRolluponlyfromchildgoals​(Boolean rolluponlyfromchildgoals)
      • withIsfiscalperiodgoal

        public Goal withIsfiscalperiodgoal​(Boolean isfiscalperiodgoal)
      • withActualdecimal

        public Goal withActualdecimal​(BigDecimal actualdecimal)
      • getCustomrollupfieldstring

        public Optional<String> getCustomrollupfieldstring()
      • withCustomrollupfieldstring

        public Goal withCustomrollupfieldstring​(String customrollupfieldstring)
      • get_rollupqueryinprogressmoneyid_value

        public Optional<String> get_rollupqueryinprogressmoneyid_value()
      • with_rollupqueryinprogressmoneyid_value

        public Goal with_rollupqueryinprogressmoneyid_value​(String _rollupqueryinprogressmoneyid_value)
      • get_rollupquerycustomdecimalid_value

        public Optional<String> get_rollupquerycustomdecimalid_value()
      • with_rollupquerycustomdecimalid_value

        public Goal with_rollupquerycustomdecimalid_value​(String _rollupquerycustomdecimalid_value)
      • getUtcconversiontimezonecode

        public Optional<Integer> getUtcconversiontimezonecode()
      • withUtcconversiontimezonecode

        public Goal withUtcconversiontimezonecode​(Integer utcconversiontimezonecode)
      • get_rollupquerycustomintegerid_value

        public Optional<String> get_rollupquerycustomintegerid_value()
      • with_rollupquerycustomintegerid_value

        public Goal with_rollupquerycustomintegerid_value​(String _rollupquerycustomintegerid_value)
      • withStretchtargetmoney_base

        public Goal withStretchtargetmoney_base​(BigDecimal stretchtargetmoney_base)
      • with_metricid_value

        public Goal with_metricid_value​(String _metricid_value)
      • getComputedtargetasoftodaydecimal

        public Optional<BigDecimal> getComputedtargetasoftodaydecimal()
      • withComputedtargetasoftodaydecimal

        public Goal withComputedtargetasoftodaydecimal​(BigDecimal computedtargetasoftodaydecimal)
      • get_createdonbehalfby_value

        public Optional<String> get_createdonbehalfby_value()
      • with_createdonbehalfby_value

        public Goal with_createdonbehalfby_value​(String _createdonbehalfby_value)
      • withCustomrollupfielddecimal

        public Goal withCustomrollupfielddecimal​(BigDecimal customrollupfielddecimal)
      • withFiscalyear

        public Goal withFiscalyear​(Integer fiscalyear)
      • withStretchtargetdecimal

        public Goal withStretchtargetdecimal​(BigDecimal stretchtargetdecimal)
      • withTargetmoney_base

        public Goal withTargetmoney_base​(BigDecimal targetmoney_base)
      • withInprogressmoney

        public Goal withInprogressmoney​(BigDecimal inprogressmoney)
      • withRolluperrorcode

        public Goal withRolluperrorcode​(Integer rolluperrorcode)
      • get_parentgoalid_value

        public Optional<String> get_parentgoalid_value()
      • with_parentgoalid_value

        public Goal with_parentgoalid_value​(String _parentgoalid_value)
      • getCustomrollupfieldinteger

        public Optional<Integer> getCustomrollupfieldinteger()
      • withCustomrollupfieldinteger

        public Goal withCustomrollupfieldinteger​(Integer customrollupfieldinteger)
      • getParentgoalid

        public GoalRequest getParentgoalid()
      • getGoalwitherrorid

        public GoalRequest getGoalwitherrorid()
      • getGoalownerid_team

        public TeamRequest getGoalownerid_team()
      • 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 Goal 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 Goal 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
      • recalculate

        public com.github.davidmoten.odata.client.ActionRequestNoReturn recalculate()