trevorflanagan commented on this pull request.
> +import java.util.List;
+
+@RequestFilters({ BasicAuthentication.class, OrganisationIdFilter.class })
+@Consumes(MediaType.APPLICATION_JSON)
+@Path("/{jclouds.api-version}/tag")
+public interface TagApi {
+
+ @Named("tag:createTagKey")
+ @POST
+ @Path("/createTagKey")
+ @Produces(MediaType.APPLICATION_JSON)
+ @MapBinder(BindToJsonPayload.class)
+ @ResponseParser(TagKeyId.class)
+ String createTagKey(@PayloadParam("name") String name,
@PayloadParam("description") String description,
+ @PayloadParam("valueRequired") Boolean valueRequired,
+ @PayloadParam("displayOnReport") Boolean displayOnReport);
Thanks @nacx I verified with our API and these values are mandatory and
therefore primitive is correct approach here.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/425#discussion_r155542328