public CodeSigning unmarshall(JsonUnmarshallerContext context) throws Exception { CodeSigning codeSigning = new CodeSigning();
public CodeSigning unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } CodeSigning codeSigning = new CodeSigning(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("awsSignerJobId")) { codeSigning.setAwsSignerJobId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("startSigningJobParameter")) { codeSigning.setStartSigningJobParameter(StartSigningJobParameterJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("customCodeSigning")) { codeSigning.setCustomCodeSigning(CustomCodeSigningJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return codeSigning; }
public CodeSigning unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } CodeSigning codeSigning = new CodeSigning(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("awsSignerJobId")) { codeSigning.setAwsSignerJobId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("startSigningJobParameter")) { codeSigning.setStartSigningJobParameter(StartSigningJobParameterJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("customCodeSigning")) { codeSigning.setCustomCodeSigning(CustomCodeSigningJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return codeSigning; }
public CodeSigning unmarshall(JsonUnmarshallerContext context) throws Exception { CodeSigning codeSigning = new CodeSigning();