Package odata.msgraph.client.beta.entity
Class UserExperienceAnalyticsResourcePerformance
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.UserExperienceAnalyticsResourcePerformance
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UserExperienceAnalyticsResourcePerformance extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The user experience analytics resource performance entity.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserExperienceAnalyticsResourcePerformance.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegeraverageSpikeTimeScoreprotected DoublecpuSpikeTimePercentageprotected DoublecpuSpikeTimePercentageThresholdprotected IntegercpuSpikeTimeScoreprotected LongdeviceCountprotected StringdeviceIdprotected StringdeviceNameprotected IntegerdeviceResourcePerformanceScoreprotected Stringmanufacturerprotected Stringmodelprotected DoubleramSpikeTimePercentageprotected DoubleramSpikeTimePercentageThresholdprotected IntegerramSpikeTimeScore-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserExperienceAnalyticsResourcePerformance()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserExperienceAnalyticsResourcePerformance.BuilderbuilderUserExperienceAnalyticsResourcePerformance()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getAverageSpikeTimeScore()“AverageSpikeTimeScore of a device or a model type.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Double>getCpuSpikeTimePercentage()“CPU spike time in percentage.Optional<Double>getCpuSpikeTimePercentageThreshold()“Threshold of cpuSpikeTimeScore.Optional<Integer>getCpuSpikeTimeScore()“The user experience analytics device CPU spike time score.Optional<Long>getDeviceCount()“User experience analytics summarized device count.”Optional<String>getDeviceId()“The id of the device.”Optional<String>getDeviceName()“The name of the device.”Optional<Integer>getDeviceResourcePerformanceScore()“Resource performance score of a specific device.Optional<String>getManufacturer()“The user experience analytics device manufacturer.”Optional<String>getModel()“The user experience analytics device model.”Optional<Double>getRamSpikeTimePercentage()“RAM spike time in percentage.Optional<Double>getRamSpikeTimePercentageThreshold()“Threshold of ramSpikeTimeScore.Optional<Integer>getRamSpikeTimeScore()“The user experience analytics device RAM spike time score.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()UserExperienceAnalyticsResourcePerformancepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UserExperienceAnalyticsResourcePerformanceput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UserExperienceAnalyticsResourcePerformancewithAverageSpikeTimeScore(Integer averageSpikeTimeScore)Returns an immutable copy ofthiswith just theaverageSpikeTimeScorefield changed.UserExperienceAnalyticsResourcePerformancewithCpuSpikeTimePercentage(Double cpuSpikeTimePercentage)Returns an immutable copy ofthiswith just thecpuSpikeTimePercentagefield changed.UserExperienceAnalyticsResourcePerformancewithCpuSpikeTimePercentageThreshold(Double cpuSpikeTimePercentageThreshold)Returns an immutable copy ofthiswith just thecpuSpikeTimePercentageThresholdfield changed.UserExperienceAnalyticsResourcePerformancewithCpuSpikeTimeScore(Integer cpuSpikeTimeScore)Returns an immutable copy ofthiswith just thecpuSpikeTimeScorefield changed.UserExperienceAnalyticsResourcePerformancewithDeviceCount(Long deviceCount)Returns an immutable copy ofthiswith just thedeviceCountfield changed.UserExperienceAnalyticsResourcePerformancewithDeviceId(String deviceId)Returns an immutable copy ofthiswith just thedeviceIdfield changed.UserExperienceAnalyticsResourcePerformancewithDeviceName(String deviceName)Returns an immutable copy ofthiswith just thedeviceNamefield changed.UserExperienceAnalyticsResourcePerformancewithDeviceResourcePerformanceScore(Integer deviceResourcePerformanceScore)Returns an immutable copy ofthiswith just thedeviceResourcePerformanceScorefield changed.UserExperienceAnalyticsResourcePerformancewithManufacturer(String manufacturer)Returns an immutable copy ofthiswith just themanufacturerfield changed.UserExperienceAnalyticsResourcePerformancewithModel(String model)Returns an immutable copy ofthiswith just themodelfield changed.UserExperienceAnalyticsResourcePerformancewithRamSpikeTimePercentage(Double ramSpikeTimePercentage)Returns an immutable copy ofthiswith just theramSpikeTimePercentagefield changed.UserExperienceAnalyticsResourcePerformancewithRamSpikeTimePercentageThreshold(Double ramSpikeTimePercentageThreshold)Returns an immutable copy ofthiswith just theramSpikeTimePercentageThresholdfield changed.UserExperienceAnalyticsResourcePerformancewithRamSpikeTimeScore(Integer ramSpikeTimeScore)Returns an immutable copy ofthiswith just theramSpikeTimeScorefield changed.UserExperienceAnalyticsResourcePerformancewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
averageSpikeTimeScore
protected Integer averageSpikeTimeScore
-
cpuSpikeTimePercentage
protected Double cpuSpikeTimePercentage
-
cpuSpikeTimePercentageThreshold
protected Double cpuSpikeTimePercentageThreshold
-
cpuSpikeTimeScore
protected Integer cpuSpikeTimeScore
-
deviceCount
protected Long deviceCount
-
deviceId
protected String deviceId
-
deviceName
protected String deviceName
-
deviceResourcePerformanceScore
protected Integer deviceResourcePerformanceScore
-
manufacturer
protected String manufacturer
-
model
protected String model
-
ramSpikeTimePercentage
protected Double ramSpikeTimePercentage
-
ramSpikeTimePercentageThreshold
protected Double ramSpikeTimePercentageThreshold
-
ramSpikeTimeScore
protected Integer ramSpikeTimeScore
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderUserExperienceAnalyticsResourcePerformance
public static UserExperienceAnalyticsResourcePerformance.Builder builderUserExperienceAnalyticsResourcePerformance()
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
-
getAverageSpikeTimeScore
public Optional<Integer> getAverageSpikeTimeScore()
“AverageSpikeTimeScore of a device or a model type. Valid values 0 to 100”- Returns:
- property averageSpikeTimeScore
-
withAverageSpikeTimeScore
public UserExperienceAnalyticsResourcePerformance withAverageSpikeTimeScore(Integer averageSpikeTimeScore)
Returns an immutable copy ofthiswith just theaverageSpikeTimeScorefield 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.“AverageSpikeTimeScore of a device or a model type. Valid values 0 to 100”
- Parameters:
averageSpikeTimeScore- new value ofaverageSpikeTimeScorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theaverageSpikeTimeScorefield changed
-
getCpuSpikeTimePercentage
public Optional<Double> getCpuSpikeTimePercentage()
“CPU spike time in percentage. Valid values 0 to 100”- Returns:
- property cpuSpikeTimePercentage
-
withCpuSpikeTimePercentage
public UserExperienceAnalyticsResourcePerformance withCpuSpikeTimePercentage(Double cpuSpikeTimePercentage)
Returns an immutable copy ofthiswith just thecpuSpikeTimePercentagefield 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.“CPU spike time in percentage. Valid values 0 to 100”
- Parameters:
cpuSpikeTimePercentage- new value ofcpuSpikeTimePercentagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecpuSpikeTimePercentagefield changed
-
getCpuSpikeTimePercentageThreshold
public Optional<Double> getCpuSpikeTimePercentageThreshold()
“Threshold of cpuSpikeTimeScore. Valid values 0 to 100”- Returns:
- property cpuSpikeTimePercentageThreshold
-
withCpuSpikeTimePercentageThreshold
public UserExperienceAnalyticsResourcePerformance withCpuSpikeTimePercentageThreshold(Double cpuSpikeTimePercentageThreshold)
Returns an immutable copy ofthiswith just thecpuSpikeTimePercentageThresholdfield 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.“Threshold of cpuSpikeTimeScore. Valid values 0 to 100”
- Parameters:
cpuSpikeTimePercentageThreshold- new value ofcpuSpikeTimePercentageThresholdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecpuSpikeTimePercentageThresholdfield changed
-
getCpuSpikeTimeScore
public Optional<Integer> getCpuSpikeTimeScore()
“The user experience analytics device CPU spike time score. Valid values 0 to 100”- Returns:
- property cpuSpikeTimeScore
-
withCpuSpikeTimeScore
public UserExperienceAnalyticsResourcePerformance withCpuSpikeTimeScore(Integer cpuSpikeTimeScore)
Returns an immutable copy ofthiswith just thecpuSpikeTimeScorefield 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 user experience analytics device CPU spike time score. Valid values 0 to 100”
- Parameters:
cpuSpikeTimeScore- new value ofcpuSpikeTimeScorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecpuSpikeTimeScorefield changed
-
getDeviceCount
public Optional<Long> getDeviceCount()
“User experience analytics summarized device count.”- Returns:
- property deviceCount
-
withDeviceCount
public UserExperienceAnalyticsResourcePerformance withDeviceCount(Long deviceCount)
Returns an immutable copy ofthiswith just thedeviceCountfield 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.“User experience analytics summarized device count.”
- Parameters:
deviceCount- new value ofdeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceCountfield changed
-
getDeviceId
public Optional<String> getDeviceId()
“The id of the device.”- Returns:
- property deviceId
-
withDeviceId
public UserExperienceAnalyticsResourcePerformance withDeviceId(String deviceId)
Returns an immutable copy ofthiswith just thedeviceIdfield 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 id of the device.”
- Parameters:
deviceId- new value ofdeviceIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceIdfield changed
-
getDeviceName
public Optional<String> getDeviceName()
“The name of the device.”- Returns:
- property deviceName
-
withDeviceName
public UserExperienceAnalyticsResourcePerformance withDeviceName(String deviceName)
Returns an immutable copy ofthiswith just thedeviceNamefield 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 name of the device.”
- Parameters:
deviceName- new value ofdeviceNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceNamefield changed
-
getDeviceResourcePerformanceScore
public Optional<Integer> getDeviceResourcePerformanceScore()
“Resource performance score of a specific device. Valid values 0 to 100”- Returns:
- property deviceResourcePerformanceScore
-
withDeviceResourcePerformanceScore
public UserExperienceAnalyticsResourcePerformance withDeviceResourcePerformanceScore(Integer deviceResourcePerformanceScore)
Returns an immutable copy ofthiswith just thedeviceResourcePerformanceScorefield 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.“Resource performance score of a specific device. Valid values 0 to 100”
- Parameters:
deviceResourcePerformanceScore- new value ofdeviceResourcePerformanceScorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceResourcePerformanceScorefield changed
-
getManufacturer
public Optional<String> getManufacturer()
“The user experience analytics device manufacturer.”- Returns:
- property manufacturer
-
withManufacturer
public UserExperienceAnalyticsResourcePerformance withManufacturer(String manufacturer)
Returns an immutable copy ofthiswith just themanufacturerfield 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 user experience analytics device manufacturer.”
- Parameters:
manufacturer- new value ofmanufacturerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanufacturerfield changed
-
getModel
public Optional<String> getModel()
“The user experience analytics device model.”- Returns:
- property model
-
withModel
public UserExperienceAnalyticsResourcePerformance withModel(String model)
Returns an immutable copy ofthiswith just themodelfield 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 user experience analytics device model.”
- Parameters:
model- new value ofmodelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themodelfield changed
-
getRamSpikeTimePercentage
public Optional<Double> getRamSpikeTimePercentage()
“RAM spike time in percentage. Valid values 0 to 100”- Returns:
- property ramSpikeTimePercentage
-
withRamSpikeTimePercentage
public UserExperienceAnalyticsResourcePerformance withRamSpikeTimePercentage(Double ramSpikeTimePercentage)
Returns an immutable copy ofthiswith just theramSpikeTimePercentagefield 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.“RAM spike time in percentage. Valid values 0 to 100”
- Parameters:
ramSpikeTimePercentage- new value oframSpikeTimePercentagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theramSpikeTimePercentagefield changed
-
getRamSpikeTimePercentageThreshold
public Optional<Double> getRamSpikeTimePercentageThreshold()
“Threshold of ramSpikeTimeScore. Valid values 0 to 100”- Returns:
- property ramSpikeTimePercentageThreshold
-
withRamSpikeTimePercentageThreshold
public UserExperienceAnalyticsResourcePerformance withRamSpikeTimePercentageThreshold(Double ramSpikeTimePercentageThreshold)
Returns an immutable copy ofthiswith just theramSpikeTimePercentageThresholdfield 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.“Threshold of ramSpikeTimeScore. Valid values 0 to 100”
- Parameters:
ramSpikeTimePercentageThreshold- new value oframSpikeTimePercentageThresholdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theramSpikeTimePercentageThresholdfield changed
-
getRamSpikeTimeScore
public Optional<Integer> getRamSpikeTimeScore()
“The user experience analytics device RAM spike time score. Valid values 0 to 100”- Returns:
- property ramSpikeTimeScore
-
withRamSpikeTimeScore
public UserExperienceAnalyticsResourcePerformance withRamSpikeTimeScore(Integer ramSpikeTimeScore)
Returns an immutable copy ofthiswith just theramSpikeTimeScorefield 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 user experience analytics device RAM spike time score. Valid values 0 to 100”
- Parameters:
ramSpikeTimeScore- new value oframSpikeTimeScorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theramSpikeTimeScorefield changed
-
withUnmappedField
public UserExperienceAnalyticsResourcePerformance 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 UserExperienceAnalyticsResourcePerformance patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UserExperienceAnalyticsResourcePerformance put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-