/// <summary>
 /// Creates a new group in the network
 /// </summary>
 /// <param name="instance">the instance</param>
 /// <param name="name">the desired name for the list</param>
 /// <param name="privacy">the desired privacy setting for the list</param>
 /// <returns></returns>
 public static IYammerGroupsCreate Create(this IYammerGroups instance, string name, YammerGroupPrivacy privacy)
 {
     instance.Root.Parameters.GroupName = name;
     instance.Root.Parameters.Private = privacy == YammerGroupPrivacy.Private;
     return new YammerGroupsCreate(instance.Root);
 }
 /// <summary>
 /// Sets the new privacy setting for the list
 /// </summary>
 /// <param name="instance">the instance</param>
 /// <param name="privacy">New desired privacy setting for the list</param>
 /// <returns></returns>
 public static IYammerGroupsUpdate SetPrivacy(this IYammerGroupsUpdate instance, YammerGroupPrivacy privacy)
 {
     instance.Root.Parameters.Private = privacy == YammerGroupPrivacy.Private;
     return instance;
 }