Class DeviceManagementConfigurationPolicyTemplateReference
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementConfigurationPolicyTemplateReference
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementConfigurationPolicyTemplateReference extends Object implements com.github.davidmoten.odata.client.ODataType
“Policy template reference information”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationPolicyTemplateReference.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected StringtemplateDisplayNameprotected StringtemplateDisplayVersionprotected DeviceManagementConfigurationTemplateFamilytemplateFamilyprotected StringtemplateIdprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementConfigurationPolicyTemplateReference()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationPolicyTemplateReference.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getTemplateDisplayName()“Template Display Name of the referenced template.Optional<String>getTemplateDisplayVersion()“Template Display Version of the referenced Template.Optional<DeviceManagementConfigurationTemplateFamily>getTemplateFamily()“Template Family of the referenced Template.Optional<String>getTemplateId()“Template id”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementConfigurationPolicyTemplateReferencewithTemplateDisplayName(String templateDisplayName)Returns an immutable copy ofthiswith just thetemplateDisplayNamefield changed.DeviceManagementConfigurationPolicyTemplateReferencewithTemplateDisplayVersion(String templateDisplayVersion)Returns an immutable copy ofthiswith just thetemplateDisplayVersionfield changed.DeviceManagementConfigurationPolicyTemplateReferencewithTemplateFamily(DeviceManagementConfigurationTemplateFamily templateFamily)Returns an immutable copy ofthiswith just thetemplateFamilyfield changed.DeviceManagementConfigurationPolicyTemplateReferencewithTemplateId(String templateId)Returns an immutable copy ofthiswith just thetemplateIdfield changed.DeviceManagementConfigurationPolicyTemplateReferencewithUnmappedField(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
-
templateDisplayName
protected String templateDisplayName
-
templateDisplayVersion
protected String templateDisplayVersion
-
templateFamily
protected DeviceManagementConfigurationTemplateFamily templateFamily
-
templateId
protected String templateId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getTemplateDisplayName
public Optional<String> getTemplateDisplayName()
“Template Display Name of the referenced template. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property templateDisplayName
-
withTemplateDisplayName
public DeviceManagementConfigurationPolicyTemplateReference withTemplateDisplayName(String templateDisplayName)
Returns an immutable copy ofthiswith just thetemplateDisplayNamefield 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.“Template Display Name of the referenced template. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
templateDisplayName- new value oftemplateDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetemplateDisplayNamefield changed
-
getTemplateDisplayVersion
public Optional<String> getTemplateDisplayVersion()
“Template Display Version of the referenced Template. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property templateDisplayVersion
-
withTemplateDisplayVersion
public DeviceManagementConfigurationPolicyTemplateReference withTemplateDisplayVersion(String templateDisplayVersion)
Returns an immutable copy ofthiswith just thetemplateDisplayVersionfield 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.“Template Display Version of the referenced Template. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
templateDisplayVersion- new value oftemplateDisplayVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetemplateDisplayVersionfield changed
-
getTemplateFamily
public Optional<DeviceManagementConfigurationTemplateFamily> getTemplateFamily()
“Template Family of the referenced Template. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property templateFamily
-
withTemplateFamily
public DeviceManagementConfigurationPolicyTemplateReference withTemplateFamily(DeviceManagementConfigurationTemplateFamily templateFamily)
Returns an immutable copy ofthiswith just thetemplateFamilyfield 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.“Template Family of the referenced Template. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
templateFamily- new value oftemplateFamilyfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetemplateFamilyfield changed
-
withTemplateId
public DeviceManagementConfigurationPolicyTemplateReference withTemplateId(String templateId)
Returns an immutable copy ofthiswith just thetemplateIdfield 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.“Template id”
- Parameters:
templateId- new value oftemplateIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetemplateIdfield changed
-
withUnmappedField
public DeviceManagementConfigurationPolicyTemplateReference 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 DeviceManagementConfigurationPolicyTemplateReference.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
-
-