public class GroupPolicyUploadedLanguageFile extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyUploadedLanguageFile.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
content |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
fileName |
protected String |
id |
protected String |
languageCode |
protected OffsetDateTime |
lastModifiedDateTime |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyUploadedLanguageFile() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyUploadedLanguageFile.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<byte[]> |
getContent()
“The contents of the uploaded ADML file.”
|
Optional<String> |
getFileName()
“The file name of the uploaded ADML file.”
|
Optional<String> |
getId()
“Key of the entity.”
|
Optional<String> |
getLanguageCode()
“The language code of the uploaded ADML file.”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“The date and time the entity was last modified.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
GroupPolicyUploadedLanguageFile |
withContent(byte[] content)
Returns an immutable copy of
this with just the content field
changed. |
GroupPolicyUploadedLanguageFile |
withFileName(String fileName)
Returns an immutable copy of
this with just the fileName field
changed. |
GroupPolicyUploadedLanguageFile |
withId(String id)
Returns an immutable copy of
this with just the id field changed
. |
GroupPolicyUploadedLanguageFile |
withLanguageCode(String languageCode)
Returns an immutable copy of
this with just the languageCode
field changed. |
GroupPolicyUploadedLanguageFile |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String fileName
protected String languageCode
protected byte[] content
protected String id
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getFileName()
public GroupPolicyUploadedLanguageFile withFileName(String fileName)
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.”
fileName - new value of fileName field (as defined in service metadata)this with just the fileName field changedpublic Optional<String> getLanguageCode()
public GroupPolicyUploadedLanguageFile withLanguageCode(String languageCode)
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.”
languageCode - new value of languageCode field (as defined in service metadata)this with just the languageCode field changedpublic Optional<byte[]> getContent()
public GroupPolicyUploadedLanguageFile withContent(byte[] content)
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.”
content - new value of content field (as defined in service metadata)this with just the content field changedpublic GroupPolicyUploadedLanguageFile withId(String id)
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.”
id - new value of id field (as defined in service metadata)this with just the id field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public GroupPolicyUploadedLanguageFile withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
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.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static GroupPolicyUploadedLanguageFile.Builder builder()
Copyright © 2018–2020. All rights reserved.