Class GetResourceGroupsResponse
java.lang.Object
com.developer.nefarious.zjoule.plugin.login.api.GetResourceGroupsResponse
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getCount()
Retrieves the total count of resource groups.Retrieves the list of resource groups.void
setCount
(int count) Sets the total count of resource groups.void
setResourceGroups
(List<ResourceGroup> resourceGroups) Sets the list of resource groups.
-
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 anint
.
-
getResourceGroups
Retrieves the list of resource groups.- Returns:
- a
List
ofResourceGroup
objects.
-
setResourceGroups
Sets the list of resource groups.- Parameters:
resourceGroups
- aList
ofResourceGroup
objects.
-