forked from minio/minio-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement listObjectParts and abortMultipart
- Loading branch information
1 parent
22031c4
commit 3f5cf2f
Showing
6 changed files
with
245 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*~ | ||
*.class | ||
|
||
# Mobile Tools for Java (J2ME) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
src/main/java/io/minio/objectstorage/client/messages/Initiator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* Minimal Object Storage Library, (C) 2015 Minio, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package io.minio.objectstorage.client.messages; | ||
|
||
import com.google.api.client.util.Key; | ||
|
||
public class Initiator extends XmlEntity { | ||
@Key | ||
private String ID; | ||
@Key | ||
private String DisplayName; | ||
|
||
public Initiator() { | ||
super(); | ||
this.name = "Initiator"; | ||
} | ||
|
||
public String getID() { | ||
return ID; | ||
} | ||
|
||
public void setID(String ID) { | ||
this.ID = ID; | ||
} | ||
|
||
public String getDisplayName() { | ||
return DisplayName; | ||
} | ||
|
||
public void setDisplayName(String displayName) { | ||
DisplayName = displayName; | ||
} | ||
} |
122 changes: 122 additions & 0 deletions
122
src/main/java/io/minio/objectstorage/client/messages/ListPartsResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
/* | ||
* Minimal Object Storage Library, (C) 2015 Minio, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package io.minio.objectstorage.client.messages; | ||
|
||
import com.google.api.client.util.Key; | ||
|
||
import java.util.List; | ||
|
||
public class ListPartsResult extends XmlEntity { | ||
@Key("Bucket") | ||
private String Bucket; | ||
@Key("Key") | ||
private String Key; | ||
@Key("Initiator") | ||
private Initiator initiator; | ||
@Key("Owner") | ||
private Owner owner; | ||
@Key("StorageClass") | ||
private String storageClass; | ||
@Key("PartNumberMarker") | ||
private int PartNumberMarker; | ||
@Key("NextPartNumberMarker") | ||
private int NextPartNumberMarker; | ||
@Key("MaxParts") | ||
private int MaxParts; | ||
@Key("IsTruncated") | ||
private boolean IsTruncated; | ||
@Key("Part") | ||
private List<Part> Part; | ||
|
||
public ListPartsResult() { | ||
super(); | ||
this.name = "ListPartsResult"; | ||
} | ||
|
||
public String getBucket() { | ||
return Bucket; | ||
} | ||
|
||
public void setBucket(String bucket) { | ||
Bucket = bucket; | ||
} | ||
|
||
public String getKey() { | ||
return Key; | ||
} | ||
|
||
public void setKey(String key) { | ||
Key = key; | ||
} | ||
|
||
public String getStorageClass() { | ||
return storageClass; | ||
} | ||
|
||
public void setStorageClass(String storageClass) { | ||
this.storageClass = storageClass; | ||
} | ||
|
||
public Owner getOwner() { | ||
return owner; | ||
} | ||
|
||
public void setOwner(Owner owner) { | ||
this.owner = owner; | ||
} | ||
|
||
public int getMaxParts() { | ||
return MaxParts; | ||
} | ||
|
||
public void setMaxParts(int maxParts) { | ||
MaxParts = maxParts; | ||
} | ||
|
||
public boolean isTruncated() { | ||
return IsTruncated; | ||
} | ||
|
||
public void setIsTruncated(boolean isTruncated) { | ||
IsTruncated = isTruncated; | ||
} | ||
|
||
public int getPartNumberMarker() { | ||
return PartNumberMarker; | ||
} | ||
|
||
public void setPartNumberMarker(int partNumberMarker) { | ||
PartNumberMarker = partNumberMarker; | ||
} | ||
|
||
public int getNextPartNumberMarker() { | ||
return NextPartNumberMarker; | ||
} | ||
|
||
public void setNextPartNumberMarker(int nextPartNumberMarker) { | ||
NextPartNumberMarker = nextPartNumberMarker; | ||
} | ||
|
||
public List<Part> getParts() { | ||
return Part; | ||
} | ||
|
||
public void setParts(List<Part> parts) { | ||
Part = parts; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters