title: JSON parse error: Can not set com.google.api.services.androidmanagement.v1.model.KioskCustomization field
body: <p>Issue while creating Policy In Android Management API,Iam Using Spring Boot as BackEnd.</p>
  <p>this is my request:</p>
  <p>{
  &quot;name&quot;: &quot;testpolicy&quot;,
  &quot;applications&quot;: [
  {
  &quot;packageName&quot;: &quot;com.adobe.reader&quot;,
  &quot;installType&quot;: &quot;REQUIRED_FOR_SETUP&quot;,
  &quot;defaultPermissionPolicy&quot;: &quot;GRANT&quot;
  }
  ],
  &quot;kioskCustomization&quot;:{
  &quot;powerButtonActions&quot;: &quot;POWER_BUTTON_ACTIONS_UNSPECIFIED&quot;,
  &quot;systemErrorWarnings&quot;: &quot;SYSTEM_ERROR_WARNINGS_UNSPECIFIED&quot;,
  &quot;systemNavigation&quot;: &quot;SYSTEM_NAVIGATION_UNSPECIFIED&quot;,
  &quot;statusBar&quot;: &quot;STATUS_BAR_UNSPECIFIED&quot;,
  &quot;deviceSettings&quot;: &quot;DEVICE_SETTINGS_UNSPECIFIED&quot;
  },
  &quot;kioskCustomLauncherEnabled&quot;: true
  }</p>
  <p>This is my response:</p>
  <p>JSON parse error: Can not set com.google.api.services.androidmanagement.v1.model.KioskCustomization field com.google.api.services.androidmanagement.v1.model.Policy.kioskCustomization to java.util.LinkedHashMap; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Can not set com.google.api.services.androidmanagement.v1.model.KioskCustomization field com.google.api.services.androidmanagement.v1.model.Policy.kioskCustomization to java.util.LinkedHashMap (through reference chain: com.google.api.services.androidmanagement.v1.model.Policy[&quot;kioskCustomization&quot;])</p>
  <p>code written in the controller:</p>
  <pre><code>@PostMapping(&quot;/policies&quot;)
  public ResponseEntity&lt;com.google.api.services.androidmanagement.v1.model.Policy&gt; savePolicy(
          @RequestBody Policy policy, @RequestParam String enterpriseId) throws Exception {
  </code></pre>
  <p>}</p>
  <p>control is not even coming inside the controller</p>