Package org.azd.common.types
Class LocationUrl
java.lang.Object
org.azd.abstractions.serializer.SerializableEntity
org.azd.common.types.LocationUrl
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Get the id of the resource area.Get the location url of the resource area.getName()
Get the name of the resource area.void
Set the id of resource areavoid
setLocationUrl
(String locationUrl) Sets the location url.void
Set the name of the resourceMethods inherited from class org.azd.abstractions.serializer.SerializableEntity
getResponse, toJsonTree, toString
-
Constructor Details
-
LocationUrl
public LocationUrl()
-
-
Method Details
-
getId
Get the id of the resource area.- Returns:
- id of the resource. eg., build area id - 5d6898bb-45ec-463f-95f9-54d49c71752e.
-
setId
Set the id of resource area- Parameters:
id
- of the resource
-
getName
Get the name of the resource area.- Returns:
- name of the resource. eg., build area name - build.
-
setName
Set the name of the resource- Parameters:
name
- name of the resource
-
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
Sets the location url. This shouldn't be used and is a place holder for json deserialization.- Parameters:
locationUrl
- resource area url
-