Class WindowsPackageInformation
- java.lang.Object
-
- odata.msgraph.client.beta.complex.WindowsPackageInformation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsPackageInformation extends Object implements com.github.davidmoten.odata.client.ODataType
“Contains properties for the package information for a Windows line of business app.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsPackageInformation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected WindowsArchitectureapplicableArchitectureprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdisplayNameprotected StringidentityNameprotected StringidentityPublisherprotected StringidentityResourceIdentifierprotected StringidentityVersionprotected WindowsMinimumOperatingSystemminimumSupportedOperatingSystemprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsPackageInformation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsPackageInformation.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<WindowsArchitecture>getApplicableArchitecture()“The Windows architecture for which this app can run on.”Optional<String>getDisplayName()“The Display Name.”Optional<String>getIdentityName()“The Identity Name.”Optional<String>getIdentityPublisher()“The Identity Publisher.”Optional<String>getIdentityResourceIdentifier()“The Identity Resource Identifier.”Optional<String>getIdentityVersion()“The Identity Version.”Optional<WindowsMinimumOperatingSystem>getMinimumSupportedOperatingSystem()“The value for the minimum applicable operating system.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsPackageInformationwithApplicableArchitecture(WindowsArchitecture applicableArchitecture)Returns an immutable copy ofthiswith just theapplicableArchitecturefield changed.WindowsPackageInformationwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.WindowsPackageInformationwithIdentityName(String identityName)Returns an immutable copy ofthiswith just theidentityNamefield changed.WindowsPackageInformationwithIdentityPublisher(String identityPublisher)Returns an immutable copy ofthiswith just theidentityPublisherfield changed.WindowsPackageInformationwithIdentityResourceIdentifier(String identityResourceIdentifier)Returns an immutable copy ofthiswith just theidentityResourceIdentifierfield changed.WindowsPackageInformationwithIdentityVersion(String identityVersion)Returns an immutable copy ofthiswith just theidentityVersionfield changed.WindowsPackageInformationwithMinimumSupportedOperatingSystem(WindowsMinimumOperatingSystem minimumSupportedOperatingSystem)Returns an immutable copy ofthiswith just theminimumSupportedOperatingSystemfield changed.WindowsPackageInformationwithUnmappedField(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
-
applicableArchitecture
protected WindowsArchitecture applicableArchitecture
-
displayName
protected String displayName
-
identityName
protected String identityName
-
identityPublisher
protected String identityPublisher
-
identityResourceIdentifier
protected String identityResourceIdentifier
-
identityVersion
protected String identityVersion
-
minimumSupportedOperatingSystem
protected WindowsMinimumOperatingSystem minimumSupportedOperatingSystem
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getApplicableArchitecture
public Optional<WindowsArchitecture> getApplicableArchitecture()
“The Windows architecture for which this app can run on.”- Returns:
- property applicableArchitecture
-
withApplicableArchitecture
public WindowsPackageInformation withApplicableArchitecture(WindowsArchitecture applicableArchitecture)
Returns an immutable copy ofthiswith just theapplicableArchitecturefield 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 Windows architecture for which this app can run on.”
- Parameters:
applicableArchitecture- new value ofapplicableArchitecturefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicableArchitecturefield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The Display Name.”- Returns:
- property displayName
-
withDisplayName
public WindowsPackageInformation withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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 Display Name.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getIdentityName
public Optional<String> getIdentityName()
“The Identity Name.”- Returns:
- property identityName
-
withIdentityName
public WindowsPackageInformation withIdentityName(String identityName)
Returns an immutable copy ofthiswith just theidentityNamefield 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 Identity Name.”
- Parameters:
identityName- new value ofidentityNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidentityNamefield changed
-
getIdentityPublisher
public Optional<String> getIdentityPublisher()
“The Identity Publisher.”- Returns:
- property identityPublisher
-
withIdentityPublisher
public WindowsPackageInformation withIdentityPublisher(String identityPublisher)
Returns an immutable copy ofthiswith just theidentityPublisherfield 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 Identity Publisher.”
- Parameters:
identityPublisher- new value ofidentityPublisherfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidentityPublisherfield changed
-
getIdentityResourceIdentifier
public Optional<String> getIdentityResourceIdentifier()
“The Identity Resource Identifier.”- Returns:
- property identityResourceIdentifier
-
withIdentityResourceIdentifier
public WindowsPackageInformation withIdentityResourceIdentifier(String identityResourceIdentifier)
Returns an immutable copy ofthiswith just theidentityResourceIdentifierfield 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 Identity Resource Identifier.”
- Parameters:
identityResourceIdentifier- new value ofidentityResourceIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidentityResourceIdentifierfield changed
-
getIdentityVersion
public Optional<String> getIdentityVersion()
“The Identity Version.”- Returns:
- property identityVersion
-
withIdentityVersion
public WindowsPackageInformation withIdentityVersion(String identityVersion)
Returns an immutable copy ofthiswith just theidentityVersionfield 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 Identity Version.”
- Parameters:
identityVersion- new value ofidentityVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidentityVersionfield changed
-
getMinimumSupportedOperatingSystem
public Optional<WindowsMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
“The value for the minimum applicable operating system.”- Returns:
- property minimumSupportedOperatingSystem
-
withMinimumSupportedOperatingSystem
public WindowsPackageInformation withMinimumSupportedOperatingSystem(WindowsMinimumOperatingSystem minimumSupportedOperatingSystem)
Returns an immutable copy ofthiswith just theminimumSupportedOperatingSystemfield 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 value for the minimum applicable operating system.”
- Parameters:
minimumSupportedOperatingSystem- new value ofminimumSupportedOperatingSystemfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumSupportedOperatingSystemfield changed
-
withUnmappedField
public WindowsPackageInformation 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 WindowsPackageInformation.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
-
-