Skip to content

Commit

Permalink
Added missing 'isBase64Encoded' field to APIGatewayProxyResponseEvent…
Browse files Browse the repository at this point in the history
….java (#48)
  • Loading branch information
miere authored and bmoffatt committed Feb 21, 2019
1 parent 37e2af3 commit dff7334
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public class APIGatewayProxyResponseEvent implements Serializable, Cloneable {

private String body;

private Boolean isBase64Encoded;

/**
* default constructor
*/
Expand Down Expand Up @@ -90,6 +92,29 @@ public APIGatewayProxyResponseEvent withBody(String body) {
return this;
}

/**
* @return whether the body String is base64 encoded.
*/
public Boolean getIsBase64Encoded() {
return this.isBase64Encoded;
}

/**
* @param isBase64Encoded Whether the body String is base64 encoded
*/
public void setIsBase64Encoded(Boolean isBase64Encoded) {
this.isBase64Encoded = isBase64Encoded;
}

/**
* @param isBase64Encoded Whether the body String is base64 encoded
* @return APIGatewayProxyRequestEvent
*/
public APIGatewayProxyResponseEvent withIsBase64Encoded(Boolean isBase64Encoded) {
this.setIsBase64Encoded(isBase64Encoded);
return this;
}

/**
* Returns a string representation of this object; useful for testing and debugging.
*
Expand Down

0 comments on commit dff7334

Please sign in to comment.