@Test public void testExceptionProperties() { Map<String, Object> propertyMap; RelatedMediaReferencesResponse testObject = new RelatedMediaReferencesResponse(); assertTrue(testObject.getExceptionProperties() == null); propertyMap = null; testObject = new RelatedMediaReferencesResponse(); testObject.setExceptionProperties(propertyMap); assertTrue(testObject.getExceptionProperties() == null); propertyMap = new HashMap<>(); testObject = new RelatedMediaReferencesResponse(); testObject.setExceptionProperties(propertyMap); assertTrue(testObject.getExceptionProperties() == null); propertyMap.put("propertyName", "propertyValue"); testObject = new RelatedMediaReferencesResponse(); testObject.setExceptionProperties(propertyMap); Map<String, Object> retrievedPropertyMap = testObject.getExceptionProperties(); assertTrue(retrievedPropertyMap != null); assertFalse(retrievedPropertyMap.isEmpty()); assertTrue("propertyValue".equals(retrievedPropertyMap.get("propertyName"))); }
@Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (!(objectToCompare instanceof RelatedMediaReferencesResponse)) { return false; } if (!super.equals(objectToCompare)) { return false; } RelatedMediaReferencesResponse that = (RelatedMediaReferencesResponse) objectToCompare; return Objects.equals(responseObjects, that.responseObjects); }
RelatedMediaReferencesResponse extends PagedResponse { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (!(objectToCompare instanceof RelatedMediaReferencesResponse)) { return false; } if (!super.equals(objectToCompare)) { return false; } RelatedMediaReferencesResponse that = (RelatedMediaReferencesResponse) objectToCompare; return Objects.equals(responseObjects, that.responseObjects); } }
RelatedMediaReferencesResponse extends PagedResponse { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (!(objectToCompare instanceof RelatedMediaReferencesResponse)) { return false; } if (!super.equals(objectToCompare)) { return false; } RelatedMediaReferencesResponse that = (RelatedMediaReferencesResponse) objectToCompare; return Objects.equals(responseObjects, that.responseObjects); } RelatedMediaReferencesResponse();  RelatedMediaReferencesResponse(RelatedMediaReferencesResponse template); }
RelatedMediaReferencesResponse extends PagedResponse { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (!(objectToCompare instanceof RelatedMediaReferencesResponse)) { return false; } if (!super.equals(objectToCompare)) { return false; } RelatedMediaReferencesResponse that = (RelatedMediaReferencesResponse) objectToCompare; return Objects.equals(responseObjects, that.responseObjects); } RelatedMediaReferencesResponse();  RelatedMediaReferencesResponse(RelatedMediaReferencesResponse template); List<RelatedMediaReference> getList(); void setList(List<RelatedMediaReference> responseObjects); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode(); }
RelatedMediaReferencesResponse extends PagedResponse { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (!(objectToCompare instanceof RelatedMediaReferencesResponse)) { return false; } if (!super.equals(objectToCompare)) { return false; } RelatedMediaReferencesResponse that = (RelatedMediaReferencesResponse) objectToCompare; return Objects.equals(responseObjects, that.responseObjects); } RelatedMediaReferencesResponse();  RelatedMediaReferencesResponse(RelatedMediaReferencesResponse template); List<RelatedMediaReference> getList(); void setList(List<RelatedMediaReference> responseObjects); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }