Class GroupPolicyUploadedLanguageFile

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

    public class GroupPolicyUploadedLanguageFile
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “The entity represents an ADML (Administrative Template language) XML file uploaded by Administrator.”
    • 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
      • content

        protected byte[] content
      • fileName

        protected String fileName
      • languageCode

        protected String languageCode
    • Constructor Detail

      • GroupPolicyUploadedLanguageFile

        protected GroupPolicyUploadedLanguageFile()
    • Method Detail

      • odataTypeName

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

        public Optional<byte[]> getContent()
        “The contents of the uploaded ADML file.”
        Returns:
        property content
      • withContent

        public GroupPolicyUploadedLanguageFile withContent​(byte[] content)
        Returns an immutable copy of this with just the content field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The contents of the uploaded ADML file.”

        Parameters:
        content - new value of content field (as defined in service metadata)
        Returns:
        immutable copy of this with just the content field changed
      • getFileName

        public Optional<String> getFileName()
        “The file name of the uploaded ADML file.”
        Returns:
        property fileName
      • withFileName

        public GroupPolicyUploadedLanguageFile withFileName​(String fileName)
        Returns an immutable copy of this with just the fileName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The file name of the uploaded ADML file.”

        Parameters:
        fileName - new value of fileName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the fileName field changed
      • getId

        public Optional<String> getId()
        “Key of the entity.”
        Returns:
        property id
      • withId

        public GroupPolicyUploadedLanguageFile withId​(String id)
        Returns an immutable copy of this with just the id field changed . Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Key of the entity.”

        Parameters:
        id - new value of id field (as defined in service metadata)
        Returns:
        immutable copy of this with just the id field changed
      • getLanguageCode

        public Optional<String> getLanguageCode()
        “The language code of the uploaded ADML file.”
        Returns:
        property languageCode
      • withLanguageCode

        public GroupPolicyUploadedLanguageFile withLanguageCode​(String languageCode)
        Returns an immutable copy of this with just the languageCode field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “The language code of the uploaded ADML file.”

        Parameters:
        languageCode - new value of languageCode field (as defined in service metadata)
        Returns:
        immutable copy of this with just the languageCode field changed
      • getLastModifiedDateTime

        public Optional<OffsetDateTime> getLastModifiedDateTime()
        “The date and time the entity was last modified.”
        Returns:
        property lastModifiedDateTime
      • withLastModifiedDateTime

        public GroupPolicyUploadedLanguageFile withLastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
        Returns an immutable copy of this with just the lastModifiedDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The date and time the entity was last modified.”

        Parameters:
        lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the lastModifiedDateTime field changed
      • 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
      • builder

        public static GroupPolicyUploadedLanguageFile.Builder builder()
        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