Class LocationUrl


public class LocationUrl extends SerializableEntity
Response class for getting the resource area url.

This class is used as a placeholder to deserialize the json response from REST API and to get the organization resource are url.

  • Constructor Details

    • LocationUrl

      public LocationUrl()
  • Method Details

    • getId

      public String getId()
      Get the id of the resource area.
      Returns:
      id of the resource. eg., build area id - 5d6898bb-45ec-463f-95f9-54d49c71752e.
    • setId

      public void setId(String id)
      Set the id of resource area
      Parameters:
      id - of the resource
    • getName

      public String getName()
      Get the name of the resource area.
      Returns:
      name of the resource. eg., build area name - build.
    • setName

      public void setName(String name)
      Set the name of the resource
      Parameters:
      name - name of the resource
    • getLocationUrl

      public String getLocationUrl()
      Get the location url of the resource area.
      Returns:
      url of the resource. eg., feeds area url - https://feeds.dev.azure.com/{organization}
    • setLocationUrl

      public void setLocationUrl(String locationUrl)
      Sets the location url. This shouldn't be used and is a place holder for json deserialization.
      Parameters:
      locationUrl - resource area url