Class DeviceManagementSettingProfileConstraint
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementConstraint
-
- odata.msgraph.client.beta.complex.DeviceManagementSettingProfileConstraint
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementSettingProfileConstraint extends DeviceManagementConstraint implements com.github.davidmoten.odata.client.ODataType
“Constraint enforcing a given profile metadata”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementSettingProfileConstraint.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringsourceprotected List<String>typesprotected StringtypesNextLink-
Fields inherited from class odata.msgraph.client.beta.complex.DeviceManagementConstraint
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementSettingProfileConstraint()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementSettingProfileConstraint.BuilderbuilderDeviceManagementSettingProfileConstraint()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getSource()“The source of the entity”com.github.davidmoten.odata.client.CollectionPage<String>getTypes()“A collection of types this entity carries”com.github.davidmoten.odata.client.CollectionPage<String>getTypes(com.github.davidmoten.odata.client.HttpRequestOptions options)“A collection of types this entity carries”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementSettingProfileConstraintwithSource(String source)Returns an immutable copy ofthiswith just thesourcefield changed.DeviceManagementSettingProfileConstraintwithUnmappedField(String name, String value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceManagementConstraint
-
withSource
public DeviceManagementSettingProfileConstraint withSource(String source)
Returns an immutable copy ofthiswith just thesourcefield 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 source of the entity”
- Parameters:
source- new value ofsourcefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesourcefield changed
-
getTypes
public com.github.davidmoten.odata.client.CollectionPage<String> getTypes()
“A collection of types this entity carries”- Returns:
- property types
-
getTypes
public com.github.davidmoten.odata.client.CollectionPage<String> getTypes(com.github.davidmoten.odata.client.HttpRequestOptions options)
“A collection of types this entity carries”- Parameters:
options- specify connect and read timeouts- Returns:
- property types
-
withUnmappedField
public DeviceManagementSettingProfileConstraint withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementConstraint
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementConstraint
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceManagementConstraint
-
builderDeviceManagementSettingProfileConstraint
public static DeviceManagementSettingProfileConstraint.Builder builderDeviceManagementSettingProfileConstraint()
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 classDeviceManagementConstraint
-
-