if (getForceCanceled() != null) sb.append("ForceCanceled: ").append(getForceCanceled()).append(","); if (getStatusDetails() != null) sb.append("StatusDetails: ").append(getStatusDetails()).append(","); if (getThingArn() != null) sb.append("ThingArn: ").append(getThingArn()).append(",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getJobId() == null) ? 0 : getJobId().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getForceCanceled() == null) ? 0 : getForceCanceled().hashCode()); hashCode = prime * hashCode + ((getStatusDetails() == null) ? 0 : getStatusDetails().hashCode()); hashCode = prime * hashCode + ((getThingArn() == null) ? 0 : getThingArn().hashCode()); hashCode = prime * hashCode + ((getQueuedAt() == null) ? 0 : getQueuedAt().hashCode()); hashCode = prime * hashCode + ((getStartedAt() == null) ? 0 : getStartedAt().hashCode()); hashCode = prime * hashCode + ((getLastUpdatedAt() == null) ? 0 : getLastUpdatedAt().hashCode()); hashCode = prime * hashCode + ((getExecutionNumber() == null) ? 0 : getExecutionNumber().hashCode()); hashCode = prime * hashCode + ((getVersionNumber() == null) ? 0 : getVersionNumber().hashCode()); hashCode = prime * hashCode + ((getApproximateSecondsBeforeTimedOut() == null) ? 0 : getApproximateSecondsBeforeTimedOut().hashCode()); return hashCode; }
if (other.getForceCanceled() != null && other.getForceCanceled().equals(this.getForceCanceled()) == false) return false; if (other.getStatusDetails() == null ^ this.getStatusDetails() == null) return false; if (other.getStatusDetails() != null && other.getStatusDetails().equals(this.getStatusDetails()) == false) return false; if (other.getThingArn() == null ^ this.getThingArn() == null)
/** * Marshall the given parameter object. */ public void marshall(JobExecution jobExecution, ProtocolMarshaller protocolMarshaller) { if (jobExecution == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(jobExecution.getJobId(), JOBID_BINDING); protocolMarshaller.marshall(jobExecution.getStatus(), STATUS_BINDING); protocolMarshaller.marshall(jobExecution.getForceCanceled(), FORCECANCELED_BINDING); protocolMarshaller.marshall(jobExecution.getStatusDetails(), STATUSDETAILS_BINDING); protocolMarshaller.marshall(jobExecution.getThingArn(), THINGARN_BINDING); protocolMarshaller.marshall(jobExecution.getQueuedAt(), QUEUEDAT_BINDING); protocolMarshaller.marshall(jobExecution.getStartedAt(), STARTEDAT_BINDING); protocolMarshaller.marshall(jobExecution.getLastUpdatedAt(), LASTUPDATEDAT_BINDING); protocolMarshaller.marshall(jobExecution.getExecutionNumber(), EXECUTIONNUMBER_BINDING); protocolMarshaller.marshall(jobExecution.getVersionNumber(), VERSIONNUMBER_BINDING); protocolMarshaller.marshall(jobExecution.getApproximateSecondsBeforeTimedOut(), APPROXIMATESECONDSBEFORETIMEDOUT_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
if (getForceCanceled() != null) sb.append("forceCanceled: " + getForceCanceled() + ","); if (getStatusDetails() != null) sb.append("statusDetails: " + getStatusDetails() + ","); if (getThingArn() != null) sb.append("thingArn: " + getThingArn() + ",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getJobId() == null) ? 0 : getJobId().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getForceCanceled() == null) ? 0 : getForceCanceled().hashCode()); hashCode = prime * hashCode + ((getStatusDetails() == null) ? 0 : getStatusDetails().hashCode()); hashCode = prime * hashCode + ((getThingArn() == null) ? 0 : getThingArn().hashCode()); hashCode = prime * hashCode + ((getQueuedAt() == null) ? 0 : getQueuedAt().hashCode()); hashCode = prime * hashCode + ((getStartedAt() == null) ? 0 : getStartedAt().hashCode()); hashCode = prime * hashCode + ((getLastUpdatedAt() == null) ? 0 : getLastUpdatedAt().hashCode()); hashCode = prime * hashCode + ((getExecutionNumber() == null) ? 0 : getExecutionNumber().hashCode()); hashCode = prime * hashCode + ((getVersionNumber() == null) ? 0 : getVersionNumber().hashCode()); hashCode = prime * hashCode + ((getApproximateSecondsBeforeTimedOut() == null) ? 0 : getApproximateSecondsBeforeTimedOut().hashCode()); return hashCode; }
&& other.getForceCanceled().equals(this.getForceCanceled()) == false) return false; if (other.getStatusDetails() == null ^ this.getStatusDetails() == null) return false; if (other.getStatusDetails() != null && other.getStatusDetails().equals(this.getStatusDetails()) == false) return false; if (other.getThingArn() == null ^ this.getThingArn() == null)
jsonWriter.value(forceCanceled); if (jobExecution.getStatusDetails() != null) { JobExecutionStatusDetails statusDetails = jobExecution.getStatusDetails(); jsonWriter.name("statusDetails"); JobExecutionStatusDetailsJsonMarshaller.getInstance().marshall(statusDetails,
if (getForceCanceled() != null) sb.append("ForceCanceled: ").append(getForceCanceled()).append(","); if (getStatusDetails() != null) sb.append("StatusDetails: ").append(getStatusDetails()).append(","); if (getThingArn() != null) sb.append("ThingArn: ").append(getThingArn()).append(",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getJobId() == null) ? 0 : getJobId().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getForceCanceled() == null) ? 0 : getForceCanceled().hashCode()); hashCode = prime * hashCode + ((getStatusDetails() == null) ? 0 : getStatusDetails().hashCode()); hashCode = prime * hashCode + ((getThingArn() == null) ? 0 : getThingArn().hashCode()); hashCode = prime * hashCode + ((getQueuedAt() == null) ? 0 : getQueuedAt().hashCode()); hashCode = prime * hashCode + ((getStartedAt() == null) ? 0 : getStartedAt().hashCode()); hashCode = prime * hashCode + ((getLastUpdatedAt() == null) ? 0 : getLastUpdatedAt().hashCode()); hashCode = prime * hashCode + ((getExecutionNumber() == null) ? 0 : getExecutionNumber().hashCode()); hashCode = prime * hashCode + ((getVersionNumber() == null) ? 0 : getVersionNumber().hashCode()); hashCode = prime * hashCode + ((getApproximateSecondsBeforeTimedOut() == null) ? 0 : getApproximateSecondsBeforeTimedOut().hashCode()); return hashCode; }
if (getForceCanceled() != null) sb.append("forceCanceled: " + getForceCanceled() + ","); if (getStatusDetails() != null) sb.append("statusDetails: " + getStatusDetails() + ","); if (getThingArn() != null) sb.append("thingArn: " + getThingArn() + ",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getJobId() == null) ? 0 : getJobId().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getForceCanceled() == null) ? 0 : getForceCanceled().hashCode()); hashCode = prime * hashCode + ((getStatusDetails() == null) ? 0 : getStatusDetails().hashCode()); hashCode = prime * hashCode + ((getThingArn() == null) ? 0 : getThingArn().hashCode()); hashCode = prime * hashCode + ((getQueuedAt() == null) ? 0 : getQueuedAt().hashCode()); hashCode = prime * hashCode + ((getStartedAt() == null) ? 0 : getStartedAt().hashCode()); hashCode = prime * hashCode + ((getLastUpdatedAt() == null) ? 0 : getLastUpdatedAt().hashCode()); hashCode = prime * hashCode + ((getExecutionNumber() == null) ? 0 : getExecutionNumber().hashCode()); hashCode = prime * hashCode + ((getVersionNumber() == null) ? 0 : getVersionNumber().hashCode()); hashCode = prime * hashCode + ((getApproximateSecondsBeforeTimedOut() == null) ? 0 : getApproximateSecondsBeforeTimedOut().hashCode()); return hashCode; }
if (other.getForceCanceled() != null && other.getForceCanceled().equals(this.getForceCanceled()) == false) return false; if (other.getStatusDetails() == null ^ this.getStatusDetails() == null) return false; if (other.getStatusDetails() != null && other.getStatusDetails().equals(this.getStatusDetails()) == false) return false; if (other.getThingArn() == null ^ this.getThingArn() == null)
&& other.getForceCanceled().equals(this.getForceCanceled()) == false) return false; if (other.getStatusDetails() == null ^ this.getStatusDetails() == null) return false; if (other.getStatusDetails() != null && other.getStatusDetails().equals(this.getStatusDetails()) == false) return false; if (other.getThingArn() == null ^ this.getThingArn() == null)
/** * Marshall the given parameter object. */ public void marshall(JobExecution jobExecution, ProtocolMarshaller protocolMarshaller) { if (jobExecution == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(jobExecution.getJobId(), JOBID_BINDING); protocolMarshaller.marshall(jobExecution.getStatus(), STATUS_BINDING); protocolMarshaller.marshall(jobExecution.getForceCanceled(), FORCECANCELED_BINDING); protocolMarshaller.marshall(jobExecution.getStatusDetails(), STATUSDETAILS_BINDING); protocolMarshaller.marshall(jobExecution.getThingArn(), THINGARN_BINDING); protocolMarshaller.marshall(jobExecution.getQueuedAt(), QUEUEDAT_BINDING); protocolMarshaller.marshall(jobExecution.getStartedAt(), STARTEDAT_BINDING); protocolMarshaller.marshall(jobExecution.getLastUpdatedAt(), LASTUPDATEDAT_BINDING); protocolMarshaller.marshall(jobExecution.getExecutionNumber(), EXECUTIONNUMBER_BINDING); protocolMarshaller.marshall(jobExecution.getVersionNumber(), VERSIONNUMBER_BINDING); protocolMarshaller.marshall(jobExecution.getApproximateSecondsBeforeTimedOut(), APPROXIMATESECONDSBEFORETIMEDOUT_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
jsonWriter.value(forceCanceled); if (jobExecution.getStatusDetails() != null) { JobExecutionStatusDetails statusDetails = jobExecution.getStatusDetails(); jsonWriter.name("statusDetails"); JobExecutionStatusDetailsJsonMarshaller.getInstance().marshall(statusDetails,