Class Subject

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

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

      • importsequencenumber

        protected Integer importsequencenumber
      • description

        protected String description
      • _modifiedbyexternalparty_value

        protected UUID _modifiedbyexternalparty_value
      • _parentsubject_value

        protected UUID _parentsubject_value
      • _organizationid_value

        protected UUID _organizationid_value
      • _createdbyexternalparty_value

        protected UUID _createdbyexternalparty_value
      • versionnumber

        protected Long versionnumber
      • _modifiedby_value

        protected UUID _modifiedby_value
      • subjectid

        protected UUID subjectid
      • _createdonbehalfby_value

        protected UUID _createdonbehalfby_value
      • title

        protected String title
      • featuremask

        protected Integer featuremask
      • _modifiedonbehalfby_value

        protected UUID _modifiedonbehalfby_value
      • _createdby_value

        protected UUID _createdby_value
    • Constructor Detail

      • Subject

        protected Subject()
    • Method Detail

      • odataTypeName

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

        public static Subject.Builder builderSubject()
        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
      • getImportsequencenumber

        public Optional<Integer> getImportsequencenumber()
      • withImportsequencenumber

        public Subject withImportsequencenumber​(Integer importsequencenumber)
      • withDescription

        public Subject withDescription​(String description)
      • get_modifiedbyexternalparty_value

        public Optional<UUID> get_modifiedbyexternalparty_value()
      • with_modifiedbyexternalparty_value

        public Subject with_modifiedbyexternalparty_value​(UUID _modifiedbyexternalparty_value)
      • get_parentsubject_value

        public Optional<UUID> get_parentsubject_value()
      • with_parentsubject_value

        public Subject with_parentsubject_value​(UUID _parentsubject_value)
      • get_organizationid_value

        public Optional<UUID> get_organizationid_value()
      • with_organizationid_value

        public Subject with_organizationid_value​(UUID _organizationid_value)
      • get_createdbyexternalparty_value

        public Optional<UUID> get_createdbyexternalparty_value()
      • with_createdbyexternalparty_value

        public Subject with_createdbyexternalparty_value​(UUID _createdbyexternalparty_value)
      • getVersionnumber

        public Optional<Long> getVersionnumber()
      • withVersionnumber

        public Subject withVersionnumber​(Long versionnumber)
      • get_modifiedby_value

        public Optional<UUID> get_modifiedby_value()
      • with_modifiedby_value

        public Subject with_modifiedby_value​(UUID _modifiedby_value)
      • withSubjectid

        public Subject withSubjectid​(UUID subjectid)
      • get_createdonbehalfby_value

        public Optional<UUID> get_createdonbehalfby_value()
      • with_createdonbehalfby_value

        public Subject with_createdonbehalfby_value​(UUID _createdonbehalfby_value)
      • withFeaturemask

        public Subject withFeaturemask​(Integer featuremask)
      • get_modifiedonbehalfby_value

        public Optional<UUID> get_modifiedonbehalfby_value()
      • with_modifiedonbehalfby_value

        public Subject with_modifiedonbehalfby_value​(UUID _modifiedonbehalfby_value)
      • withOverriddencreatedon

        public Subject withOverriddencreatedon​(OffsetDateTime overriddencreatedon)
      • get_createdby_value

        public Optional<UUID> get_createdby_value()
      • with_createdby_value

        public Subject with_createdby_value​(UUID _createdby_value)
      • 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 Subject 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 Subject 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
      • retrieveByTopIncidentSubjectKbArticle

        public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<Kbarticle> retrieveByTopIncidentSubjectKbArticle()