Class Win32LobAppProductCodeDetection
- java.lang.Object
-
- odata.msgraph.client.beta.complex.Win32LobAppDetection
-
- odata.msgraph.client.beta.complex.Win32LobAppProductCodeDetection
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class Win32LobAppProductCodeDetection extends Win32LobAppDetection implements com.github.davidmoten.odata.client.ODataType
“Contains product code and version properties to detect a Win32 App”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWin32LobAppProductCodeDetection.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringproductCodeprotected StringproductVersionprotected Win32LobAppDetectionOperatorproductVersionOperator-
Fields inherited from class odata.msgraph.client.beta.complex.Win32LobAppDetection
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWin32LobAppProductCodeDetection()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Win32LobAppProductCodeDetection.BuilderbuilderWin32LobAppProductCodeDetection()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getProductCode()“The product code of Win32 Line of Business (LoB) app.”Optional<String>getProductVersion()“The product version of Win32 Line of Business (LoB) app.”Optional<Win32LobAppDetectionOperator>getProductVersionOperator()“The operator to detect product version.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()Win32LobAppProductCodeDetectionwithProductCode(String productCode)Returns an immutable copy ofthiswith just theproductCodefield changed.Win32LobAppProductCodeDetectionwithProductVersion(String productVersion)Returns an immutable copy ofthiswith just theproductVersionfield changed.Win32LobAppProductCodeDetectionwithProductVersionOperator(Win32LobAppDetectionOperator productVersionOperator)Returns an immutable copy ofthiswith just theproductVersionOperatorfield changed.Win32LobAppProductCodeDetectionwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
productCode
protected String productCode
-
productVersion
protected String productVersion
-
productVersionOperator
protected Win32LobAppDetectionOperator productVersionOperator
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWin32LobAppDetection
-
getProductCode
public Optional<String> getProductCode()
“The product code of Win32 Line of Business (LoB) app.”- Returns:
- property productCode
-
withProductCode
public Win32LobAppProductCodeDetection withProductCode(String productCode)
Returns an immutable copy ofthiswith just theproductCodefield 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 product code of Win32 Line of Business (LoB) app.”
- Parameters:
productCode- new value ofproductCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproductCodefield changed
-
getProductVersion
public Optional<String> getProductVersion()
“The product version of Win32 Line of Business (LoB) app.”- Returns:
- property productVersion
-
withProductVersion
public Win32LobAppProductCodeDetection withProductVersion(String productVersion)
Returns an immutable copy ofthiswith just theproductVersionfield 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 product version of Win32 Line of Business (LoB) app.”
- Parameters:
productVersion- new value ofproductVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproductVersionfield changed
-
getProductVersionOperator
public Optional<Win32LobAppDetectionOperator> getProductVersionOperator()
“The operator to detect product version.”- Returns:
- property productVersionOperator
-
withProductVersionOperator
public Win32LobAppProductCodeDetection withProductVersionOperator(Win32LobAppDetectionOperator productVersionOperator)
Returns an immutable copy ofthiswith just theproductVersionOperatorfield 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 operator to detect product version.”
- Parameters:
productVersionOperator- new value ofproductVersionOperatorfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproductVersionOperatorfield changed
-
withUnmappedField
public Win32LobAppProductCodeDetection withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classWin32LobAppDetection
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classWin32LobAppDetection
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classWin32LobAppDetection
-
builderWin32LobAppProductCodeDetection
public static Win32LobAppProductCodeDetection.Builder builderWin32LobAppProductCodeDetection()
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
-
toString
public String toString()
- Overrides:
toStringin classWin32LobAppDetection
-
-