Package odata.msgraph.client.complex
Class Win32LobAppReturnCode
- java.lang.Object
-
- odata.msgraph.client.complex.Win32LobAppReturnCode
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class Win32LobAppReturnCode extends Object implements com.github.davidmoten.odata.client.ODataType
“Contains return code properties for a Win32 App”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWin32LobAppReturnCode.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected IntegerreturnCodeprotected Win32LobAppReturnCodeTypetypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWin32LobAppReturnCode()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Win32LobAppReturnCode.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getReturnCode()“Return code.”Optional<Win32LobAppReturnCodeType>getType()“The type of return code.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()Win32LobAppReturnCodewithReturnCode(Integer returnCode)Returns an immutable copy ofthiswith just thereturnCodefield changed.Win32LobAppReturnCodewithType(Win32LobAppReturnCodeType type)Returns an immutable copy ofthiswith just thetypefield changed.Win32LobAppReturnCodewithUnmappedField(String name, Object 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
-
returnCode
protected Integer returnCode
-
type
protected Win32LobAppReturnCodeType type
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withReturnCode
public Win32LobAppReturnCode withReturnCode(Integer returnCode)
Returns an immutable copy ofthiswith just thereturnCodefield 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.“Return code.”
- Parameters:
returnCode- new value ofreturnCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thereturnCodefield changed
-
getType
public Optional<Win32LobAppReturnCodeType> getType()
“The type of return code.”- Returns:
- property type
-
withType
public Win32LobAppReturnCode withType(Win32LobAppReturnCodeType type)
Returns an immutable copy ofthiswith just thetypefield 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 type of return code.”
- Parameters:
type- new value oftypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetypefield changed
-
withUnmappedField
public Win32LobAppReturnCode withUnmappedField(String name, Object 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 Win32LobAppReturnCode.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
-
-