Package odata.msgraph.client.entity
Class ManagedAppConfiguration
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ManagedAppPolicy
-
- odata.msgraph.client.entity.ManagedAppConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
TargetedManagedAppConfiguration
public class ManagedAppConfiguration extends ManagedAppPolicy implements com.github.davidmoten.odata.client.ODataEntityType
“Configuration used to deliver a set of custom settings as-is to apps for users to whom the configuration is scoped”
-
-
Field Summary
Fields Modifier and Type Field Description protected List<KeyValuePair>customSettingsprotected StringcustomSettingsNextLink-
Fields inherited from class odata.msgraph.client.entity.ManagedAppPolicy
createdDateTime, description, displayName, lastModifiedDateTime, version
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedAppConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getCustomSettings()“A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service”com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getCustomSettings(com.github.davidmoten.odata.client.HttpRequestOptions options)“A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ManagedAppConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedAppConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedAppConfigurationwithCustomSettings(List<KeyValuePair> customSettings)Returns an immutable copy ofthiswith just thecustomSettingsfield changed.ManagedAppConfigurationwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.ManagedAppPolicy
getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getVersion, targetApps, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withVersion
-
-
-
-
Field Detail
-
customSettings
protected List<KeyValuePair> customSettings
-
customSettingsNextLink
protected String customSettingsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classManagedAppPolicy
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classManagedAppPolicy
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classManagedAppPolicy
-
getCustomSettings
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getCustomSettings()
“A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service”- Returns:
- property customSettings
-
withCustomSettings
public ManagedAppConfiguration withCustomSettings(List<KeyValuePair> customSettings)
Returns an immutable copy ofthiswith just thecustomSettingsfield 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.“A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service”
- Parameters:
customSettings- new value ofcustomSettingsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomSettingsfield changed
-
getCustomSettings
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getCustomSettings(com.github.davidmoten.odata.client.HttpRequestOptions options)
“A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service”- Parameters:
options- specify connect and read timeouts- Returns:
- property customSettings
-
withUnmappedField
public ManagedAppConfiguration withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classManagedAppPolicy
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classManagedAppPolicy
-
patch
public ManagedAppConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classManagedAppPolicy- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public ManagedAppConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classManagedAppPolicy- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classManagedAppPolicy
-
-