Class MacOSSystemExtensionTypeMapping
- java.lang.Object
-
- odata.msgraph.client.beta.complex.MacOSSystemExtensionTypeMapping
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class MacOSSystemExtensionTypeMapping extends Object implements com.github.davidmoten.odata.client.ODataType
“Represents a mapping between team identifiers for macOS system extensions and system extension types.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOSSystemExtensionTypeMapping.Builder
-
Field Summary
Fields Modifier and Type Field Description protected MacOSSystemExtensionTypeallowedTypesprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected StringteamIdentifierprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedMacOSSystemExtensionTypeMapping()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacOSSystemExtensionTypeMapping.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<MacOSSystemExtensionType>getAllowedTypes()“Gets or sets the allowed macOS system extension types.”Optional<String>getTeamIdentifier()“Gets or sets the team identifier used to sign the system extension.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MacOSSystemExtensionTypeMappingwithAllowedTypes(MacOSSystemExtensionType allowedTypes)Returns an immutable copy ofthiswith just theallowedTypesfield changed.MacOSSystemExtensionTypeMappingwithTeamIdentifier(String teamIdentifier)Returns an immutable copy ofthiswith just theteamIdentifierfield changed.MacOSSystemExtensionTypeMappingwithUnmappedField(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
-
allowedTypes
protected MacOSSystemExtensionType allowedTypes
-
teamIdentifier
protected String teamIdentifier
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAllowedTypes
public Optional<MacOSSystemExtensionType> getAllowedTypes()
“Gets or sets the allowed macOS system extension types.”- Returns:
- property allowedTypes
-
withAllowedTypes
public MacOSSystemExtensionTypeMapping withAllowedTypes(MacOSSystemExtensionType allowedTypes)
Returns an immutable copy ofthiswith just theallowedTypesfield 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.“Gets or sets the allowed macOS system extension types.”
- Parameters:
allowedTypes- new value ofallowedTypesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowedTypesfield changed
-
getTeamIdentifier
public Optional<String> getTeamIdentifier()
“Gets or sets the team identifier used to sign the system extension.”- Returns:
- property teamIdentifier
-
withTeamIdentifier
public MacOSSystemExtensionTypeMapping 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.“Gets or sets the team identifier used to sign the system extension.”
- Parameters:
teamIdentifier- new value ofteamIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theteamIdentifierfield changed
-
withUnmappedField
public MacOSSystemExtensionTypeMapping 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 MacOSSystemExtensionTypeMapping.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
-
-