Class UserAgent

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    ClientUserAgent, ServiceUserAgent

    public class UserAgent
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • applicationVersion

        protected String applicationVersion
      • headerValue

        protected String headerValue
    • Constructor Detail

      • UserAgent

        protected UserAgent()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getApplicationVersion

        public Optional<String> getApplicationVersion()
      • withApplicationVersion

        public UserAgent withApplicationVersion​(String applicationVersion)
      • withHeaderValue

        public UserAgent withHeaderValue​(String headerValue)
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType