Package odata.msgraph.client.beta.entity
Class UnsupportedGroupPolicyExtension
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.UnsupportedGroupPolicyExtension
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UnsupportedGroupPolicyExtension extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Unsupported Group Policy Extension.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnsupportedGroupPolicyExtension.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringextensionTypeprotected StringnamespaceUrlprotected StringnodeNameprotected GroupPolicySettingScopesettingScope-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnsupportedGroupPolicyExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnsupportedGroupPolicyExtension.BuilderbuilderUnsupportedGroupPolicyExtension()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.ChangedFieldsgetChangedFields()Optional<String>getExtensionType()“ExtensionType of the unsupported extension.”Optional<String>getNamespaceUrl()“Namespace Url of the unsupported extension.”Optional<String>getNodeName()“Node name of the unsupported extension.”Optional<GroupPolicySettingScope>getSettingScope()“Setting Scope of the unsupported extension.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()UnsupportedGroupPolicyExtensionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UnsupportedGroupPolicyExtensionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UnsupportedGroupPolicyExtensionwithExtensionType(String extensionType)Returns an immutable copy ofthiswith just theextensionTypefield changed.UnsupportedGroupPolicyExtensionwithNamespaceUrl(String namespaceUrl)Returns an immutable copy ofthiswith just thenamespaceUrlfield changed.UnsupportedGroupPolicyExtensionwithNodeName(String nodeName)Returns an immutable copy ofthiswith just thenodeNamefield changed.UnsupportedGroupPolicyExtensionwithSettingScope(GroupPolicySettingScope settingScope)Returns an immutable copy ofthiswith just thesettingScopefield changed.UnsupportedGroupPolicyExtensionwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
extensionType
protected String extensionType
-
namespaceUrl
protected String namespaceUrl
-
nodeName
protected String nodeName
-
settingScope
protected GroupPolicySettingScope settingScope
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderUnsupportedGroupPolicyExtension
public static UnsupportedGroupPolicyExtension.Builder builderUnsupportedGroupPolicyExtension()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getExtensionType
public Optional<String> getExtensionType()
“ExtensionType of the unsupported extension.”- Returns:
- property extensionType
-
withExtensionType
public UnsupportedGroupPolicyExtension withExtensionType(String extensionType)
Returns an immutable copy ofthiswith just theextensionTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“ExtensionType of the unsupported extension.”
- Parameters:
extensionType- new value ofextensionTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theextensionTypefield changed
-
getNamespaceUrl
public Optional<String> getNamespaceUrl()
“Namespace Url of the unsupported extension.”- Returns:
- property namespaceUrl
-
withNamespaceUrl
public UnsupportedGroupPolicyExtension withNamespaceUrl(String namespaceUrl)
Returns an immutable copy ofthiswith just thenamespaceUrlfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Namespace Url of the unsupported extension.”
- Parameters:
namespaceUrl- new value ofnamespaceUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenamespaceUrlfield changed
-
getNodeName
public Optional<String> getNodeName()
“Node name of the unsupported extension.”- Returns:
- property nodeName
-
withNodeName
public UnsupportedGroupPolicyExtension withNodeName(String nodeName)
Returns an immutable copy ofthiswith just thenodeNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Node name of the unsupported extension.”
- Parameters:
nodeName- new value ofnodeNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenodeNamefield changed
-
getSettingScope
public Optional<GroupPolicySettingScope> getSettingScope()
“Setting Scope of the unsupported extension.”- Returns:
- property settingScope
-
withSettingScope
public UnsupportedGroupPolicyExtension withSettingScope(GroupPolicySettingScope settingScope)
Returns an immutable copy ofthiswith just thesettingScopefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Setting Scope of the unsupported extension.”
- Parameters:
settingScope- new value ofsettingScopefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingScopefield changed
-
withUnmappedField
public UnsupportedGroupPolicyExtension withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public UnsupportedGroupPolicyExtension patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UnsupportedGroupPolicyExtension put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-