@Override public ConfirmDeviceResponse build() { return new ConfirmDeviceResponse(this); } }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(userConfirmationNecessary()); return hashCode; }
public ConfirmDeviceResponse unmarshall(JsonUnmarshallerContext context) throws Exception { ConfirmDeviceResponse.Builder confirmDeviceResponseBuilder = ConfirmDeviceResponse.builder();
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof ConfirmDeviceResponse)) { return false; } ConfirmDeviceResponse other = (ConfirmDeviceResponse) obj; return Objects.equals(userConfirmationNecessary(), other.userConfirmationNecessary()); }
@Override public ConfirmDeviceResponse build() { return new ConfirmDeviceResponse(this); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof ConfirmDeviceResponse)) { return false; } ConfirmDeviceResponse other = (ConfirmDeviceResponse) obj; return Objects.equals(userConfirmationNecessary(), other.userConfirmationNecessary()); }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(userConfirmationNecessary()); return hashCode; }
/** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. */ @Override public String toString() { return ToString.builder("ConfirmDeviceResponse").add("UserConfirmationNecessary", userConfirmationNecessary()).build(); }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "UserConfirmationNecessary": return Optional.ofNullable(clazz.cast(userConfirmationNecessary())); default: return Optional.empty(); } }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "UserConfirmationNecessary": return Optional.ofNullable(clazz.cast(userConfirmationNecessary())); default: return Optional.empty(); } }
@Override public String toString() { return ToString.builder("ConfirmDeviceResponse").add("UserConfirmationNecessary", userConfirmationNecessary()).build(); }