title: How to use documentation of azure DevOps python API, I am trying to get what members an object has when API call is made?
body: <p>I'm using the python API for Azure DevOps, I am trying to get a list of repo and branches each repo has. I don't know what members an object has when the API call returns the object. I am not sure if the <a href="https://github.com/Microsoft/azure-devops-python-api" rel="nofollow noreferrer">documentation</a> is complete, How to know what members an object has? </p>
  
  <p>like for an object of "repo", I guessed the "name" property</p>
  
  <pre><code>from azure.devops.connection import Connection
  from msrest.authentication import BasicAuthentication
  import pprint
  
  # Fill in with your personal access token and org URL
  personal_access_token = 'YOURPAT'
  organization_url = 'https://dev.azure.com/YOURORG'
  project_name = "XYZ"
  
  # Create a connection to the org
  credentials = BasicAuthentication('', personal_access_token)
  connection = Connection(base_url=organization_url, creds=credentials)
  
  # Get a client (the "core" client provides access to projects, teams, etc)
  git_client = connection.clients.get_git_client
  
  # Get the first page of projects
  get_repos_response = git_client.get_repositories(project_name)
  
  index = 0
  for repo in get_repos_response:
    pprint.pprint(str(index) + "." + repo.name)
    index += 1
  </code></pre>
  
  <p>In the above code, I just guessed the name property of a repo. I want to know what branches each of these repos have.</p>
  
  <p>TIA</p>