Class Userquery

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

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

      • statuscode

        protected Integer statuscode
      • _owningteam_value

        protected UUID _owningteam_value
      • returnedtypecode

        protected String returnedtypecode
      • querytype

        protected Integer querytype
      • advancedgroupby

        protected String advancedgroupby
      • _parentqueryid_value

        protected UUID _parentqueryid_value
      • columnsetxml

        protected String columnsetxml
      • fetchxml

        protected String fetchxml
      • _owninguser_value

        protected UUID _owninguser_value
      • description

        protected String description
      • conditionalformatting

        protected String conditionalformatting
      • statecode

        protected Integer statecode
      • _modifiedonbehalfby_value

        protected UUID _modifiedonbehalfby_value
      • layoutjson

        protected String layoutjson
      • _owningbusinessunit_value

        protected UUID _owningbusinessunit_value
      • _createdby_value

        protected UUID _createdby_value
      • _createdonbehalfby_value

        protected UUID _createdonbehalfby_value
      • userqueryid

        protected UUID userqueryid
      • layoutxml

        protected String layoutxml
      • versionnumber

        protected Long versionnumber
      • _modifiedby_value

        protected UUID _modifiedby_value
      • _ownerid_value

        protected UUID _ownerid_value
      • offlinesqlquery

        protected String offlinesqlquery
    • Constructor Detail

      • Userquery

        protected Userquery()
    • Method Detail

      • odataTypeName

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

        public static Userquery.Builder builderUserquery()
        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_owningteam_value

        public Optional<UUID> get_owningteam_value()
      • with_owningteam_value

        public Userquery with_owningteam_value​(UUID _owningteam_value)
      • withReturnedtypecode

        public Userquery withReturnedtypecode​(String returnedtypecode)
      • withAdvancedgroupby

        public Userquery withAdvancedgroupby​(String advancedgroupby)
      • get_parentqueryid_value

        public Optional<UUID> get_parentqueryid_value()
      • with_parentqueryid_value

        public Userquery with_parentqueryid_value​(UUID _parentqueryid_value)
      • withColumnsetxml

        public Userquery withColumnsetxml​(String columnsetxml)
      • get_owninguser_value

        public Optional<UUID> get_owninguser_value()
      • with_owninguser_value

        public Userquery with_owninguser_value​(UUID _owninguser_value)
      • withDescription

        public Userquery withDescription​(String description)
      • getConditionalformatting

        public Optional<String> getConditionalformatting()
      • withConditionalformatting

        public Userquery withConditionalformatting​(String conditionalformatting)
      • get_modifiedonbehalfby_value

        public Optional<UUID> get_modifiedonbehalfby_value()
      • with_modifiedonbehalfby_value

        public Userquery with_modifiedonbehalfby_value​(UUID _modifiedonbehalfby_value)
      • get_owningbusinessunit_value

        public Optional<UUID> get_owningbusinessunit_value()
      • with_owningbusinessunit_value

        public Userquery with_owningbusinessunit_value​(UUID _owningbusinessunit_value)
      • get_createdby_value

        public Optional<UUID> get_createdby_value()
      • with_createdby_value

        public Userquery with_createdby_value​(UUID _createdby_value)
      • get_createdonbehalfby_value

        public Optional<UUID> get_createdonbehalfby_value()
      • with_createdonbehalfby_value

        public Userquery with_createdonbehalfby_value​(UUID _createdonbehalfby_value)
      • withUserqueryid

        public Userquery withUserqueryid​(UUID userqueryid)
      • getVersionnumber

        public Optional<Long> getVersionnumber()
      • withVersionnumber

        public Userquery withVersionnumber​(Long versionnumber)
      • get_modifiedby_value

        public Optional<UUID> get_modifiedby_value()
      • with_modifiedby_value

        public Userquery with_modifiedby_value​(UUID _modifiedby_value)
      • get_ownerid_value

        public Optional<UUID> get_ownerid_value()
      • with_ownerid_value

        public Userquery with_ownerid_value​(UUID _ownerid_value)
      • withOfflinesqlquery

        public Userquery withOfflinesqlquery​(String offlinesqlquery)
      • 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 Userquery 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 Userquery 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