@@ -33,27 +33,27 @@ public class GetUploadParamsResponse extends BaseResponse {
3333 @ Param (description = "the template/volume ID" )
3434 private UUID id ;
3535
36- @ SerializedName (ApiConstants .URL )
36+ @ SerializedName (ApiConstants .POST_URL )
3737 @ Param (description = "POST url to upload the file to" )
3838 private URL postURL ;
3939
4040 @ SerializedName (ApiConstants .METADATA )
4141 @ Param (description = "encrypted data to be sent in the POST request." )
4242 private String metadata ;
4343
44- @ SerializedName (ApiConstants .TIMEOUT )
44+ @ SerializedName (ApiConstants .EXPIRES )
4545 @ Param (description = "the timestamp after which the signature expires" )
46- private String timeout ;
46+ private String expires ;
4747
4848 @ SerializedName (ApiConstants .SIGNATURE )
4949 @ Param (description = "signature to be sent in the POST request." )
5050 private String signature ;
5151
52- public GetUploadParamsResponse (UUID id , URL postURL , String metadata , String timeout , String signature ) {
52+ public GetUploadParamsResponse (UUID id , URL postURL , String metadata , String expires , String signature ) {
5353 this .id = id ;
5454 this .postURL = postURL ;
5555 this .metadata = metadata ;
56- this .timeout = timeout ;
56+ this .expires = expires ;
5757 this .signature = signature ;
5858 setObjectName ("getuploadparams" );
5959 }
@@ -74,8 +74,8 @@ public void setMetadata(String metadata) {
7474 this .metadata = metadata ;
7575 }
7676
77- public void setTimeout (String timeout ) {
78- this .timeout = timeout ;
77+ public void setTimeout (String expires ) {
78+ this .expires = expires ;
7979 }
8080
8181 public void setSignature (String signature ) {
0 commit comments