public class GroupPolicyObjectFile extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyObjectFile.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
content |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected String |
ouDistinguishedName |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyObjectFile() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyObjectFile.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getContent()
“The Group Policy Object file content.”
|
Optional<String> |
getOuDistinguishedName()
“The distinguished name of the OU.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
GroupPolicyObjectFile |
withContent(String content)
Returns an immutable copy of
this with just the content field
changed. |
GroupPolicyObjectFile |
withOuDistinguishedName(String ouDistinguishedName)
Returns an immutable copy of
this with just the ouDistinguishedName field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String ouDistinguishedName
protected String content
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getOuDistinguishedName()
public GroupPolicyObjectFile withOuDistinguishedName(String ouDistinguishedName)
this with just the ouDistinguishedName 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 distinguished name of the OU.”
ouDistinguishedName - new value of ouDistinguishedName field (as defined in service metadata)this with just the ouDistinguishedName field changedpublic Optional<String> getContent()
public GroupPolicyObjectFile withContent(String 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 Group Policy Object file content.”
content - new value of content field (as defined in service metadata)this with just the content 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 GroupPolicyObjectFile.Builder builder()
Copyright © 2018–2020. All rights reserved.