Class Category

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

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

      • _modifiedby_value

        protected String _modifiedby_value
      • _createdonbehalfby_value

        protected String _createdonbehalfby_value
      • title

        protected String title
      • description

        protected String description
      • _ownerid_value

        protected String _ownerid_value
      • categorynumber

        protected String categorynumber
      • _modifiedonbehalfby_value

        protected String _modifiedonbehalfby_value
      • _owningteam_value

        protected String _owningteam_value
      • _parentcategoryid_value

        protected String _parentcategoryid_value
      • sequencenumber

        protected Integer sequencenumber
      • _createdby_value

        protected String _createdby_value
      • _transactioncurrencyid_value

        protected String _transactioncurrencyid_value
      • _owningbusinessunit_value

        protected String _owningbusinessunit_value
      • versionnumber

        protected Long versionnumber
      • importsequencenumber

        protected Integer importsequencenumber
      • _owninguser_value

        protected String _owninguser_value
      • categoryid

        protected String categoryid
    • Constructor Detail

      • Category

        protected Category()
    • Method Detail

      • odataTypeName

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

        public static Category.Builder builderCategory()
        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
      • get_modifiedby_value

        public Optional<String> get_modifiedby_value()
      • with_modifiedby_value

        public Category with_modifiedby_value​(String _modifiedby_value)
      • get_createdonbehalfby_value

        public Optional<String> get_createdonbehalfby_value()
      • with_createdonbehalfby_value

        public Category with_createdonbehalfby_value​(String _createdonbehalfby_value)
      • withDescription

        public Category withDescription​(String description)
      • with_ownerid_value

        public Category with_ownerid_value​(String _ownerid_value)
      • withCategorynumber

        public Category withCategorynumber​(String categorynumber)
      • get_modifiedonbehalfby_value

        public Optional<String> get_modifiedonbehalfby_value()
      • with_modifiedonbehalfby_value

        public Category with_modifiedonbehalfby_value​(String _modifiedonbehalfby_value)
      • get_owningteam_value

        public Optional<String> get_owningteam_value()
      • with_owningteam_value

        public Category with_owningteam_value​(String _owningteam_value)
      • get_parentcategoryid_value

        public Optional<String> get_parentcategoryid_value()
      • with_parentcategoryid_value

        public Category with_parentcategoryid_value​(String _parentcategoryid_value)
      • withSequencenumber

        public Category withSequencenumber​(Integer sequencenumber)
      • with_createdby_value

        public Category with_createdby_value​(String _createdby_value)
      • get_transactioncurrencyid_value

        public Optional<String> get_transactioncurrencyid_value()
      • with_transactioncurrencyid_value

        public Category with_transactioncurrencyid_value​(String _transactioncurrencyid_value)
      • get_owningbusinessunit_value

        public Optional<String> get_owningbusinessunit_value()
      • with_owningbusinessunit_value

        public Category with_owningbusinessunit_value​(String _owningbusinessunit_value)
      • getVersionnumber

        public Optional<Long> getVersionnumber()
      • withVersionnumber

        public Category withVersionnumber​(Long versionnumber)
      • getImportsequencenumber

        public Optional<Integer> getImportsequencenumber()
      • withImportsequencenumber

        public Category withImportsequencenumber​(Integer importsequencenumber)
      • get_owninguser_value

        public Optional<String> get_owninguser_value()
      • with_owninguser_value

        public Category with_owninguser_value​(String _owninguser_value)
      • withCategoryid

        public Category withCategoryid​(String categoryid)
      • getLk_category_modifiedonbehalfby

        public SystemuserRequest getLk_category_modifiedonbehalfby()
      • getLk_category_createdonbehalfby

        public SystemuserRequest getLk_category_createdonbehalfby()
      • 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 Category 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 Category 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