Class GetResourceGroupsResponse

java.lang.Object
com.developer.nefarious.zjoule.plugin.login.api.GetResourceGroupsResponse

public class GetResourceGroupsResponse extends Object
Represents the response from an API call that retrieves a list of resource groups.

The GetResourceGroupsResponse class contains the total count of resource groups and a list of ResourceGroup objects returned by the API.

  • Constructor Details

    • GetResourceGroupsResponse

      public GetResourceGroupsResponse()
  • Method Details

    • getCount

      public int getCount()
      Retrieves the total count of resource groups.
      Returns:
      the total count of resource groups as an int.
    • setCount

      public void setCount(int count)
      Sets the total count of resource groups.
      Parameters:
      count - the total count of resource groups as an int.
    • getResourceGroups

      public List<ResourceGroup> getResourceGroups()
      Retrieves the list of resource groups.
      Returns:
      a List of ResourceGroup objects.
    • setResourceGroups

      public void setResourceGroups(List<ResourceGroup> resourceGroups)
      Sets the list of resource groups.
      Parameters:
      resourceGroups - a List of ResourceGroup objects.