function setContentPermissionsReturn = setContentPermissions(obj,in0,in1,in2,in3)
%setContentPermissions(obj,in0,in1,in2,in3)
%
%     Input:
%       in0 = (string)
%       in1 = (long)
%       in2 = (string)
%       in3(:).groupName = (string)
%       in3(:).type = (string)
%       in3(:).userName = (string)
%   
%     Output:
%       setContentPermissionsReturn = (boolean)

% Build up the argument lists.
values = { ...
   in0, ...
   in1, ...
   in2, ...
   in3, ...
   };
names = { ...
   'in0', ...
   'in1', ...
   'in2', ...
   'in3', ...
   };
types = { ...
   '{http://www.w3.org/2001/XMLSchema}string', ...
   'long', ...
   '{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', ...
    'setContentPermissions', ...
    values,names,types,'rpc');
response = callSoapService( ...
    obj.endpoint, ...
    '', ...
    soapMessage);
setContentPermissionsReturn = parseSoapResponse(response);
