Class Territory

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

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

      • utcconversiontimezonecode

        protected Integer utcconversiontimezonecode
      • _modifiedby_value

        protected UUID _modifiedby_value
      • entityimage_url

        protected String entityimage_url
      • versionnumber

        protected Long versionnumber
      • entityimage_timestamp

        protected Long entityimage_timestamp
      • _managerid_value

        protected UUID _managerid_value
      • importsequencenumber

        protected Integer importsequencenumber
      • territoryid

        protected UUID territoryid
      • description

        protected String description
      • _organizationid_value

        protected UUID _organizationid_value
      • _modifiedonbehalfby_value

        protected UUID _modifiedonbehalfby_value
      • entityimage

        protected byte[] entityimage
      • _parentterritoryid_value

        protected UUID _parentterritoryid_value
      • _transactioncurrencyid_value

        protected UUID _transactioncurrencyid_value
      • _createdby_value

        protected UUID _createdby_value
      • _createdonbehalfby_value

        protected UUID _createdonbehalfby_value
      • timezoneruleversionnumber

        protected Integer timezoneruleversionnumber
      • entityimageid

        protected UUID entityimageid
    • Constructor Detail

      • Territory

        protected Territory()
    • Method Detail

      • odataTypeName

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

        public static Territory.Builder builderTerritory()
        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
      • getUtcconversiontimezonecode

        public Optional<Integer> getUtcconversiontimezonecode()
      • withUtcconversiontimezonecode

        public Territory withUtcconversiontimezonecode​(Integer utcconversiontimezonecode)
      • get_modifiedby_value

        public Optional<UUID> get_modifiedby_value()
      • with_modifiedby_value

        public Territory with_modifiedby_value​(UUID _modifiedby_value)
      • withEntityimage_url

        public Territory withEntityimage_url​(String entityimage_url)
      • getVersionnumber

        public Optional<Long> getVersionnumber()
      • withVersionnumber

        public Territory withVersionnumber​(Long versionnumber)
      • getEntityimage_timestamp

        public Optional<Long> getEntityimage_timestamp()
      • withEntityimage_timestamp

        public Territory withEntityimage_timestamp​(Long entityimage_timestamp)
      • get_managerid_value

        public Optional<UUID> get_managerid_value()
      • with_managerid_value

        public Territory with_managerid_value​(UUID _managerid_value)
      • getImportsequencenumber

        public Optional<Integer> getImportsequencenumber()
      • withImportsequencenumber

        public Territory withImportsequencenumber​(Integer importsequencenumber)
      • withTerritoryid

        public Territory withTerritoryid​(UUID territoryid)
      • withDescription

        public Territory withDescription​(String description)
      • get_organizationid_value

        public Optional<UUID> get_organizationid_value()
      • with_organizationid_value

        public Territory with_organizationid_value​(UUID _organizationid_value)
      • get_modifiedonbehalfby_value

        public Optional<UUID> get_modifiedonbehalfby_value()
      • with_modifiedonbehalfby_value

        public Territory with_modifiedonbehalfby_value​(UUID _modifiedonbehalfby_value)
      • getEntityimage

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

        public Territory withEntityimage​(byte[] entityimage)
      • get_parentterritoryid_value

        public Optional<UUID> get_parentterritoryid_value()
      • with_parentterritoryid_value

        public Territory with_parentterritoryid_value​(UUID _parentterritoryid_value)
      • get_transactioncurrencyid_value

        public Optional<UUID> get_transactioncurrencyid_value()
      • with_transactioncurrencyid_value

        public Territory with_transactioncurrencyid_value​(UUID _transactioncurrencyid_value)
      • get_createdby_value

        public Optional<UUID> get_createdby_value()
      • with_createdby_value

        public Territory with_createdby_value​(UUID _createdby_value)
      • get_createdonbehalfby_value

        public Optional<UUID> get_createdonbehalfby_value()
      • with_createdonbehalfby_value

        public Territory with_createdonbehalfby_value​(UUID _createdonbehalfby_value)
      • getTimezoneruleversionnumber

        public Optional<Integer> getTimezoneruleversionnumber()
      • withTimezoneruleversionnumber

        public Territory withTimezoneruleversionnumber​(Integer timezoneruleversionnumber)
      • getEntityimageid

        public Optional<UUID> getEntityimageid()
      • withEntityimageid

        public Territory withEntityimageid​(UUID entityimageid)
      • 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 Territory 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 Territory 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