Class UpdatableAsset
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.windows.updates.entity.UpdatableAsset
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
AzureADDevice,UpdatableAssetGroup
public class UpdatableAsset extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Field Summary
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUpdatableAsset()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestNoReturnaddMembers(List<UpdatableAsset> assets)com.github.davidmoten.odata.client.ActionRequestNoReturnaddMembersById(List<String> ids, String memberEntityType)com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()UpdatableAssetpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UpdatableAssetput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnremoveMembers(List<UpdatableAsset> assets)com.github.davidmoten.odata.client.ActionRequestNoReturnremoveMembersById(List<String> ids, String memberEntityType)StringtoString()UpdatableAssetwithUnmappedField(String name, String value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
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
-
withUnmappedField
public UpdatableAsset 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 UpdatableAsset patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UpdatableAsset put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
addMembers
public com.github.davidmoten.odata.client.ActionRequestNoReturn addMembers(List<UpdatableAsset> assets)
-
addMembersById
public com.github.davidmoten.odata.client.ActionRequestNoReturn addMembersById(List<String> ids, String memberEntityType)
-
removeMembers
public com.github.davidmoten.odata.client.ActionRequestNoReturn removeMembers(List<UpdatableAsset> assets)
-
removeMembersById
public com.github.davidmoten.odata.client.ActionRequestNoReturn removeMembersById(List<String> ids, String memberEntityType)
-
-