Package odata.msgraph.client.beta.entity
Class ConfigManagerCollection
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ConfigManagerCollection
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ConfigManagerCollection extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“A ConfigManager defined collection of devices or users.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfigManagerCollection.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringcollectionIdentifierprotected OffsetDateTimecreatedDateTimeprotected StringdisplayNameprotected StringhierarchyIdentifierprotected StringhierarchyNameprotected OffsetDateTimelastModifiedDateTime-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConfigManagerCollection()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigManagerCollection.BuilderbuilderConfigManagerCollection()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getCollectionIdentifier()“The collection identifier in SCCM.”Optional<OffsetDateTime>getCreatedDateTime()“The created date.”Optional<String>getDisplayName()“The DisplayName.”Optional<String>getHierarchyIdentifier()“The Hierarchy Identifier.”Optional<String>getHierarchyName()“The HierarchyName.”Optional<OffsetDateTime>getLastModifiedDateTime()“The last modified date.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ConfigManagerCollectionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ConfigManagerCollectionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ConfigManagerCollectionwithCollectionIdentifier(String collectionIdentifier)Returns an immutable copy ofthiswith just thecollectionIdentifierfield changed.ConfigManagerCollectionwithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.ConfigManagerCollectionwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.ConfigManagerCollectionwithHierarchyIdentifier(String hierarchyIdentifier)Returns an immutable copy ofthiswith just thehierarchyIdentifierfield changed.ConfigManagerCollectionwithHierarchyName(String hierarchyName)Returns an immutable copy ofthiswith just thehierarchyNamefield changed.ConfigManagerCollectionwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.ConfigManagerCollectionwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
collectionIdentifier
protected String collectionIdentifier
-
createdDateTime
protected OffsetDateTime createdDateTime
-
displayName
protected String displayName
-
hierarchyIdentifier
protected String hierarchyIdentifier
-
hierarchyName
protected String hierarchyName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderConfigManagerCollection
public static ConfigManagerCollection.Builder builderConfigManagerCollection()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCollectionIdentifier
public Optional<String> getCollectionIdentifier()
“The collection identifier in SCCM.”- Returns:
- property collectionIdentifier
-
withCollectionIdentifier
public ConfigManagerCollection withCollectionIdentifier(String collectionIdentifier)
Returns an immutable copy ofthiswith just thecollectionIdentifierfield 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 identifier in SCCM.”
- Parameters:
collectionIdentifier- new value ofcollectionIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecollectionIdentifierfield changed
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
“The created date.”- Returns:
- property createdDateTime
-
withCreatedDateTime
public ConfigManagerCollection withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy ofthiswith just thecreatedDateTimefield 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 created date.”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The DisplayName.”- Returns:
- property displayName
-
withDisplayName
public ConfigManagerCollection 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.“The DisplayName.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getHierarchyIdentifier
public Optional<String> getHierarchyIdentifier()
“The Hierarchy Identifier.”- Returns:
- property hierarchyIdentifier
-
withHierarchyIdentifier
public ConfigManagerCollection withHierarchyIdentifier(String hierarchyIdentifier)
Returns an immutable copy ofthiswith just thehierarchyIdentifierfield 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 Hierarchy Identifier.”
- Parameters:
hierarchyIdentifier- new value ofhierarchyIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thehierarchyIdentifierfield changed
-
getHierarchyName
public Optional<String> getHierarchyName()
“The HierarchyName.”- Returns:
- property hierarchyName
-
withHierarchyName
public ConfigManagerCollection withHierarchyName(String hierarchyName)
Returns an immutable copy ofthiswith just thehierarchyNamefield 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 HierarchyName.”
- Parameters:
hierarchyName- new value ofhierarchyNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thehierarchyNamefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“The last modified date.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public ConfigManagerCollection withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield 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 last modified date.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
withUnmappedField
public ConfigManagerCollection withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ConfigManagerCollection patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ConfigManagerCollection put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-