Class Post

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

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

      • _regardingobjectid_value

        protected String _regardingobjectid_value
      • _organizationid_value

        protected String _organizationid_value
      • _createdby_value

        protected String _createdby_value
      • timezoneruleversionnumber

        protected Integer timezoneruleversionnumber
      • _regardingobjectowningbusinessunit_value

        protected String _regardingobjectowningbusinessunit_value
      • utcconversiontimezonecode

        protected Integer utcconversiontimezonecode
      • _regardingobjectownerid_value

        protected String _regardingobjectownerid_value
      • _createdonbehalfby_value

        protected String _createdonbehalfby_value
      • _modifiedonbehalfby_value

        protected String _modifiedonbehalfby_value
      • _modifiedby_value

        protected String _modifiedby_value
      • postid

        protected String postid
    • Constructor Detail

      • Post

        protected Post()
    • Method Detail

      • odataTypeName

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

        public static Post.Builder builderPost()
        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_regardingobjectid_value

        public Optional<String> get_regardingobjectid_value()
      • with_regardingobjectid_value

        public Post with_regardingobjectid_value​(String _regardingobjectid_value)
      • withText

        public Post withText​(String text)
      • get_organizationid_value

        public Optional<String> get_organizationid_value()
      • with_organizationid_value

        public Post with_organizationid_value​(String _organizationid_value)
      • withSource

        public Post withSource​(Integer source)
      • with_createdby_value

        public Post with_createdby_value​(String _createdby_value)
      • getTimezoneruleversionnumber

        public Optional<Integer> getTimezoneruleversionnumber()
      • withTimezoneruleversionnumber

        public Post withTimezoneruleversionnumber​(Integer timezoneruleversionnumber)
      • get_regardingobjectowningbusinessunit_value

        public Optional<String> get_regardingobjectowningbusinessunit_value()
      • with_regardingobjectowningbusinessunit_value

        public Post with_regardingobjectowningbusinessunit_value​(String _regardingobjectowningbusinessunit_value)
      • getUtcconversiontimezonecode

        public Optional<Integer> getUtcconversiontimezonecode()
      • withUtcconversiontimezonecode

        public Post withUtcconversiontimezonecode​(Integer utcconversiontimezonecode)
      • get_regardingobjectownerid_value

        public Optional<String> get_regardingobjectownerid_value()
      • with_regardingobjectownerid_value

        public Post with_regardingobjectownerid_value​(String _regardingobjectownerid_value)
      • get_createdonbehalfby_value

        public Optional<String> get_createdonbehalfby_value()
      • with_createdonbehalfby_value

        public Post with_createdonbehalfby_value​(String _createdonbehalfby_value)
      • get_modifiedonbehalfby_value

        public Optional<String> get_modifiedonbehalfby_value()
      • with_modifiedonbehalfby_value

        public Post with_modifiedonbehalfby_value​(String _modifiedonbehalfby_value)
      • get_modifiedby_value

        public Optional<String> get_modifiedby_value()
      • with_modifiedby_value

        public Post with_modifiedby_value​(String _modifiedby_value)
      • withPostid

        public Post withPostid​(String postid)
      • 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 Post 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 Post 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