public static UplinkError uplink_revoke_access(UplinkProject project, UplinkAccess access) { global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_revoke_access(UplinkProject.getCPtr(project), UplinkAccess.getCPtr(access)); UplinkError ret = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkError(cPtr, false); return(ret); }
public static UplinkObjectIterator uplink_list_objects(UplinkProject project, string bucket_name, UplinkListObjectsOptions options) { global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_list_objects(UplinkProject.getCPtr(project), new storj_uplinkPINVOKE.SWIGStringMarshal(bucket_name).swigCPtr, UplinkListObjectsOptions.getCPtr(options)); UplinkObjectIterator ret = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkObjectIterator(cPtr, false); return(ret); }
public static UplinkError uplink_close_project(UplinkProject project) { global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_close_project(UplinkProject.getCPtr(project)); UplinkError ret = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkError(cPtr, false); return(ret); }
public static UplinkUploadIterator uplink_list_uploads(UplinkProject project, string bucket_name, UplinkListUploadsOptions options) { global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_list_uploads(UplinkProject.getCPtr(project), bucket_name, UplinkListUploadsOptions.getCPtr(options)); UplinkUploadIterator ret = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkUploadIterator(cPtr, false); return(ret); }
public static UplinkBucketIterator uplink_list_buckets(UplinkProject project, UplinkListBucketsOptions options) { global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_list_buckets(UplinkProject.getCPtr(project), UplinkListBucketsOptions.getCPtr(options)); UplinkBucketIterator ret = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkBucketIterator(cPtr, false); return(ret); }
public static UplinkError uplink_move_object(UplinkProject project, string old_bucket_name, string old_object_key, string new_bucket_name, string new_object_key, UplinkMoveObjectOptions options) { global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_move_object(UplinkProject.getCPtr(project), new storj_uplinkPINVOKE.SWIGStringMarshal(old_bucket_name).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(old_object_key).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(new_bucket_name).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(new_object_key).swigCPtr, UplinkMoveObjectOptions.getCPtr(options)); UplinkError ret = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkError(cPtr, false); return(ret); }
public static UplinkError uplink_abort_upload(UplinkProject project, string bucket_name, string object_key, string upload_id) { global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_abort_upload(UplinkProject.getCPtr(project), new storj_uplinkPINVOKE.SWIGStringMarshal(bucket_name).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(object_key).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(upload_id).swigCPtr); UplinkError ret = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkError(cPtr, false); return(ret); }
public static UplinkError uplink_update_object_metadata(UplinkProject project, string bucket_name, string object_key, UplinkCustomMetadata new_metadata, UplinkUploadObjectMetadataOptions options) { global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_update_object_metadata(UplinkProject.getCPtr(project), new storj_uplinkPINVOKE.SWIGStringMarshal(bucket_name).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(object_key).swigCPtr, UplinkCustomMetadata.getCPtr(new_metadata), UplinkUploadObjectMetadataOptions.getCPtr(options)); UplinkError ret = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkError(cPtr, false); if (storj_uplinkPINVOKE.SWIGPendingException.Pending) { throw storj_uplinkPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static UplinkObjectResult uplink_stat_object(UplinkProject project, string bucket_name, string object_key) { UplinkObjectResult ret = new UplinkObjectResult(storj_uplinkPINVOKE.uplink_stat_object(UplinkProject.getCPtr(project), new storj_uplinkPINVOKE.SWIGStringMarshal(bucket_name).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(object_key).swigCPtr), true); return(ret); }
public static UplinkPartUploadResult uplink_upload_part(UplinkProject project, string bucket_name, string object_key, string upload_id, uint part_number) { UplinkPartUploadResult ret = new UplinkPartUploadResult(storj_uplinkPINVOKE.uplink_upload_part(UplinkProject.getCPtr(project), new storj_uplinkPINVOKE.SWIGStringMarshal(bucket_name).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(object_key).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(upload_id).swigCPtr, part_number), true); return(ret); }
public static UplinkError uplink_update_object_metadata2(UplinkProject project, string bucket_name, string object_key, UplinkUploadObjectMetadataOptions options) { global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_update_object_metadata2(UplinkProject.getCPtr(project), new storj_uplinkPINVOKE.SWIGStringMarshal(bucket_name).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(object_key).swigCPtr, UplinkUploadObjectMetadataOptions.getCPtr(options)); UplinkError ret = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkError(cPtr, false); return(ret); }
public static UplinkCommitUploadResult uplink_commit_upload2(UplinkProject project, string bucket_name, string object_key, string upload_id) { UplinkCommitUploadResult ret = new UplinkCommitUploadResult(storj_uplinkPINVOKE.uplink_commit_upload2(UplinkProject.getCPtr(project), new storj_uplinkPINVOKE.SWIGStringMarshal(bucket_name).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(object_key).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(upload_id).swigCPtr), true); return(ret); }
public static UplinkBucketResult uplink_delete_bucket(UplinkProject project, string bucket_name) { UplinkBucketResult ret = new UplinkBucketResult(storj_uplinkPINVOKE.uplink_delete_bucket(UplinkProject.getCPtr(project), bucket_name), true); return(ret); }
public static UplinkUploadResult uplink_upload_object(UplinkProject project, string bucket_name, string object_key, UplinkUploadOptions options) { UplinkUploadResult ret = new UplinkUploadResult(storj_uplinkPINVOKE.uplink_upload_object(UplinkProject.getCPtr(project), bucket_name, object_key, UplinkUploadOptions.getCPtr(options)), true); return(ret); }
public static UplinkObjectResult uplink_delete_object(UplinkProject project, string bucket_name, string object_key) { UplinkObjectResult ret = new UplinkObjectResult(storj_uplinkPINVOKE.uplink_delete_object(UplinkProject.getCPtr(project), bucket_name, object_key), true); return(ret); }
public static UplinkUploadResult uplink_upload_object(UplinkProject project, string bucket_name, string object_key, UplinkUploadOptions options) { UplinkUploadResult ret = new UplinkUploadResult(storj_uplinkPINVOKE.uplink_upload_object(UplinkProject.getCPtr(project), new storj_uplinkPINVOKE.SWIGStringMarshal(bucket_name).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(object_key).swigCPtr, UplinkUploadOptions.getCPtr(options)), true); return(ret); }
public static UplinkBucketResult uplink_delete_bucket(UplinkProject project, string bucket_name) { UplinkBucketResult ret = new UplinkBucketResult(storj_uplinkPINVOKE.uplink_delete_bucket(UplinkProject.getCPtr(project), new storj_uplinkPINVOKE.SWIGStringMarshal(bucket_name).swigCPtr), true); return(ret); }
public static UplinkPartUploadResult uplink_upload_part(UplinkProject project, string bucket_name, string object_key, string upload_id, uint part_number) { UplinkPartUploadResult ret = new UplinkPartUploadResult(storj_uplinkPINVOKE.uplink_upload_part(UplinkProject.getCPtr(project), bucket_name, object_key, upload_id, part_number), true); return(ret); }