Class UnsupportedDeviceConfigurationDetail
- java.lang.Object
-
- odata.msgraph.client.beta.complex.UnsupportedDeviceConfigurationDetail
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class UnsupportedDeviceConfigurationDetail extends Object implements com.github.davidmoten.odata.client.ODataType
“A description of why an entity is unsupported.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnsupportedDeviceConfigurationDetail.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringmessageprotected StringodataTypeprotected StringpropertyNameprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnsupportedDeviceConfigurationDetail()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnsupportedDeviceConfigurationDetail.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getMessage()“A message explaining why an entity is unsupported.”Optional<String>getPropertyName()“If message is related to a specific property in the original entity, then the name of that property.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()UnsupportedDeviceConfigurationDetailwithMessage(String message)Returns an immutable copy ofthiswith just themessagefield changed.UnsupportedDeviceConfigurationDetailwithPropertyName(String propertyName)Returns an immutable copy ofthiswith just thepropertyNamefield changed.UnsupportedDeviceConfigurationDetailwithUnmappedField(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
-
message
protected String message
-
propertyName
protected String propertyName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getMessage
public Optional<String> getMessage()
“A message explaining why an entity is unsupported.”- Returns:
- property message
-
withMessage
public UnsupportedDeviceConfigurationDetail withMessage(String message)
Returns an immutable copy ofthiswith just themessagefield 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.“A message explaining why an entity is unsupported.”
- Parameters:
message- new value ofmessagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themessagefield changed
-
getPropertyName
public Optional<String> getPropertyName()
“If message is related to a specific property in the original entity, then the name of that property.”- Returns:
- property propertyName
-
withPropertyName
public UnsupportedDeviceConfigurationDetail withPropertyName(String propertyName)
Returns an immutable copy ofthiswith just thepropertyNamefield 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.“If message is related to a specific property in the original entity, then the name of that property.”
- Parameters:
propertyName- new value ofpropertyNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepropertyNamefield changed
-
withUnmappedField
public UnsupportedDeviceConfigurationDetail 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 UnsupportedDeviceConfigurationDetail.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
-
-