Class Teamtemplate

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

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

      • _modifiedonbehalfby_value

        protected String _modifiedonbehalfby_value
      • versionnumber

        protected Long versionnumber
      • _createdonbehalfby_value

        protected String _createdonbehalfby_value
      • objecttypecode

        protected Integer objecttypecode
      • defaultaccessrightsmask

        protected Integer defaultaccessrightsmask
      • _createdby_value

        protected String _createdby_value
      • teamtemplateid

        protected String teamtemplateid
      • description

        protected String description
      • issystem

        protected Boolean issystem
      • _modifiedby_value

        protected String _modifiedby_value
      • teamtemplatename

        protected String teamtemplatename
    • Constructor Detail

      • Teamtemplate

        protected Teamtemplate()
    • Method Detail

      • odataTypeName

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

        public static Teamtemplate.Builder builderTeamtemplate()
        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_modifiedonbehalfby_value

        public Optional<String> get_modifiedonbehalfby_value()
      • with_modifiedonbehalfby_value

        public Teamtemplate with_modifiedonbehalfby_value​(String _modifiedonbehalfby_value)
      • getVersionnumber

        public Optional<Long> getVersionnumber()
      • withVersionnumber

        public Teamtemplate withVersionnumber​(Long versionnumber)
      • get_createdonbehalfby_value

        public Optional<String> get_createdonbehalfby_value()
      • with_createdonbehalfby_value

        public Teamtemplate with_createdonbehalfby_value​(String _createdonbehalfby_value)
      • getDefaultaccessrightsmask

        public Optional<Integer> getDefaultaccessrightsmask()
      • withDefaultaccessrightsmask

        public Teamtemplate withDefaultaccessrightsmask​(Integer defaultaccessrightsmask)
      • with_createdby_value

        public Teamtemplate with_createdby_value​(String _createdby_value)
      • get_modifiedby_value

        public Optional<String> get_modifiedby_value()
      • with_modifiedby_value

        public Teamtemplate with_modifiedby_value​(String _modifiedby_value)
      • withTeamtemplatename

        public Teamtemplate withTeamtemplatename​(String teamtemplatename)
      • 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 Teamtemplate 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 Teamtemplate 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