function getSpaceGroupsReturn = getSpaceGroups(obj,in0)
%getSpaceGroups(obj,in0)
%
%     Input:
%       in0 = (string)
%   
%     Output:
%       getSpaceGroupsReturn(:).key = (string)
%       getSpaceGroupsReturn(:).licenseKey = (string)
%       getSpaceGroupsReturn(:).name = (string)

% Build up the argument lists.
values = { ...
   in0, ...
   };
names = { ...
   'in0', ...
   };
types = { ...
   '{http://www.w3.org/2001/XMLSchema}string', ...
   };

% Create the message, make the call, and convert the response into a variable.
soapMessage = createSoapMessage( ...
    'http://soap.rpc.confluence.atlassian.com', ...
    'getSpaceGroups', ...
    values,names,types,'rpc');
response = callSoapService( ...
    obj.endpoint, ...
    '', ...
    soapMessage);
getSpaceGroupsReturn = parseSoapResponse(response);
