Package odata.msgraph.client.complex
Class Win32LobAppMsiInformation
- java.lang.Object
-
- odata.msgraph.client.complex.Win32LobAppMsiInformation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class Win32LobAppMsiInformation extends Object implements com.github.davidmoten.odata.client.ODataType
“Contains MSI app properties for a Win32 App.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWin32LobAppMsiInformation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected Win32LobAppMsiPackageTypepackageTypeprotected StringproductCodeprotected StringproductNameprotected StringproductVersionprotected Stringpublisherprotected BooleanrequiresRebootprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringupgradeCode
-
Constructor Summary
Constructors Modifier Constructor Description protectedWin32LobAppMsiInformation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Win32LobAppMsiInformation.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Win32LobAppMsiPackageType>getPackageType()“The MSI package type.”Optional<String>getProductCode()“The MSI product code.”Optional<String>getProductName()“The MSI product name.”Optional<String>getProductVersion()“The MSI product version.”Optional<String>getPublisher()“The MSI publisher.”Optional<Boolean>getRequiresReboot()“Whether the MSI app requires the machine to reboot to complete installation.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUpgradeCode()“The MSI upgrade code.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()Win32LobAppMsiInformationwithPackageType(Win32LobAppMsiPackageType packageType)Returns an immutable copy ofthiswith just thepackageTypefield changed.Win32LobAppMsiInformationwithProductCode(String productCode)Returns an immutable copy ofthiswith just theproductCodefield changed.Win32LobAppMsiInformationwithProductName(String productName)Returns an immutable copy ofthiswith just theproductNamefield changed.Win32LobAppMsiInformationwithProductVersion(String productVersion)Returns an immutable copy ofthiswith just theproductVersionfield changed.Win32LobAppMsiInformationwithPublisher(String publisher)Returns an immutable copy ofthiswith just thepublisherfield changed.Win32LobAppMsiInformationwithRequiresReboot(Boolean requiresReboot)Returns an immutable copy ofthiswith just therequiresRebootfield changed.Win32LobAppMsiInformationwithUnmappedField(String name, Object value)Win32LobAppMsiInformationwithUpgradeCode(String upgradeCode)Returns an immutable copy ofthiswith just theupgradeCodefield changed.
-
-
-
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
-
packageType
protected Win32LobAppMsiPackageType packageType
-
productCode
protected String productCode
-
productName
protected String productName
-
productVersion
protected String productVersion
-
publisher
protected String publisher
-
requiresReboot
protected Boolean requiresReboot
-
upgradeCode
protected String upgradeCode
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getPackageType
public Optional<Win32LobAppMsiPackageType> getPackageType()
“The MSI package type.”- Returns:
- property packageType
-
withPackageType
public Win32LobAppMsiInformation withPackageType(Win32LobAppMsiPackageType packageType)
Returns an immutable copy ofthiswith just thepackageTypefield 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 MSI package type.”
- Parameters:
packageType- new value ofpackageTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepackageTypefield changed
-
getProductCode
public Optional<String> getProductCode()
“The MSI product code.”- Returns:
- property productCode
-
withProductCode
public Win32LobAppMsiInformation 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 MSI product code.”
- Parameters:
productCode- new value ofproductCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproductCodefield changed
-
getProductName
public Optional<String> getProductName()
“The MSI product name.”- Returns:
- property productName
-
withProductName
public Win32LobAppMsiInformation withProductName(String productName)
Returns an immutable copy ofthiswith just theproductNamefield 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 MSI product name.”
- Parameters:
productName- new value ofproductNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproductNamefield changed
-
getProductVersion
public Optional<String> getProductVersion()
“The MSI product version.”- Returns:
- property productVersion
-
withProductVersion
public Win32LobAppMsiInformation 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 MSI product version.”
- Parameters:
productVersion- new value ofproductVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproductVersionfield changed
-
getPublisher
public Optional<String> getPublisher()
“The MSI publisher.”- Returns:
- property publisher
-
withPublisher
public Win32LobAppMsiInformation withPublisher(String publisher)
Returns an immutable copy ofthiswith just thepublisherfield 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 MSI publisher.”
- Parameters:
publisher- new value ofpublisherfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepublisherfield changed
-
getRequiresReboot
public Optional<Boolean> getRequiresReboot()
“Whether the MSI app requires the machine to reboot to complete installation.”- Returns:
- property requiresReboot
-
withRequiresReboot
public Win32LobAppMsiInformation withRequiresReboot(Boolean requiresReboot)
Returns an immutable copy ofthiswith just therequiresRebootfield 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.“Whether the MSI app requires the machine to reboot to complete installation.”
- Parameters:
requiresReboot- new value ofrequiresRebootfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequiresRebootfield changed
-
getUpgradeCode
public Optional<String> getUpgradeCode()
“The MSI upgrade code.”- Returns:
- property upgradeCode
-
withUpgradeCode
public Win32LobAppMsiInformation withUpgradeCode(String upgradeCode)
Returns an immutable copy ofthiswith just theupgradeCodefield 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 MSI upgrade code.”
- Parameters:
upgradeCode- new value ofupgradeCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theupgradeCodefield changed
-
withUnmappedField
public Win32LobAppMsiInformation 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 Win32LobAppMsiInformation.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
-
-