Class DeviceRestrictionAction
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DlpActionInfo
-
- odata.msgraph.client.beta.complex.DeviceRestrictionAction
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceRestrictionAction extends DlpActionInfo implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceRestrictionAction.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringmessageprotected RestrictionActionrestrictionActionprotected List<RestrictionTrigger>triggersprotected StringtriggersNextLink-
Fields inherited from class odata.msgraph.client.beta.complex.DlpActionInfo
action, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceRestrictionAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceRestrictionAction.BuilderbuilderDeviceRestrictionAction()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getMessage()Optional<RestrictionAction>getRestrictionAction()com.github.davidmoten.odata.client.CollectionPage<RestrictionTrigger>getTriggers()com.github.davidmoten.odata.client.CollectionPage<RestrictionTrigger>getTriggers(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceRestrictionActionwithMessage(String message)DeviceRestrictionActionwithRestrictionAction(RestrictionAction restrictionAction)DeviceRestrictionActionwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.complex.DlpActionInfo
builder, getAction, withAction
-
-
-
-
Field Detail
-
message
protected String message
-
restrictionAction
protected RestrictionAction restrictionAction
-
triggers
protected List<RestrictionTrigger> triggers
-
triggersNextLink
protected String triggersNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDlpActionInfo
-
withMessage
public DeviceRestrictionAction withMessage(String message)
-
getRestrictionAction
public Optional<RestrictionAction> getRestrictionAction()
-
withRestrictionAction
public DeviceRestrictionAction withRestrictionAction(RestrictionAction restrictionAction)
-
getTriggers
public com.github.davidmoten.odata.client.CollectionPage<RestrictionTrigger> getTriggers()
-
getTriggers
public com.github.davidmoten.odata.client.CollectionPage<RestrictionTrigger> getTriggers(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public DeviceRestrictionAction withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDlpActionInfo
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDlpActionInfo
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDlpActionInfo
-
builderDeviceRestrictionAction
public static DeviceRestrictionAction.Builder builderDeviceRestrictionAction()
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
-
toString
public String toString()
- Overrides:
toStringin classDlpActionInfo
-
-