Class DeviceHealthScriptRemediationHistory
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceHealthScriptRemediationHistory
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceHealthScriptRemediationHistory extends Object implements com.github.davidmoten.odata.client.ODataType
“The number of devices remediated by a device health script on a given date with the last modified time.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceHealthScriptRemediationHistory.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected List<DeviceHealthScriptRemediationHistoryData>historyDataprotected StringhistoryDataNextLinkprotected OffsetDateTimelastModifiedDateTimeprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceHealthScriptRemediationHistory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceHealthScriptRemediationHistory.Builderbuilder()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.CollectionPage<DeviceHealthScriptRemediationHistoryData>getHistoryData()“The number of devices remediated by the device health script on the given date.”com.github.davidmoten.odata.client.CollectionPage<DeviceHealthScriptRemediationHistoryData>getHistoryData(com.github.davidmoten.odata.client.HttpRequestOptions options)“The number of devices remediated by the device health script on the given date.”Optional<OffsetDateTime>getLastModifiedDateTime()“The date on which the results history is calculated for the healthscript.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceHealthScriptRemediationHistorywithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.DeviceHealthScriptRemediationHistorywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
historyData
protected List<DeviceHealthScriptRemediationHistoryData> historyData
-
historyDataNextLink
protected String historyDataNextLink
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getHistoryData
public com.github.davidmoten.odata.client.CollectionPage<DeviceHealthScriptRemediationHistoryData> getHistoryData()
“The number of devices remediated by the device health script on the given date.”- Returns:
- property historyData
-
getHistoryData
public com.github.davidmoten.odata.client.CollectionPage<DeviceHealthScriptRemediationHistoryData> getHistoryData(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The number of devices remediated by the device health script on the given date.”- Parameters:
options- specify connect and read timeouts- Returns:
- property historyData
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“The date on which the results history is calculated for the healthscript.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public DeviceHealthScriptRemediationHistory 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 date on which the results history is calculated for the healthscript.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
withUnmappedField
public DeviceHealthScriptRemediationHistory withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static DeviceHealthScriptRemediationHistory.Builder builder()
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
-
-