public class GroupPolicyDefinitionFile extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyDefinitionFile.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
displayName |
protected List<String> |
languageCodes |
protected String |
languageCodesNextLink |
protected OffsetDateTime |
lastModifiedDateTime |
protected GroupPolicyType |
policyType |
protected String |
revision |
protected String |
targetNamespace |
protected String |
targetPrefix |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyDefinitionFile() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyDefinitionFile.Builder |
builderGroupPolicyDefinitionFile()
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() |
GroupPolicyDefinitionCollectionRequest |
getDefinitions()
“The group policy definitions associated with the file.”
|
Optional<String> |
getDescription()
“The localized description of the policy settings in the ADMX file.
|
Optional<String> |
getDisplayName()
“The localized friendly name of the ADMX file.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getLanguageCodes()
“The supported language codes for the ADMX file.”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“The date and time the entity was last modified.”
|
Optional<GroupPolicyType> |
getPolicyType()
“Specifies the type of group policy.”
|
Optional<String> |
getRevision()
“The revision version associated with the file.”
|
Optional<String> |
getTargetNamespace()
“Specifies the URI used to identify the namespace within the ADMX file.”
|
Optional<String> |
getTargetPrefix()
“Specifies the logical name that refers to the namespace within the ADMX file.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
GroupPolicyDefinitionFile |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GroupPolicyDefinitionFile |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
GroupPolicyDefinitionFile |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
GroupPolicyDefinitionFile |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
GroupPolicyDefinitionFile |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
GroupPolicyDefinitionFile |
withPolicyType(GroupPolicyType policyType)
Returns an immutable copy of
this with just the policyType field
changed. |
GroupPolicyDefinitionFile |
withRevision(String revision)
Returns an immutable copy of
this with just the revision field
changed. |
GroupPolicyDefinitionFile |
withTargetNamespace(String targetNamespace)
Returns an immutable copy of
this with just the targetNamespace
field changed. |
GroupPolicyDefinitionFile |
withTargetPrefix(String targetPrefix)
Returns an immutable copy of
this with just the targetPrefix
field changed. |
protected String displayName
protected String description
protected String languageCodesNextLink
protected String targetPrefix
protected String targetNamespace
protected GroupPolicyType policyType
protected String revision
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static GroupPolicyDefinitionFile.Builder builderGroupPolicyDefinitionFile()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<String> getDisplayName()
public GroupPolicyDefinitionFile withDisplayName(String displayName)
this with just the displayName
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 localized friendly name of the ADMX file.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public GroupPolicyDefinitionFile withDescription(String description)
this with just the description
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 localized description of the policy settings in the ADMX file. The default value is empty.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getLanguageCodes()
public Optional<String> getTargetPrefix()
public GroupPolicyDefinitionFile withTargetPrefix(String targetPrefix)
this with just the targetPrefix
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.
“Specifies the logical name that refers to the namespace within the ADMX file.”
targetPrefix - new value of targetPrefix field (as defined in service metadata)this with just the targetPrefix field changedpublic Optional<String> getTargetNamespace()
public GroupPolicyDefinitionFile withTargetNamespace(String targetNamespace)
this with just the targetNamespace
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.
“Specifies the URI used to identify the namespace within the ADMX file.”
targetNamespace - new value of targetNamespace field (as defined in service metadata)this with just the targetNamespace field changedpublic Optional<GroupPolicyType> getPolicyType()
public GroupPolicyDefinitionFile withPolicyType(GroupPolicyType policyType)
this with just the policyType 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.
“Specifies the type of group policy.”
policyType - new value of policyType field (as defined in service metadata)this with just the policyType field changedpublic Optional<String> getRevision()
public GroupPolicyDefinitionFile withRevision(String revision)
this with just the revision 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 revision version associated with the file.”
revision - new value of revision field (as defined in service metadata)this with just the revision field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public GroupPolicyDefinitionFile 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 GroupPolicyDefinitionCollectionRequest getDefinitions()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic GroupPolicyDefinitionFile patch()
this with changed fields reset.public GroupPolicyDefinitionFile put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.