public class UserExperienceAnalyticsMetric extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
UserExperienceAnalyticsMetric.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
unit |
protected Double |
value |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
UserExperienceAnalyticsMetric() |
| Modifier and Type | Method and Description |
|---|---|
static UserExperienceAnalyticsMetric.Builder |
builderUserExperienceAnalyticsMetric()
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.ChangedFields |
getChangedFields() |
Optional<String> |
getUnit()
“The unit of the user experience analytics metric.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<Double> |
getValue()
“The value of the user experience analytics metric.”
|
String |
odataTypeName() |
UserExperienceAnalyticsMetric |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
UserExperienceAnalyticsMetric |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
UserExperienceAnalyticsMetric |
withUnit(String unit)
Returns an immutable copy of
this with just the unit field
changed. |
UserExperienceAnalyticsMetric |
withValue(Double value)
Returns an immutable copy of
this with just the value field
changed. |
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static UserExperienceAnalyticsMetric.Builder builderUserExperienceAnalyticsMetric()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<Double> getValue()
public UserExperienceAnalyticsMetric withValue(Double value)
this with just the value field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The value of the user experience analytics metric.”
value - new value of value field (as defined in service metadata)this with just the value field changedpublic Optional<String> getUnit()
public UserExperienceAnalyticsMetric withUnit(String unit)
this with just the unit field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The unit of the user experience analytics metric.”
unit - new value of unit field (as defined in service metadata)this with just the unit field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic UserExperienceAnalyticsMetric patch()
this with changed fields reset.public UserExperienceAnalyticsMetric put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.