Class GetDeploymentsResponse

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

public class GetDeploymentsResponse extends Object
Represents the response from an API call that retrieves a list of deployments.

The GetDeploymentsResponse class contains the total count of deployments and a list of Deployment objects returned by the API.

  • Constructor Details

    • GetDeploymentsResponse

      public GetDeploymentsResponse()
  • Method Details

    • getCount

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

      public void setCount(int count)
      Sets the total count of deployments.
      Parameters:
      count - the total count of deployments as an int.
    • getDeployments

      public List<Deployment> getDeployments()
      Retrieves the list of deployments.
      Returns:
      a List of Deployment objects.
    • setResources

      public void setResources(List<Deployment> deployments)
      Sets the list of deployments.
      Parameters:
      deployments - a List of Deployment objects.