Class MacOSKernelExtension
- java.lang.Object
-
- odata.msgraph.client.beta.complex.MacOSKernelExtension
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class MacOSKernelExtension extends Object implements com.github.davidmoten.odata.client.ODataType
“Represents a specific macOS kernel extension. A macOS kernel extension can be described by its team identifier plus its bundle identifier.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOSKernelExtension.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringbundleIdprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected StringteamIdentifierprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedMacOSKernelExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacOSKernelExtension.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getBundleId()“Bundle ID of the kernel extension.”Optional<String>getTeamIdentifier()“The team identifier that was used to sign the kernel extension.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MacOSKernelExtensionwithBundleId(String bundleId)Returns an immutable copy ofthiswith just thebundleIdfield changed.MacOSKernelExtensionwithTeamIdentifier(String teamIdentifier)Returns an immutable copy ofthiswith just theteamIdentifierfield changed.MacOSKernelExtensionwithUnmappedField(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
-
bundleId
protected String bundleId
-
teamIdentifier
protected String teamIdentifier
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getBundleId
public Optional<String> getBundleId()
“Bundle ID of the kernel extension.”- Returns:
- property bundleId
-
withBundleId
public MacOSKernelExtension withBundleId(String bundleId)
Returns an immutable copy ofthiswith just thebundleIdfield 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.“Bundle ID of the kernel extension.”
- Parameters:
bundleId- new value ofbundleIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebundleIdfield changed
-
getTeamIdentifier
public Optional<String> getTeamIdentifier()
“The team identifier that was used to sign the kernel extension.”- Returns:
- property teamIdentifier
-
withTeamIdentifier
public MacOSKernelExtension withTeamIdentifier(String teamIdentifier)
Returns an immutable copy ofthiswith just theteamIdentifierfield 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 team identifier that was used to sign the kernel extension.”
- Parameters:
teamIdentifier- new value ofteamIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theteamIdentifierfield changed
-
withUnmappedField
public MacOSKernelExtension 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 MacOSKernelExtension.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
-
-