Package odata.msgraph.client.beta.entity
Class DeviceManagementDerivedCredentialSettings
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementDerivedCredentialSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceManagementDerivedCredentialSettings extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Entity that describes tenant level settings for derived credentials”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementDerivedCredentialSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringdisplayNameprotected StringhelpUrlprotected DeviceManagementDerivedCredentialIssuerissuerprotected DeviceManagementDerivedCredentialNotificationTypenotificationType-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementDerivedCredentialSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementDerivedCredentialSettings.BuilderbuilderDeviceManagementDerivedCredentialSettings()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDisplayName()“The display name for the profile.”Optional<String>getHelpUrl()“The URL that will be accessible to end users as they retrieve a derived credential using the Company Portal.”Optional<DeviceManagementDerivedCredentialIssuer>getIssuer()“The derived credential provider to use.”Optional<DeviceManagementDerivedCredentialNotificationType>getNotificationType()“The methods used to inform the end user to open Company Portal to deliver Wi-Fi, VPN, or email profiles that use certificates to the device.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceManagementDerivedCredentialSettingspatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementDerivedCredentialSettingsput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementDerivedCredentialSettingswithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.DeviceManagementDerivedCredentialSettingswithHelpUrl(String helpUrl)Returns an immutable copy ofthiswith just thehelpUrlfield changed.DeviceManagementDerivedCredentialSettingswithIssuer(DeviceManagementDerivedCredentialIssuer issuer)Returns an immutable copy ofthiswith just theissuerfield changed.DeviceManagementDerivedCredentialSettingswithNotificationType(DeviceManagementDerivedCredentialNotificationType notificationType)Returns an immutable copy ofthiswith just thenotificationTypefield changed.DeviceManagementDerivedCredentialSettingswithUnmappedField(String name, String value)
-
-
-
Field Detail
-
displayName
protected String displayName
-
helpUrl
protected String helpUrl
-
issuer
protected DeviceManagementDerivedCredentialIssuer issuer
-
notificationType
protected DeviceManagementDerivedCredentialNotificationType notificationType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceManagementDerivedCredentialSettings
public static DeviceManagementDerivedCredentialSettings.Builder builderDeviceManagementDerivedCredentialSettings()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getDisplayName
public Optional<String> getDisplayName()
“The display name for the profile.”- Returns:
- property displayName
-
withDisplayName
public DeviceManagementDerivedCredentialSettings 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 for the profile.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getHelpUrl
public Optional<String> getHelpUrl()
“The URL that will be accessible to end users as they retrieve a derived credential using the Company Portal.”- Returns:
- property helpUrl
-
withHelpUrl
public DeviceManagementDerivedCredentialSettings withHelpUrl(String helpUrl)
Returns an immutable copy ofthiswith just thehelpUrlfield 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 URL that will be accessible to end users as they retrieve a derived credential using the Company Portal.”
- Parameters:
helpUrl- new value ofhelpUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thehelpUrlfield changed
-
getIssuer
public Optional<DeviceManagementDerivedCredentialIssuer> getIssuer()
“The derived credential provider to use.”- Returns:
- property issuer
-
withIssuer
public DeviceManagementDerivedCredentialSettings withIssuer(DeviceManagementDerivedCredentialIssuer issuer)
Returns an immutable copy ofthiswith just theissuerfield 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 derived credential provider to use.”
- Parameters:
issuer- new value ofissuerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theissuerfield changed
-
getNotificationType
public Optional<DeviceManagementDerivedCredentialNotificationType> getNotificationType()
“The methods used to inform the end user to open Company Portal to deliver Wi-Fi, VPN, or email profiles that use certificates to the device.”- Returns:
- property notificationType
-
withNotificationType
public DeviceManagementDerivedCredentialSettings withNotificationType(DeviceManagementDerivedCredentialNotificationType notificationType)
Returns an immutable copy ofthiswith just thenotificationTypefield 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 methods used to inform the end user to open Company Portal to deliver Wi-Fi, VPN, or email profiles that use certificates to the device.”
- Parameters:
notificationType- new value ofnotificationTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotificationTypefield changed
-
withUnmappedField
public DeviceManagementDerivedCredentialSettings withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public DeviceManagementDerivedCredentialSettings patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceManagementDerivedCredentialSettings put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-