public class GroupPolicyUploadedDefinitionFile extends GroupPolicyDefinitionFile implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyUploadedDefinitionFile.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
content |
protected String |
defaultLanguageCode |
protected String |
fileName |
protected List<GroupPolicyUploadedLanguageFile> |
groupPolicyUploadedLanguageFiles |
protected String |
groupPolicyUploadedLanguageFilesNextLink |
protected GroupPolicyUploadedDefinitionFileStatus |
status |
protected OffsetDateTime |
uploadDateTime |
description, displayName, languageCodes, languageCodesNextLink, lastModifiedDateTime, policyType, revision, targetNamespace, targetPrefixchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyUploadedDefinitionFile() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.ActionRequestNoReturn |
addLanguageFiles(List<GroupPolicyUploadedLanguageFile> groupPolicyUploadedLanguageFiles) |
static GroupPolicyUploadedDefinitionFile.Builder |
builderGroupPolicyUploadedDefinitionFile()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<byte[]> |
getContent()
“The contents of the uploaded ADMX file.”
|
Optional<String> |
getDefaultLanguageCode()
“The default language of the uploaded ADMX file.”
|
Optional<String> |
getFileName()
“The file name of the uploaded ADML file.”
|
GroupPolicyOperationCollectionRequest |
getGroupPolicyOperations()
“The list of operations on the uploaded ADMX file.”
|
com.github.davidmoten.odata.client.CollectionPage<GroupPolicyUploadedLanguageFile> |
getGroupPolicyUploadedLanguageFiles()
“The list of ADML files associated with the uploaded ADMX file.”
|
com.github.davidmoten.odata.client.CollectionPage<GroupPolicyUploadedLanguageFile> |
getGroupPolicyUploadedLanguageFiles(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The list of ADML files associated with the uploaded ADMX file.”
|
Optional<GroupPolicyUploadedDefinitionFileStatus> |
getStatus()
“The upload status of the uploaded ADMX file.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<OffsetDateTime> |
getUploadDateTime()
“The uploaded time of the uploaded ADMX file.”
|
String |
odataTypeName() |
GroupPolicyUploadedDefinitionFile |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GroupPolicyUploadedDefinitionFile |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
remove() |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
removeLanguageFiles(List<GroupPolicyUploadedLanguageFile> groupPolicyUploadedLanguageFiles) |
String |
toString() |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
updateLanguageFiles(List<GroupPolicyUploadedLanguageFile> groupPolicyUploadedLanguageFiles) |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
uploadNewVersion(byte[] content,
List<GroupPolicyUploadedLanguageFile> groupPolicyUploadedLanguageFiles) |
GroupPolicyUploadedDefinitionFile |
withContent(byte[] content)
Returns an immutable copy of
this with just the content field
changed. |
GroupPolicyUploadedDefinitionFile |
withDefaultLanguageCode(String defaultLanguageCode)
Returns an immutable copy of
this with just the defaultLanguageCode field changed. |
GroupPolicyUploadedDefinitionFile |
withFileName(String fileName)
Returns an immutable copy of
this with just the fileName field
changed. |
GroupPolicyUploadedDefinitionFile |
withStatus(GroupPolicyUploadedDefinitionFileStatus status)
Returns an immutable copy of
this with just the status field
changed. |
GroupPolicyUploadedDefinitionFile |
withUploadDateTime(OffsetDateTime uploadDateTime)
Returns an immutable copy of
this with just the uploadDateTime
field changed. |
builderGroupPolicyDefinitionFile, getDefinitions, getDescription, getDisplayName, getLanguageCodes, getLanguageCodes, getLastModifiedDateTime, getPolicyType, getRevision, getTargetNamespace, getTargetPrefix, withDescription, withDisplayName, withLastModifiedDateTime, withPolicyType, withRevision, withTargetNamespace, withTargetPrefixprotected String fileName
protected GroupPolicyUploadedDefinitionFileStatus status
protected byte[] content
protected OffsetDateTime uploadDateTime
protected String defaultLanguageCode
protected List<GroupPolicyUploadedLanguageFile> groupPolicyUploadedLanguageFiles
protected String groupPolicyUploadedLanguageFilesNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class GroupPolicyDefinitionFilepublic static GroupPolicyUploadedDefinitionFile.Builder builderGroupPolicyUploadedDefinitionFile()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class GroupPolicyDefinitionFilepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class GroupPolicyDefinitionFilepublic Optional<String> getFileName()
public GroupPolicyUploadedDefinitionFile 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<GroupPolicyUploadedDefinitionFileStatus> getStatus()
public GroupPolicyUploadedDefinitionFile withStatus(GroupPolicyUploadedDefinitionFileStatus status)
this with just the status 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 upload status of the uploaded ADMX file.”
status - new value of status field (as defined in service metadata)this with just the status field changedpublic Optional<byte[]> getContent()
public GroupPolicyUploadedDefinitionFile 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 ADMX file.”
content - new value of content field (as defined in service metadata)this with just the content field changedpublic Optional<OffsetDateTime> getUploadDateTime()
public GroupPolicyUploadedDefinitionFile withUploadDateTime(OffsetDateTime uploadDateTime)
this with just the uploadDateTime
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 uploaded time of the uploaded ADMX file.”
uploadDateTime - new value of uploadDateTime field (as defined in service metadata)this with just the uploadDateTime field changedpublic Optional<String> getDefaultLanguageCode()
public GroupPolicyUploadedDefinitionFile withDefaultLanguageCode(String defaultLanguageCode)
this with just the defaultLanguageCode 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 default language of the uploaded ADMX file.”
defaultLanguageCode - new value of defaultLanguageCode field (as defined in service metadata)this with just the defaultLanguageCode field changedpublic com.github.davidmoten.odata.client.CollectionPage<GroupPolicyUploadedLanguageFile> getGroupPolicyUploadedLanguageFiles()
public com.github.davidmoten.odata.client.CollectionPage<GroupPolicyUploadedLanguageFile> getGroupPolicyUploadedLanguageFiles(com.github.davidmoten.odata.client.HttpRequestOptions options)
public GroupPolicyOperationCollectionRequest getGroupPolicyOperations()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class GroupPolicyDefinitionFilepublic GroupPolicyUploadedDefinitionFile patch()
this with changed fields reset.patch in class GroupPolicyDefinitionFilethis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic GroupPolicyUploadedDefinitionFile put()
this
with changed fields reset (they were ignored anyway).put in class GroupPolicyDefinitionFilethis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic com.github.davidmoten.odata.client.ActionRequestNoReturn addLanguageFiles(List<GroupPolicyUploadedLanguageFile> groupPolicyUploadedLanguageFiles)
public com.github.davidmoten.odata.client.ActionRequestNoReturn removeLanguageFiles(List<GroupPolicyUploadedLanguageFile> groupPolicyUploadedLanguageFiles)
public com.github.davidmoten.odata.client.ActionRequestNoReturn updateLanguageFiles(List<GroupPolicyUploadedLanguageFile> groupPolicyUploadedLanguageFiles)
public com.github.davidmoten.odata.client.ActionRequestNoReturn uploadNewVersion(byte[] content,
List<GroupPolicyUploadedLanguageFile> groupPolicyUploadedLanguageFiles)
public com.github.davidmoten.odata.client.ActionRequestNoReturn remove()
public String toString()
toString in class GroupPolicyDefinitionFileCopyright © 2018–2020. All rights reserved.