this.type = castToCoding(value); // Coding } else if (name.equals("resource")) { this.resource = castToCode(value); // CodeType } else if (name.equals("label")) { this.label = castToString(value); // StringType this.description = castToString(value); // StringType } else if (name.equals("accept")) { this.accept = castToCode(value); // CodeType } else if (name.equals("contentType")) { this.contentType = castToCode(value); // CodeType } else if (name.equals("destination")) { this.destination = castToInteger(value); // IntegerType this.encodeRequestUrl = castToBoolean(value); // BooleanType } else if (name.equals("method")) { value = new TestScriptRequestMethodCodeEnumFactory().fromType(castToCode(value)); this.method = (Enumeration) value; // Enumeration<TestScriptRequestMethodCode> } else if (name.equals("origin")) {
this.type = castToCoding(value); // Coding } else if (name.equals("resource")) { this.resource = castToCode(value); // CodeType } else if (name.equals("label")) { this.label = castToString(value); // StringType this.description = castToString(value); // StringType } else if (name.equals("accept")) { this.accept = castToCode(value); // CodeType } else if (name.equals("contentType")) { this.contentType = castToCode(value); // CodeType } else if (name.equals("destination")) { this.destination = castToInteger(value); // IntegerType this.encodeRequestUrl = castToBoolean(value); // BooleanType } else if (name.equals("method")) { value = new TestScriptRequestMethodCodeEnumFactory().fromType(castToCode(value)); this.method = (Enumeration) value; // Enumeration<TestScriptRequestMethodCode> } else if (name.equals("origin")) {
return value; case -341064690: // resource this.resource = castToCode(value); // CodeType return value; case 102727412: // label return value; case -1423461112: // accept this.accept = castToCode(value); // CodeType return value; case -389131437: // contentType this.contentType = castToCode(value); // CodeType return value; case -1429847026: // destination return value; case -1077554975: // method value = new TestScriptRequestMethodCodeEnumFactory().fromType(castToCode(value)); this.method = (Enumeration) value; // Enumeration<TestScriptRequestMethodCode> return value;
return value; case -341064690: // resource this.resource = castToCode(value); // CodeType return value; case 102727412: // label return value; case -1423461112: // accept this.accept = castToCode(value); // CodeType return value; case -389131437: // contentType this.contentType = castToCode(value); // CodeType return value; case -1429847026: // destination return value; case -1077554975: // method value = new TestScriptRequestMethodCodeEnumFactory().fromType(castToCode(value)); this.method = (Enumeration) value; // Enumeration<TestScriptRequestMethodCode> return value;