> + * @return list of members within cluster > + */ > + @Named("members:list") > + @SelectJson("members") > + @GET > + List<Member> list(); > + > + /** > + * @param member > + * non-existing member to add to cluster > + * @return newly created member or null if member previously existed > + */ > + @Named("members:add") > + @Fallback(NullOnAddExistingMemberAnd409.class) > + @POST > + Member add(@BinderParam(BindToJsonPayload.class) Member member);
@zack-shoylev thanks. As a result of your comments I've now made this PR just a little bit bigger by ensuring all non-user-facing value classes have private creation methods. Also separated out the CreateMember from the Member class. All mock/integration tests pass locally. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/196/files#r36545115