public OTAUpdateInfo unmarshall(JsonUnmarshallerContext context) throws Exception { OTAUpdateInfo oTAUpdateInfo = new OTAUpdateInfo(); if (context.testExpression("otaUpdateId", targetDepth)) { context.nextToken(); oTAUpdateInfo.setOtaUpdateId(context.getUnmarshaller(String.class).unmarshall(context)); oTAUpdateInfo.setOtaUpdateArn(context.getUnmarshaller(String.class).unmarshall(context)); oTAUpdateInfo.setCreationDate(DateJsonUnmarshallerFactory.getInstance("unixTimestamp").unmarshall(context)); oTAUpdateInfo.setLastModifiedDate(DateJsonUnmarshallerFactory.getInstance("unixTimestamp").unmarshall(context)); oTAUpdateInfo.setDescription(context.getUnmarshaller(String.class).unmarshall(context)); oTAUpdateInfo.setTargets(new ListUnmarshaller<String>(context.getUnmarshaller(String.class)).unmarshall(context)); oTAUpdateInfo.setAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfigJsonUnmarshaller.getInstance().unmarshall(context)); oTAUpdateInfo.setTargetSelection(context.getUnmarshaller(String.class).unmarshall(context)); oTAUpdateInfo.setOtaUpdateFiles(new ListUnmarshaller<OTAUpdateFile>(OTAUpdateFileJsonUnmarshaller.getInstance()).unmarshall(context)); oTAUpdateInfo.setOtaUpdateStatus(context.getUnmarshaller(String.class).unmarshall(context)); oTAUpdateInfo.setAwsIotJobId(context.getUnmarshaller(String.class).unmarshall(context)); oTAUpdateInfo.setAwsIotJobArn(context.getUnmarshaller(String.class).unmarshall(context)); oTAUpdateInfo.setErrorInfo(ErrorInfoJsonUnmarshaller.getInstance().unmarshall(context));
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetOTAUpdateResult == false) return false; GetOTAUpdateResult other = (GetOTAUpdateResult) obj; if (other.getOtaUpdateInfo() == null ^ this.getOtaUpdateInfo() == null) return false; if (other.getOtaUpdateInfo() != null && other.getOtaUpdateInfo().equals(this.getOtaUpdateInfo()) == false) return false; return true; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getOtaUpdateId() == null) ? 0 : getOtaUpdateId().hashCode()); hashCode = prime * hashCode + ((getOtaUpdateArn() == null) ? 0 : getOtaUpdateArn().hashCode()); hashCode = prime * hashCode + ((getCreationDate() == null) ? 0 : getCreationDate().hashCode()); hashCode = prime * hashCode + ((getLastModifiedDate() == null) ? 0 : getLastModifiedDate().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getTargets() == null) ? 0 : getTargets().hashCode()); hashCode = prime * hashCode + ((getAwsJobExecutionsRolloutConfig() == null) ? 0 : getAwsJobExecutionsRolloutConfig().hashCode()); hashCode = prime * hashCode + ((getTargetSelection() == null) ? 0 : getTargetSelection().hashCode()); hashCode = prime * hashCode + ((getOtaUpdateFiles() == null) ? 0 : getOtaUpdateFiles().hashCode()); hashCode = prime * hashCode + ((getOtaUpdateStatus() == null) ? 0 : getOtaUpdateStatus().hashCode()); hashCode = prime * hashCode + ((getAwsIotJobId() == null) ? 0 : getAwsIotJobId().hashCode()); hashCode = prime * hashCode + ((getAwsIotJobArn() == null) ? 0 : getAwsIotJobArn().hashCode()); hashCode = prime * hashCode + ((getErrorInfo() == null) ? 0 : getErrorInfo().hashCode()); hashCode = prime * hashCode + ((getAdditionalParameters() == null) ? 0 : getAdditionalParameters().hashCode()); return hashCode; }
return false; OTAUpdateInfo other = (OTAUpdateInfo) obj; if (other.getOtaUpdateId() == null ^ this.getOtaUpdateId() == null) return false; if (other.getOtaUpdateId() != null && other.getOtaUpdateId().equals(this.getOtaUpdateId()) == false) return false; if (other.getOtaUpdateArn() == null ^ this.getOtaUpdateArn() == null) return false; if (other.getOtaUpdateArn() != null && other.getOtaUpdateArn().equals(this.getOtaUpdateArn()) == false) return false; if (other.getCreationDate() == null ^ this.getCreationDate() == null) return false; if (other.getCreationDate() != null && other.getCreationDate().equals(this.getCreationDate()) == false) return false; if (other.getLastModifiedDate() == null ^ this.getLastModifiedDate() == null) return false; if (other.getLastModifiedDate() != null && other.getLastModifiedDate().equals(this.getLastModifiedDate()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getTargets() == null ^ this.getTargets() == null) return false; if (other.getTargets() != null && other.getTargets().equals(this.getTargets()) == false) return false; if (other.getAwsJobExecutionsRolloutConfig() == null ^ this.getAwsJobExecutionsRolloutConfig() == null) return false; if (other.getAwsJobExecutionsRolloutConfig() != null
OTAUpdateInfo oTAUpdateInfo = new OTAUpdateInfo(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("otaUpdateId")) { oTAUpdateInfo.setOtaUpdateId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("otaUpdateArn")) { oTAUpdateInfo.setOtaUpdateArn(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("creationDate")) { oTAUpdateInfo.setCreationDate(DateJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("lastModifiedDate")) { oTAUpdateInfo.setLastModifiedDate(DateJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("description")) { oTAUpdateInfo.setDescription(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("targets")) { oTAUpdateInfo.setTargets(new ListUnmarshaller<String>(StringJsonUnmarshaller .getInstance() } else if (name.equals("awsJobExecutionsRolloutConfig")) { oTAUpdateInfo .setAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfigJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("targetSelection")) {
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetOTAUpdateResult == false) return false; GetOTAUpdateResult other = (GetOTAUpdateResult) obj; if (other.getOtaUpdateInfo() == null ^ this.getOtaUpdateInfo() == null) return false; if (other.getOtaUpdateInfo() != null && other.getOtaUpdateInfo().equals(this.getOtaUpdateInfo()) == false) return false; return true; } }
StringBuilder sb = new StringBuilder(); sb.append("{"); if (getOtaUpdateId() != null) sb.append("OtaUpdateId: ").append(getOtaUpdateId()).append(","); if (getOtaUpdateArn() != null) sb.append("OtaUpdateArn: ").append(getOtaUpdateArn()).append(","); if (getCreationDate() != null) sb.append("CreationDate: ").append(getCreationDate()).append(","); if (getLastModifiedDate() != null) sb.append("LastModifiedDate: ").append(getLastModifiedDate()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getTargets() != null) sb.append("Targets: ").append(getTargets()).append(","); if (getAwsJobExecutionsRolloutConfig() != null) sb.append("AwsJobExecutionsRolloutConfig: ").append(getAwsJobExecutionsRolloutConfig()).append(","); if (getTargetSelection() != null) sb.append("TargetSelection: ").append(getTargetSelection()).append(","); if (getOtaUpdateFiles() != null) sb.append("OtaUpdateFiles: ").append(getOtaUpdateFiles()).append(","); if (getOtaUpdateStatus() != null) sb.append("OtaUpdateStatus: ").append(getOtaUpdateStatus()).append(","); if (getAwsIotJobId() != null) sb.append("AwsIotJobId: ").append(getAwsIotJobId()).append(","); if (getAwsIotJobArn() != null) sb.append("AwsIotJobArn: ").append(getAwsIotJobArn()).append(","); if (getErrorInfo() != null) sb.append("ErrorInfo: ").append(getErrorInfo()).append(","); if (getAdditionalParameters() != null)
OTAUpdateInfo oTAUpdateInfo = new OTAUpdateInfo(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("otaUpdateId")) { oTAUpdateInfo.setOtaUpdateId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("otaUpdateArn")) { oTAUpdateInfo.setOtaUpdateArn(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("creationDate")) { oTAUpdateInfo.setCreationDate(DateJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("lastModifiedDate")) { oTAUpdateInfo.setLastModifiedDate(DateJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("description")) { oTAUpdateInfo.setDescription(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("targets")) { oTAUpdateInfo.setTargets(new ListUnmarshaller<String>(StringJsonUnmarshaller .getInstance() } else if (name.equals("awsJobExecutionsRolloutConfig")) { oTAUpdateInfo .setAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfigJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("targetSelection")) {
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetOTAUpdateResult == false) return false; GetOTAUpdateResult other = (GetOTAUpdateResult) obj; if (other.getOtaUpdateInfo() == null ^ this.getOtaUpdateInfo() == null) return false; if (other.getOtaUpdateInfo() != null && other.getOtaUpdateInfo().equals(this.getOtaUpdateInfo()) == false) return false; return true; }
/** * Marshall the given parameter object. */ public void marshall(OTAUpdateInfo oTAUpdateInfo, ProtocolMarshaller protocolMarshaller) { if (oTAUpdateInfo == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(oTAUpdateInfo.getOtaUpdateId(), OTAUPDATEID_BINDING); protocolMarshaller.marshall(oTAUpdateInfo.getOtaUpdateArn(), OTAUPDATEARN_BINDING); protocolMarshaller.marshall(oTAUpdateInfo.getCreationDate(), CREATIONDATE_BINDING); protocolMarshaller.marshall(oTAUpdateInfo.getLastModifiedDate(), LASTMODIFIEDDATE_BINDING); protocolMarshaller.marshall(oTAUpdateInfo.getDescription(), DESCRIPTION_BINDING); protocolMarshaller.marshall(oTAUpdateInfo.getTargets(), TARGETS_BINDING); protocolMarshaller.marshall(oTAUpdateInfo.getAwsJobExecutionsRolloutConfig(), AWSJOBEXECUTIONSROLLOUTCONFIG_BINDING); protocolMarshaller.marshall(oTAUpdateInfo.getTargetSelection(), TARGETSELECTION_BINDING); protocolMarshaller.marshall(oTAUpdateInfo.getOtaUpdateFiles(), OTAUPDATEFILES_BINDING); protocolMarshaller.marshall(oTAUpdateInfo.getOtaUpdateStatus(), OTAUPDATESTATUS_BINDING); protocolMarshaller.marshall(oTAUpdateInfo.getAwsIotJobId(), AWSIOTJOBID_BINDING); protocolMarshaller.marshall(oTAUpdateInfo.getAwsIotJobArn(), AWSIOTJOBARN_BINDING); protocolMarshaller.marshall(oTAUpdateInfo.getErrorInfo(), ERRORINFO_BINDING); protocolMarshaller.marshall(oTAUpdateInfo.getAdditionalParameters(), ADDITIONALPARAMETERS_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
public OTAUpdateInfo unmarshall(JsonUnmarshallerContext context) throws Exception { OTAUpdateInfo oTAUpdateInfo = new OTAUpdateInfo(); if (context.testExpression("otaUpdateId", targetDepth)) { context.nextToken(); oTAUpdateInfo.setOtaUpdateId(context.getUnmarshaller(String.class).unmarshall(context)); oTAUpdateInfo.setOtaUpdateArn(context.getUnmarshaller(String.class).unmarshall(context)); oTAUpdateInfo.setCreationDate(DateJsonUnmarshallerFactory.getInstance("unixTimestamp").unmarshall(context)); oTAUpdateInfo.setLastModifiedDate(DateJsonUnmarshallerFactory.getInstance("unixTimestamp").unmarshall(context)); oTAUpdateInfo.setDescription(context.getUnmarshaller(String.class).unmarshall(context)); oTAUpdateInfo.setTargets(new ListUnmarshaller<String>(context.getUnmarshaller(String.class)).unmarshall(context)); oTAUpdateInfo.setAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfigJsonUnmarshaller.getInstance().unmarshall(context)); oTAUpdateInfo.setTargetSelection(context.getUnmarshaller(String.class).unmarshall(context)); oTAUpdateInfo.setOtaUpdateFiles(new ListUnmarshaller<OTAUpdateFile>(OTAUpdateFileJsonUnmarshaller.getInstance()).unmarshall(context)); oTAUpdateInfo.setOtaUpdateStatus(context.getUnmarshaller(String.class).unmarshall(context)); oTAUpdateInfo.setAwsIotJobId(context.getUnmarshaller(String.class).unmarshall(context)); oTAUpdateInfo.setAwsIotJobArn(context.getUnmarshaller(String.class).unmarshall(context)); oTAUpdateInfo.setErrorInfo(ErrorInfoJsonUnmarshaller.getInstance().unmarshall(context));
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetOTAUpdateResult == false) return false; GetOTAUpdateResult other = (GetOTAUpdateResult) obj; if (other.getOtaUpdateInfo() == null ^ this.getOtaUpdateInfo() == null) return false; if (other.getOtaUpdateInfo() != null && other.getOtaUpdateInfo().equals(this.getOtaUpdateInfo()) == false) return false; return true; } }
+ ((getOtaUpdateId() == null) ? 0 : getOtaUpdateId().hashCode()); hashCode = prime * hashCode + ((getOtaUpdateArn() == null) ? 0 : getOtaUpdateArn().hashCode()); hashCode = prime * hashCode + ((getCreationDate() == null) ? 0 : getCreationDate().hashCode()); hashCode = prime * hashCode + ((getLastModifiedDate() == null) ? 0 : getLastModifiedDate().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getTargets() == null) ? 0 : getTargets().hashCode()); hashCode = prime + ((getAwsJobExecutionsRolloutConfig() == null) ? 0 : getAwsJobExecutionsRolloutConfig().hashCode()); hashCode = prime * hashCode + ((getTargetSelection() == null) ? 0 : getTargetSelection().hashCode()); hashCode = prime * hashCode + ((getOtaUpdateFiles() == null) ? 0 : getOtaUpdateFiles().hashCode()); hashCode = prime * hashCode + ((getOtaUpdateStatus() == null) ? 0 : getOtaUpdateStatus().hashCode()); hashCode = prime * hashCode + ((getAwsIotJobId() == null) ? 0 : getAwsIotJobId().hashCode()); hashCode = prime * hashCode + ((getAwsIotJobArn() == null) ? 0 : getAwsIotJobArn().hashCode()); hashCode = prime * hashCode + ((getErrorInfo() == null) ? 0 : getErrorInfo().hashCode()); hashCode = prime * hashCode + ((getAdditionalParameters() == null) ? 0 : getAdditionalParameters().hashCode()); return hashCode;
StringBuilder sb = new StringBuilder(); sb.append("{"); if (getOtaUpdateId() != null) sb.append("otaUpdateId: " + getOtaUpdateId() + ","); if (getOtaUpdateArn() != null) sb.append("otaUpdateArn: " + getOtaUpdateArn() + ","); if (getCreationDate() != null) sb.append("creationDate: " + getCreationDate() + ","); if (getLastModifiedDate() != null) sb.append("lastModifiedDate: " + getLastModifiedDate() + ","); if (getDescription() != null) sb.append("description: " + getDescription() + ","); if (getTargets() != null) sb.append("targets: " + getTargets() + ","); if (getAwsJobExecutionsRolloutConfig() != null) sb.append("awsJobExecutionsRolloutConfig: " + getAwsJobExecutionsRolloutConfig() + ","); if (getTargetSelection() != null) sb.append("targetSelection: " + getTargetSelection() + ","); if (getOtaUpdateFiles() != null) sb.append("otaUpdateFiles: " + getOtaUpdateFiles() + ","); if (getOtaUpdateStatus() != null) sb.append("otaUpdateStatus: " + getOtaUpdateStatus() + ","); if (getAwsIotJobId() != null) sb.append("awsIotJobId: " + getAwsIotJobId() + ","); if (getAwsIotJobArn() != null) sb.append("awsIotJobArn: " + getAwsIotJobArn() + ","); if (getErrorInfo() != null) sb.append("errorInfo: " + getErrorInfo() + ","); if (getAdditionalParameters() != null)
if (other.getOtaUpdateId() == null ^ this.getOtaUpdateId() == null) return false; if (other.getOtaUpdateId() != null && other.getOtaUpdateId().equals(this.getOtaUpdateId()) == false) return false; if (other.getOtaUpdateArn() == null ^ this.getOtaUpdateArn() == null) return false; if (other.getOtaUpdateArn() != null && other.getOtaUpdateArn().equals(this.getOtaUpdateArn()) == false) return false; if (other.getCreationDate() == null ^ this.getCreationDate() == null) return false; if (other.getCreationDate() != null && other.getCreationDate().equals(this.getCreationDate()) == false) return false; if (other.getLastModifiedDate() == null ^ this.getLastModifiedDate() == null) return false; if (other.getLastModifiedDate() != null && other.getLastModifiedDate().equals(this.getLastModifiedDate()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getTargets() == null ^ this.getTargets() == null) return false; if (other.getTargets() != null && other.getTargets().equals(this.getTargets()) == false) return false;
public void marshall(OTAUpdateInfo oTAUpdateInfo, AwsJsonWriter jsonWriter) throws Exception { jsonWriter.beginObject(); if (oTAUpdateInfo.getOtaUpdateId() != null) { String otaUpdateId = oTAUpdateInfo.getOtaUpdateId(); jsonWriter.name("otaUpdateId"); jsonWriter.value(otaUpdateId); if (oTAUpdateInfo.getOtaUpdateArn() != null) { String otaUpdateArn = oTAUpdateInfo.getOtaUpdateArn(); jsonWriter.name("otaUpdateArn"); jsonWriter.value(otaUpdateArn); if (oTAUpdateInfo.getCreationDate() != null) { java.util.Date creationDate = oTAUpdateInfo.getCreationDate(); jsonWriter.name("creationDate"); jsonWriter.value(creationDate); if (oTAUpdateInfo.getLastModifiedDate() != null) { java.util.Date lastModifiedDate = oTAUpdateInfo.getLastModifiedDate(); jsonWriter.name("lastModifiedDate"); jsonWriter.value(lastModifiedDate); if (oTAUpdateInfo.getDescription() != null) { String description = oTAUpdateInfo.getDescription(); jsonWriter.name("description"); jsonWriter.value(description); if (oTAUpdateInfo.getTargets() != null) { java.util.List<String> targets = oTAUpdateInfo.getTargets(); jsonWriter.name("targets");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getOtaUpdateId() == null) ? 0 : getOtaUpdateId().hashCode()); hashCode = prime * hashCode + ((getOtaUpdateArn() == null) ? 0 : getOtaUpdateArn().hashCode()); hashCode = prime * hashCode + ((getCreationDate() == null) ? 0 : getCreationDate().hashCode()); hashCode = prime * hashCode + ((getLastModifiedDate() == null) ? 0 : getLastModifiedDate().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getTargets() == null) ? 0 : getTargets().hashCode()); hashCode = prime * hashCode + ((getAwsJobExecutionsRolloutConfig() == null) ? 0 : getAwsJobExecutionsRolloutConfig().hashCode()); hashCode = prime * hashCode + ((getTargetSelection() == null) ? 0 : getTargetSelection().hashCode()); hashCode = prime * hashCode + ((getOtaUpdateFiles() == null) ? 0 : getOtaUpdateFiles().hashCode()); hashCode = prime * hashCode + ((getOtaUpdateStatus() == null) ? 0 : getOtaUpdateStatus().hashCode()); hashCode = prime * hashCode + ((getAwsIotJobId() == null) ? 0 : getAwsIotJobId().hashCode()); hashCode = prime * hashCode + ((getAwsIotJobArn() == null) ? 0 : getAwsIotJobArn().hashCode()); hashCode = prime * hashCode + ((getErrorInfo() == null) ? 0 : getErrorInfo().hashCode()); hashCode = prime * hashCode + ((getAdditionalParameters() == null) ? 0 : getAdditionalParameters().hashCode()); return hashCode; }
+ ((getOtaUpdateId() == null) ? 0 : getOtaUpdateId().hashCode()); hashCode = prime * hashCode + ((getOtaUpdateArn() == null) ? 0 : getOtaUpdateArn().hashCode()); hashCode = prime * hashCode + ((getCreationDate() == null) ? 0 : getCreationDate().hashCode()); hashCode = prime * hashCode + ((getLastModifiedDate() == null) ? 0 : getLastModifiedDate().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getTargets() == null) ? 0 : getTargets().hashCode()); hashCode = prime + ((getAwsJobExecutionsRolloutConfig() == null) ? 0 : getAwsJobExecutionsRolloutConfig().hashCode()); hashCode = prime * hashCode + ((getTargetSelection() == null) ? 0 : getTargetSelection().hashCode()); hashCode = prime * hashCode + ((getOtaUpdateFiles() == null) ? 0 : getOtaUpdateFiles().hashCode()); hashCode = prime * hashCode + ((getOtaUpdateStatus() == null) ? 0 : getOtaUpdateStatus().hashCode()); hashCode = prime * hashCode + ((getAwsIotJobId() == null) ? 0 : getAwsIotJobId().hashCode()); hashCode = prime * hashCode + ((getAwsIotJobArn() == null) ? 0 : getAwsIotJobArn().hashCode()); hashCode = prime * hashCode + ((getErrorInfo() == null) ? 0 : getErrorInfo().hashCode()); hashCode = prime * hashCode + ((getAdditionalParameters() == null) ? 0 : getAdditionalParameters().hashCode()); return hashCode;
StringBuilder sb = new StringBuilder(); sb.append("{"); if (getOtaUpdateId() != null) sb.append("otaUpdateId: " + getOtaUpdateId() + ","); if (getOtaUpdateArn() != null) sb.append("otaUpdateArn: " + getOtaUpdateArn() + ","); if (getCreationDate() != null) sb.append("creationDate: " + getCreationDate() + ","); if (getLastModifiedDate() != null) sb.append("lastModifiedDate: " + getLastModifiedDate() + ","); if (getDescription() != null) sb.append("description: " + getDescription() + ","); if (getTargets() != null) sb.append("targets: " + getTargets() + ","); if (getAwsJobExecutionsRolloutConfig() != null) sb.append("awsJobExecutionsRolloutConfig: " + getAwsJobExecutionsRolloutConfig() + ","); if (getTargetSelection() != null) sb.append("targetSelection: " + getTargetSelection() + ","); if (getOtaUpdateFiles() != null) sb.append("otaUpdateFiles: " + getOtaUpdateFiles() + ","); if (getOtaUpdateStatus() != null) sb.append("otaUpdateStatus: " + getOtaUpdateStatus() + ","); if (getAwsIotJobId() != null) sb.append("awsIotJobId: " + getAwsIotJobId() + ","); if (getAwsIotJobArn() != null) sb.append("awsIotJobArn: " + getAwsIotJobArn() + ","); if (getErrorInfo() != null) sb.append("errorInfo: " + getErrorInfo() + ","); if (getAdditionalParameters() != null)
return false; OTAUpdateInfo other = (OTAUpdateInfo) obj; if (other.getOtaUpdateId() == null ^ this.getOtaUpdateId() == null) return false; if (other.getOtaUpdateId() != null && other.getOtaUpdateId().equals(this.getOtaUpdateId()) == false) return false; if (other.getOtaUpdateArn() == null ^ this.getOtaUpdateArn() == null) return false; if (other.getOtaUpdateArn() != null && other.getOtaUpdateArn().equals(this.getOtaUpdateArn()) == false) return false; if (other.getCreationDate() == null ^ this.getCreationDate() == null) return false; if (other.getCreationDate() != null && other.getCreationDate().equals(this.getCreationDate()) == false) return false; if (other.getLastModifiedDate() == null ^ this.getLastModifiedDate() == null) return false; if (other.getLastModifiedDate() != null && other.getLastModifiedDate().equals(this.getLastModifiedDate()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getTargets() == null ^ this.getTargets() == null) return false; if (other.getTargets() != null && other.getTargets().equals(this.getTargets()) == false) return false; if (other.getAwsJobExecutionsRolloutConfig() == null ^ this.getAwsJobExecutionsRolloutConfig() == null) return false; if (other.getAwsJobExecutionsRolloutConfig() != null