Package odata.msgraph.client.complex
Class WindowsInformationProtectionApp
- java.lang.Object
-
- odata.msgraph.client.complex.WindowsInformationProtectionApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
WindowsInformationProtectionDesktopApp,WindowsInformationProtectionStoreApp
public class WindowsInformationProtectionApp extends Object implements com.github.davidmoten.odata.client.ODataType
“App for Windows information protection”
-
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Booleandeniedprotected Stringdescriptionprotected StringdisplayNameprotected StringodataTypeprotected StringproductNameprotected StringpublisherNameprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsInformationProtectionApp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Boolean>getDenied()“If true, app is denied protection or exemption.”Optional<String>getDescription()“The app's description.”Optional<String>getDisplayName()“App display name.”Optional<String>getProductName()“The product name.”Optional<String>getPublisherName()“The publisher name”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsInformationProtectionAppwithDenied(Boolean denied)Returns an immutable copy ofthiswith just thedeniedfield changed.WindowsInformationProtectionAppwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.WindowsInformationProtectionAppwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.WindowsInformationProtectionAppwithProductName(String productName)Returns an immutable copy ofthiswith just theproductNamefield changed.WindowsInformationProtectionAppwithPublisherName(String publisherName)Returns an immutable copy ofthiswith just thepublisherNamefield changed.WindowsInformationProtectionAppwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
denied
protected Boolean denied
-
description
protected String description
-
displayName
protected String displayName
-
productName
protected String productName
-
publisherName
protected String publisherName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDenied
public Optional<Boolean> getDenied()
“If true, app is denied protection or exemption.”- Returns:
- property denied
-
withDenied
public WindowsInformationProtectionApp withDenied(Boolean denied)
Returns an immutable copy ofthiswith just thedeniedfield 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.“If true, app is denied protection or exemption.”
- Parameters:
denied- new value ofdeniedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeniedfield changed
-
getDescription
public Optional<String> getDescription()
“The app's description.”- Returns:
- property description
-
withDescription
public WindowsInformationProtectionApp withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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.“The app's description.”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“App display name.”- Returns:
- property displayName
-
withDisplayName
public WindowsInformationProtectionApp withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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.“App display name.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getProductName
public Optional<String> getProductName()
“The product name.”- Returns:
- property productName
-
withProductName
public WindowsInformationProtectionApp withProductName(String productName)
Returns an immutable copy ofthiswith just theproductNamefield 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.“The product name.”
- Parameters:
productName- new value ofproductNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproductNamefield changed
-
getPublisherName
public Optional<String> getPublisherName()
“The publisher name”- Returns:
- property publisherName
-
withPublisherName
public WindowsInformationProtectionApp withPublisherName(String publisherName)
Returns an immutable copy ofthiswith just thepublisherNamefield 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.“The publisher name”
- Parameters:
publisherName- new value ofpublisherNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepublisherNamefield changed
-
withUnmappedField
public WindowsInformationProtectionApp withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
-