Package odata.msgraph.client.complex
Class ConfigurationManagerCollectionAssignmentTarget
- java.lang.Object
-
- odata.msgraph.client.complex.DeviceAndAppManagementAssignmentTarget
-
- odata.msgraph.client.complex.ConfigurationManagerCollectionAssignmentTarget
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ConfigurationManagerCollectionAssignmentTarget extends DeviceAndAppManagementAssignmentTarget implements com.github.davidmoten.odata.client.ODataType
“Represents an assignment to a Configuration Manager Collection.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfigurationManagerCollectionAssignmentTarget.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringcollectionId-
Fields inherited from class odata.msgraph.client.complex.DeviceAndAppManagementAssignmentTarget
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConfigurationManagerCollectionAssignmentTarget()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigurationManagerCollectionAssignmentTarget.BuilderbuilderConfigurationManagerCollectionAssignmentTarget()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getCollectionId()“The collection Id that is the target of the assignment.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ConfigurationManagerCollectionAssignmentTargetwithCollectionId(String collectionId)Returns an immutable copy ofthiswith just thecollectionIdfield changed.ConfigurationManagerCollectionAssignmentTargetwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
collectionId
protected String collectionId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceAndAppManagementAssignmentTarget
-
getCollectionId
public Optional<String> getCollectionId()
“The collection Id that is the target of the assignment.”- Returns:
- property collectionId
-
withCollectionId
public ConfigurationManagerCollectionAssignmentTarget withCollectionId(String collectionId)
Returns an immutable copy ofthiswith just thecollectionIdfield 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 collection Id that is the target of the assignment.”
- Parameters:
collectionId- new value ofcollectionIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecollectionIdfield changed
-
withUnmappedField
public ConfigurationManagerCollectionAssignmentTarget withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classDeviceAndAppManagementAssignmentTarget
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceAndAppManagementAssignmentTarget
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceAndAppManagementAssignmentTarget
-
builderConfigurationManagerCollectionAssignmentTarget
public static ConfigurationManagerCollectionAssignmentTarget.Builder builderConfigurationManagerCollectionAssignmentTarget()
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 classDeviceAndAppManagementAssignmentTarget
-
-