MNT-24637 Include aspectNames in TAS model.

This commit is contained in:
Tom Page
2024-10-04 15:45:54 +01:00
parent f193309e4c
commit 3b027c6c36

View File

@@ -36,22 +36,22 @@ public class RestPersonFavoritesModel extends TestModel implements IRestModel<Re
{ {
@JsonProperty(value = "entry") @JsonProperty(value = "entry")
RestPersonFavoritesModel model; RestPersonFavoritesModel model;
@Override @Override
public RestPersonFavoritesModel onModel() public RestPersonFavoritesModel onModel()
{ {
return model; return model;
} }
private String targetGuid; private String targetGuid;
private String createdAt; private String createdAt;
private List<String> aspectNames;
private List<String> allowableOperations; private List<String> allowableOperations;
private RestTargetModel target; private RestTargetModel target;
public RestPersonFavoritesModel() public RestPersonFavoritesModel()
{ {}
}
public RestPersonFavoritesModel(String targetGuid, String createdAt) public RestPersonFavoritesModel(String targetGuid, String createdAt)
{ {
@@ -69,7 +69,7 @@ public class RestPersonFavoritesModel extends TestModel implements IRestModel<Re
{ {
this.targetGuid = targetGuid; this.targetGuid = targetGuid;
} }
public RestTargetModel getTarget() public RestTargetModel getTarget()
{ {
return target; return target;
@@ -90,11 +90,23 @@ public class RestPersonFavoritesModel extends TestModel implements IRestModel<Re
this.createdAt = createdAt; this.createdAt = createdAt;
} }
public List<String> getAllowableOperations() { public List<String> getAspectNames()
{
return aspectNames;
}
public void setAspectNames(List<String> aspectNames)
{
this.aspectNames = aspectNames;
}
public List<String> getAllowableOperations()
{
return allowableOperations; return allowableOperations;
} }
public void setAllowableOperations(List<String> allowableOperations) { public void setAllowableOperations(List<String> allowableOperations)
{
this.allowableOperations = allowableOperations; this.allowableOperations = allowableOperations;
} }
} }