Package org.jclouds.abiquo.domain.enterprise.options

Examples of org.jclouds.abiquo.domain.enterprise.options.UserOptions


                  .build());

      EnterpriseDto enterprise = new EnterpriseDto();
      enterprise.addLink(new RESTLink("users", "http://localhost/api/admin/enterprises/1/users"));

      UserOptions options = UserOptions.builder().page(1).build();
      PaginatedCollection<UserDto, UsersDto> result = api.listUsers(enterprise, options);

      assertEquals(result.size(), 1);
      assertEquals(result.getTotalSize().intValue(), 3);
      assertEquals(result.get(0).getId().intValue(), 3);
View Full Code Here


                  .build());

      EnterpriseDto enterprise = new EnterpriseDto();
      enterprise.addLink(new RESTLink("users", "http://localhost/api/admin/enterprises/1/users"));

      UserOptions options = UserOptions.builder().page(1).build();
      PaginatedCollection<UserDto, UsersDto> result = api.listUsers(enterprise, options);

      assertEquals(result.size(), 1);
      assertEquals(result.getTotalSize().intValue(), 3);
      assertEquals(result.get(0).getId().intValue(), 3);
View Full Code Here

TOP

Related Classes of org.jclouds.abiquo.domain.enterprise.options.UserOptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.