public class Win32LobAppProductCodeRule extends Win32LobAppRule implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
Win32LobAppProductCodeRule.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
productCode |
protected String |
productVersion |
protected Win32LobAppRuleOperator |
productVersionOperator |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
contextPath, odataType, ruleType| Modifier | Constructor and Description |
|---|---|
protected |
Win32LobAppProductCodeRule() |
| Modifier and Type | Method and Description |
|---|---|
static Win32LobAppProductCodeRule.Builder |
builderWin32LobAppProductCodeRule()
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 the app.”
|
Optional<String> |
getProductVersion()
“The product version comparison value.”
|
Optional<Win32LobAppRuleOperator> |
getProductVersionOperator()
“The product version comparison operator.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
Win32LobAppProductCodeRule |
withProductCode(String productCode)
Returns an immutable copy of
this with just the productCode
field changed. |
Win32LobAppProductCodeRule |
withProductVersion(String productVersion)
Returns an immutable copy of
this with just the productVersion
field changed. |
Win32LobAppProductCodeRule |
withProductVersionOperator(Win32LobAppRuleOperator productVersionOperator)
Returns an immutable copy of
this with just the productVersionOperator field changed. |
getRuleType, withRuleTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String productCode
protected Win32LobAppRuleOperator productVersionOperator
protected String productVersion
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Win32LobAppRulepublic Optional<String> getProductCode()
public Win32LobAppProductCodeRule withProductCode(String productCode)
this with just the productCode
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 product code of the app.”
productCode - new value of productCode field (as defined in service metadata)this with just the productCode field changedpublic Optional<Win32LobAppRuleOperator> getProductVersionOperator()
public Win32LobAppProductCodeRule withProductVersionOperator(Win32LobAppRuleOperator productVersionOperator)
this with just the productVersionOperator 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 product version comparison operator.”
productVersionOperator - new value of productVersionOperator field (as defined in service metadata)this with just the productVersionOperator field changedpublic Optional<String> getProductVersion()
public Win32LobAppProductCodeRule withProductVersion(String productVersion)
this with just the productVersion
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 product version comparison value.”
productVersion - new value of productVersion field (as defined in service metadata)this with just the productVersion field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Win32LobAppRulepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Win32LobAppRulepublic static Win32LobAppProductCodeRule.Builder builderWin32LobAppProductCodeRule()
public String toString()
toString in class Win32LobAppRuleCopyright © 2018–2020. All rights reserved.