×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: userf526a
Added: Oct 29, 2021 11:18 AM
Views: 2196
Tags: no tags
  1.   public Instance(Object inputString)  {
  2.  
  3.         this.dispensable_at_all = Boolean.parseBoolean(
  4.                 JsonPath.parse(inputString).read(
  5.                 "$.freeformTags.dispensable_at_all"));
  6.         this.cron_downtimes = JsonPath.parse(inputString).read(
  7.                 "$.freeformTags.stop_times");
  8.         this.cron_uptimes = JsonPath.parse(inputString).read(
  9.                 "$.freeformTags.start_times");
  10.         this.email = JsonPath.parse(inputString).read(
  11.                 "$.freeformTags.email");
  12.         this.ocid = JsonPath.parse(inputString).read(
  13.                 "$.id");
  14.         this.lifecycleState = JsonPath.parse(inputString).read(
  15.                 "$.lifecycleState");
  16.         this.displayName = JsonPath.parse(inputString).read(
  17.                 "$.displayName");
  18.     }