Package odata.msgraph.client.entity
Class ManagedAppStatusRaw
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ManagedAppStatus
-
- odata.msgraph.client.entity.ManagedAppStatusRaw
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedAppStatusRaw extends ManagedAppStatus implements com.github.davidmoten.odata.client.ODataEntityType
“Represents an un-typed status report about organizations app protection and configuration.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedAppStatusRaw.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Jsoncontent-
Fields inherited from class odata.msgraph.client.entity.ManagedAppStatus
displayName, version
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedAppStatusRaw()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedAppStatusRaw.BuilderbuilderManagedAppStatusRaw()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<Json>getContent()“Status report content.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ManagedAppStatusRawpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedAppStatusRawput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedAppStatusRawwithContent(Json content)Returns an immutable copy ofthiswith just thecontentfield changed.ManagedAppStatusRawwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.ManagedAppStatus
getDisplayName, getVersion, withDisplayName, withVersion
-
-
-
-
Field Detail
-
content
protected Json content
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classManagedAppStatus
-
builderManagedAppStatusRaw
public static ManagedAppStatusRaw.Builder builderManagedAppStatusRaw()
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 classManagedAppStatus
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classManagedAppStatus
-
withContent
public ManagedAppStatusRaw withContent(Json content)
Returns an immutable copy ofthiswith just thecontentfield 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.“Status report content.”
- Parameters:
content- new value ofcontentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecontentfield changed
-
withUnmappedField
public ManagedAppStatusRaw withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classManagedAppStatus
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classManagedAppStatus
-
patch
public ManagedAppStatusRaw patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classManagedAppStatus- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public ManagedAppStatusRaw put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classManagedAppStatus- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classManagedAppStatus
-
-