@Test public void testExceptionProperties() { Map<String, Object> propertyMap; AssetListResponse testObject = new AssetListResponse(); assertTrue(testObject.getExceptionProperties() == null); propertyMap = null; testObject = new AssetListResponse(); testObject.setExceptionProperties(propertyMap); assertTrue(testObject.getExceptionProperties() == null); propertyMap = new HashMap<>(); testObject = new AssetListResponse(); testObject.setExceptionProperties(propertyMap); assertTrue(testObject.getExceptionProperties() == null); propertyMap.put("propertyName", "propertyValue"); testObject = new AssetListResponse(); 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 == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } AssetListResponse that = (AssetListResponse) objectToCompare; return getStartingFromElement() == that.getStartingFromElement() && getTotalListSize() == that.getTotalListSize() && Objects.equals(getAssets(), that.getAssets()); }
AssetListResponse extends CommunityProfileOMASAPIResponse { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (objectToCompare == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } AssetListResponse that = (AssetListResponse) objectToCompare; return getStartingFromElement() == that.getStartingFromElement() && getTotalListSize() == that.getTotalListSize() && Objects.equals(getAssets(), that.getAssets()); } }
AssetListResponse extends CommunityProfileOMASAPIResponse { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (objectToCompare == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } AssetListResponse that = (AssetListResponse) objectToCompare; return getStartingFromElement() == that.getStartingFromElement() && getTotalListSize() == that.getTotalListSize() && Objects.equals(getAssets(), that.getAssets()); } AssetListResponse();  AssetListResponse(AssetListResponse  template); }
AssetListResponse extends CommunityProfileOMASAPIResponse { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (objectToCompare == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } AssetListResponse that = (AssetListResponse) objectToCompare; return getStartingFromElement() == that.getStartingFromElement() && getTotalListSize() == that.getTotalListSize() && Objects.equals(getAssets(), that.getAssets()); } AssetListResponse();  AssetListResponse(AssetListResponse  template); List<AssetCollectionMember> getAssets(); void setAssets(List<AssetCollectionMember> assets); int getStartingFromElement(); void setStartingFromElement(int startingFromElement); int getTotalListSize(); void setTotalListSize(int totalListSize); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode(); }
AssetListResponse extends CommunityProfileOMASAPIResponse { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (objectToCompare == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } AssetListResponse that = (AssetListResponse) objectToCompare; return getStartingFromElement() == that.getStartingFromElement() && getTotalListSize() == that.getTotalListSize() && Objects.equals(getAssets(), that.getAssets()); } AssetListResponse();  AssetListResponse(AssetListResponse  template); List<AssetCollectionMember> getAssets(); void setAssets(List<AssetCollectionMember> assets); int getStartingFromElement(); void setStartingFromElement(int startingFromElement); int getTotalListSize(); void setTotalListSize(int totalListSize); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }