function getAttachmentsReturn = getAttachments(obj,in0,in1)
%getAttachments(obj,in0,in1)
%
%     Input:
%       in0 = (string)
%       in1 = (long)
%   
%     Output:
%       getAttachmentsReturn(:).comment = (string)
%       getAttachmentsReturn(:).contentType = (string)
%       getAttachmentsReturn(:).created = (dateTime)
%       getAttachmentsReturn(:).creator = (string)
%       getAttachmentsReturn(:).fileName = (string)
%       getAttachmentsReturn(:).fileSize = (long)
%       getAttachmentsReturn(:).id = (long)
%       getAttachmentsReturn(:).pageId = (long)
%       getAttachmentsReturn(:).title = (string)
%       getAttachmentsReturn(:).url = (string)

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

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