public class GroupPolicyDefinition extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyDefinition.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
categoryPath |
protected GroupPolicyDefinitionClassType |
classType |
protected String |
displayName |
protected String |
explainText |
protected String |
groupPolicyCategoryId |
protected OffsetDateTime |
lastModifiedDateTime |
protected GroupPolicyType |
policyType |
protected String |
supportedOn |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyDefinition() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyDefinition.Builder |
builderGroupPolicyDefinition()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
GroupPolicyCategoryRequest |
getCategory()
“The group policy category associated with the definition.”
|
Optional<String> |
getCategoryPath()
“The localized full category path for the policy.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<GroupPolicyDefinitionClassType> |
getClassType()
“Identifies the type of groups the policy can be applied to.”
|
GroupPolicyDefinitionFileRequest |
getDefinitionFile()
“The group policy file associated with the definition.”
|
Optional<String> |
getDisplayName()
“The localized policy name.”
|
Optional<String> |
getExplainText()
“The localized explanation or help text associated with the policy.
|
Optional<String> |
getGroupPolicyCategoryId()
“The category id of the parent category”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“The date and time the entity was last modified.”
|
Optional<GroupPolicyType> |
getPolicyType()
“Specifies the type of group policy.”
|
GroupPolicyPresentationCollectionRequest |
getPresentations()
“The group policy presentations associated with the definition.”
|
Optional<String> |
getSupportedOn()
“Localized string used to specify what operating system or application version is
affected by the policy.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
GroupPolicyDefinition |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GroupPolicyDefinition |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
GroupPolicyDefinition |
withCategoryPath(String categoryPath)
Returns an immutable copy of
this with just the categoryPath
field changed. |
GroupPolicyDefinition |
withClassType(GroupPolicyDefinitionClassType classType)
Returns an immutable copy of
this with just the classType field
changed. |
GroupPolicyDefinition |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
GroupPolicyDefinition |
withExplainText(String explainText)
Returns an immutable copy of
this with just the explainText
field changed. |
GroupPolicyDefinition |
withGroupPolicyCategoryId(String groupPolicyCategoryId)
Returns an immutable copy of
this with just the groupPolicyCategoryId field changed. |
GroupPolicyDefinition |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
GroupPolicyDefinition |
withPolicyType(GroupPolicyType policyType)
Returns an immutable copy of
this with just the policyType field
changed. |
GroupPolicyDefinition |
withSupportedOn(String supportedOn)
Returns an immutable copy of
this with just the supportedOn
field changed. |
protected GroupPolicyDefinitionClassType classType
protected String displayName
protected String explainText
protected String categoryPath
protected String supportedOn
protected GroupPolicyType policyType
protected String groupPolicyCategoryId
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static GroupPolicyDefinition.Builder builderGroupPolicyDefinition()
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<GroupPolicyDefinitionClassType> getClassType()
public GroupPolicyDefinition withClassType(GroupPolicyDefinitionClassType classType)
this with just the classType 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.
“Identifies the type of groups the policy can be applied to.”
classType - new value of classType field (as defined in service metadata)this with just the classType field changedpublic Optional<String> getDisplayName()
public GroupPolicyDefinition 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 policy name.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getExplainText()
public GroupPolicyDefinition withExplainText(String explainText)
this with just the explainText
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 explanation or help text associated with the policy. The default value is empty.”
explainText - new value of explainText field (as defined in service metadata)this with just the explainText field changedpublic Optional<String> getCategoryPath()
public GroupPolicyDefinition withCategoryPath(String categoryPath)
this with just the categoryPath
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 full category path for the policy.”
categoryPath - new value of categoryPath field (as defined in service metadata)this with just the categoryPath field changedpublic Optional<String> getSupportedOn()
public GroupPolicyDefinition withSupportedOn(String supportedOn)
this with just the supportedOn
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.
“Localized string used to specify what operating system or application version is affected by the policy.”
supportedOn - new value of supportedOn field (as defined in service metadata)this with just the supportedOn field changedpublic Optional<GroupPolicyType> getPolicyType()
public GroupPolicyDefinition 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> getGroupPolicyCategoryId()
public GroupPolicyDefinition withGroupPolicyCategoryId(String groupPolicyCategoryId)
this with just the groupPolicyCategoryId 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 category id of the parent category”
groupPolicyCategoryId - new value of groupPolicyCategoryId field (as defined in service metadata)this with just the groupPolicyCategoryId field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public GroupPolicyDefinition 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 GroupPolicyDefinitionFileRequest getDefinitionFile()
public GroupPolicyCategoryRequest getCategory()
public GroupPolicyPresentationCollectionRequest getPresentations()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic GroupPolicyDefinition patch()
this with changed fields reset.public GroupPolicyDefinition put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.