Class CertificateConnectorHealthMetricValue
- java.lang.Object
-
- odata.msgraph.client.beta.complex.CertificateConnectorHealthMetricValue
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class CertificateConnectorHealthMetricValue extends Object implements com.github.davidmoten.odata.client.ODataType
“Metric snapshot value returned in response to a GetHealthMetricTimeSeries request.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCertificateConnectorHealthMetricValue.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected OffsetDateTimedateTimeprotected LongfailureCountprotected StringodataTypeprotected LongsuccessCountprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedCertificateConnectorHealthMetricValue()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateConnectorHealthMetricValue.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<OffsetDateTime>getDateTime()“Timestamp for this metric data-point.”Optional<Long>getFailureCount()“Count of failed requests/operations.”Optional<Long>getSuccessCount()“Count of successful requests/operations.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()CertificateConnectorHealthMetricValuewithDateTime(OffsetDateTime dateTime)Returns an immutable copy ofthiswith just thedateTimefield changed.CertificateConnectorHealthMetricValuewithFailureCount(Long failureCount)Returns an immutable copy ofthiswith just thefailureCountfield changed.CertificateConnectorHealthMetricValuewithSuccessCount(Long successCount)Returns an immutable copy ofthiswith just thesuccessCountfield changed.CertificateConnectorHealthMetricValuewithUnmappedField(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
-
dateTime
protected OffsetDateTime dateTime
-
failureCount
protected Long failureCount
-
successCount
protected Long successCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDateTime
public Optional<OffsetDateTime> getDateTime()
“Timestamp for this metric data-point.”- Returns:
- property dateTime
-
withDateTime
public CertificateConnectorHealthMetricValue withDateTime(OffsetDateTime dateTime)
Returns an immutable copy ofthiswith just thedateTimefield 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.“Timestamp for this metric data-point.”
- Parameters:
dateTime- new value ofdateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedateTimefield changed
-
getFailureCount
public Optional<Long> getFailureCount()
“Count of failed requests/operations.”- Returns:
- property failureCount
-
withFailureCount
public CertificateConnectorHealthMetricValue withFailureCount(Long failureCount)
Returns an immutable copy ofthiswith just thefailureCountfield 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.“Count of failed requests/operations.”
- Parameters:
failureCount- new value offailureCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefailureCountfield changed
-
getSuccessCount
public Optional<Long> getSuccessCount()
“Count of successful requests/operations.”- Returns:
- property successCount
-
withSuccessCount
public CertificateConnectorHealthMetricValue withSuccessCount(Long successCount)
Returns an immutable copy ofthiswith just thesuccessCountfield 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.“Count of successful requests/operations.”
- Parameters:
successCount- new value ofsuccessCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesuccessCountfield changed
-
withUnmappedField
public CertificateConnectorHealthMetricValue 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 CertificateConnectorHealthMetricValue.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
-
-