public CustomField GetCustomField(TargetRef fieldRef)
        {
            if (fieldRef == null)
            {
                throw new ArgumentNullException("fieldRef");
            }

            var customField = _connection.Get<CustomField>(fieldRef.RestQuery);
            return customField;
        }
 public VersionBundle GetVersionBundle(TargetRef bundleRef)
 {
     var query = Uri.EscapeUriString(bundleRef.RestQuery);
     var bundles = _connection.Get<VersionBundle>(query);
     return bundles;
 }
 public void AddVersionToVersionBundle(TargetRef versionBundle, Version version)
 {
     var command = String.Format("{0}/{1}", versionBundle.RestQuery, version.Value);
     _connection.Put(command, version);
 }