Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chimesdkmessaging Update models to latest #3261

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ CreateChannelModeratorResult createChannelModerator(
* @param deleteChannelRequest
* @throws BadRequestException
* @throws ForbiddenException
* @throws ConflictException
* @throws UnauthorizedClientException
* @throws ThrottledClientException
* @throws ServiceUnavailableException
Expand Down Expand Up @@ -686,6 +687,7 @@ void deleteChannelModerator(DeleteChannelModeratorRequest deleteChannelModerator
* </p>
*
* @param deleteMessagingStreamingConfigurationsRequest
* @throws BadRequestException
* @throws ForbiddenException
* @throws UnauthorizedClientException
* @throws ThrottledClientException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,7 @@ public CreateChannelModeratorResult createChannelModerator(
* @param deleteChannelRequest
* @throws BadRequestException
* @throws ForbiddenException
* @throws ConflictException
* @throws UnauthorizedClientException
* @throws ThrottledClientException
* @throws ServiceUnavailableException
Expand Down Expand Up @@ -1302,6 +1303,7 @@ public void deleteChannelModerator(DeleteChannelModeratorRequest deleteChannelMo
* </p>
*
* @param deleteMessagingStreamingConfigurationsRequest
* @throws BadRequestException
* @throws ForbiddenException
* @throws UnauthorizedClientException
* @throws ThrottledClientException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,6 @@ public class DeleteChannelRequest extends AmazonWebServiceRequest implements Ser
*/
private String chimeBearer;

/**
* <p>
* The ID of the SubChannel in the request.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
*/
private String subChannelId;

/**
* <p>
* The ARN of the channel being deleted.
Expand Down Expand Up @@ -203,63 +192,6 @@ public DeleteChannelRequest withChimeBearer(String chimeBearer) {
return this;
}

/**
* <p>
* The ID of the SubChannel in the request.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
*
* @return <p>
* The ID of the SubChannel in the request.
* </p>
*/
public String getSubChannelId() {
return subChannelId;
}

/**
* <p>
* The ID of the SubChannel in the request.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
*
* @param subChannelId <p>
* The ID of the SubChannel in the request.
* </p>
*/
public void setSubChannelId(String subChannelId) {
this.subChannelId = subChannelId;
}

/**
* <p>
* The ID of the SubChannel in the request.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
*
* @param subChannelId <p>
* The ID of the SubChannel in the request.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
*/
public DeleteChannelRequest withSubChannelId(String subChannelId) {
this.subChannelId = subChannelId;
return this;
}

/**
* Returns a string representation of this object; useful for testing and
* debugging.
Expand All @@ -274,9 +206,7 @@ public String toString() {
if (getChannelArn() != null)
sb.append("ChannelArn: " + getChannelArn() + ",");
if (getChimeBearer() != null)
sb.append("ChimeBearer: " + getChimeBearer() + ",");
if (getSubChannelId() != null)
sb.append("SubChannelId: " + getSubChannelId());
sb.append("ChimeBearer: " + getChimeBearer());
sb.append("}");
return sb.toString();
}
Expand All @@ -289,8 +219,6 @@ public int hashCode() {
hashCode = prime * hashCode + ((getChannelArn() == null) ? 0 : getChannelArn().hashCode());
hashCode = prime * hashCode
+ ((getChimeBearer() == null) ? 0 : getChimeBearer().hashCode());
hashCode = prime * hashCode
+ ((getSubChannelId() == null) ? 0 : getSubChannelId().hashCode());
return hashCode;
}

Expand All @@ -315,11 +243,6 @@ public boolean equals(Object obj) {
if (other.getChimeBearer() != null
&& other.getChimeBearer().equals(this.getChimeBearer()) == false)
return false;
if (other.getSubChannelId() == null ^ this.getSubChannelId() == null)
return false;
if (other.getSubChannelId() != null
&& other.getSubChannelId().equals(this.getSubChannelId()) == false)
return false;
return true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,6 @@ public class UpdateChannelReadMarkerRequest extends AmazonWebServiceRequest impl
*/
private String chimeBearer;

/**
* <p>
* The ID of the SubChannel in the request.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
*/
private String subChannelId;

/**
* <p>
* The ARN of the channel.
Expand Down Expand Up @@ -202,63 +191,6 @@ public UpdateChannelReadMarkerRequest withChimeBearer(String chimeBearer) {
return this;
}

/**
* <p>
* The ID of the SubChannel in the request.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
*
* @return <p>
* The ID of the SubChannel in the request.
* </p>
*/
public String getSubChannelId() {
return subChannelId;
}

/**
* <p>
* The ID of the SubChannel in the request.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
*
* @param subChannelId <p>
* The ID of the SubChannel in the request.
* </p>
*/
public void setSubChannelId(String subChannelId) {
this.subChannelId = subChannelId;
}

/**
* <p>
* The ID of the SubChannel in the request.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
*
* @param subChannelId <p>
* The ID of the SubChannel in the request.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
*/
public UpdateChannelReadMarkerRequest withSubChannelId(String subChannelId) {
this.subChannelId = subChannelId;
return this;
}

/**
* Returns a string representation of this object; useful for testing and
* debugging.
Expand All @@ -273,9 +205,7 @@ public String toString() {
if (getChannelArn() != null)
sb.append("ChannelArn: " + getChannelArn() + ",");
if (getChimeBearer() != null)
sb.append("ChimeBearer: " + getChimeBearer() + ",");
if (getSubChannelId() != null)
sb.append("SubChannelId: " + getSubChannelId());
sb.append("ChimeBearer: " + getChimeBearer());
sb.append("}");
return sb.toString();
}
Expand All @@ -288,8 +218,6 @@ public int hashCode() {
hashCode = prime * hashCode + ((getChannelArn() == null) ? 0 : getChannelArn().hashCode());
hashCode = prime * hashCode
+ ((getChimeBearer() == null) ? 0 : getChimeBearer().hashCode());
hashCode = prime * hashCode
+ ((getSubChannelId() == null) ? 0 : getSubChannelId().hashCode());
return hashCode;
}

Expand All @@ -314,11 +242,6 @@ public boolean equals(Object obj) {
if (other.getChimeBearer() != null
&& other.getChimeBearer().equals(this.getChimeBearer()) == false)
return false;
if (other.getSubChannelId() == null ^ this.getSubChannelId() == null)
return false;
if (other.getSubChannelId() != null
&& other.getSubChannelId().equals(this.getSubChannelId()) == false)
return false;
return true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,6 @@ public class UpdateChannelReadMarkerResult implements Serializable {
*/
private String channelArn;

/**
* <p>
* The ID of the SubChannel in the response.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
*/
private String subChannelId;

/**
* <p>
* The ARN of the channel.
Expand Down Expand Up @@ -105,63 +94,6 @@ public UpdateChannelReadMarkerResult withChannelArn(String channelArn) {
return this;
}

/**
* <p>
* The ID of the SubChannel in the response.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
*
* @return <p>
* The ID of the SubChannel in the response.
* </p>
*/
public String getSubChannelId() {
return subChannelId;
}

/**
* <p>
* The ID of the SubChannel in the response.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
*
* @param subChannelId <p>
* The ID of the SubChannel in the response.
* </p>
*/
public void setSubChannelId(String subChannelId) {
this.subChannelId = subChannelId;
}

/**
* <p>
* The ID of the SubChannel in the response.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
*
* @param subChannelId <p>
* The ID of the SubChannel in the response.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
*/
public UpdateChannelReadMarkerResult withSubChannelId(String subChannelId) {
this.subChannelId = subChannelId;
return this;
}

/**
* Returns a string representation of this object; useful for testing and
* debugging.
Expand All @@ -174,9 +106,7 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getChannelArn() != null)
sb.append("ChannelArn: " + getChannelArn() + ",");
if (getSubChannelId() != null)
sb.append("SubChannelId: " + getSubChannelId());
sb.append("ChannelArn: " + getChannelArn());
sb.append("}");
return sb.toString();
}
Expand All @@ -187,8 +117,6 @@ public int hashCode() {
int hashCode = 1;

hashCode = prime * hashCode + ((getChannelArn() == null) ? 0 : getChannelArn().hashCode());
hashCode = prime * hashCode
+ ((getSubChannelId() == null) ? 0 : getSubChannelId().hashCode());
return hashCode;
}

Expand All @@ -208,11 +136,6 @@ public boolean equals(Object obj) {
if (other.getChannelArn() != null
&& other.getChannelArn().equals(this.getChannelArn()) == false)
return false;
if (other.getSubChannelId() == null ^ this.getSubChannelId() == null)
return false;
if (other.getSubChannelId() != null
&& other.getSubChannelId().equals(this.getSubChannelId()) == false)
return false;
return true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ public Request<DeleteChannelRequest> marshall(DeleteChannelRequest deleteChannel
"{channelArn}",
(deleteChannelRequest.getChannelArn() == null) ? "" : StringUtils
.fromString(deleteChannelRequest.getChannelArn()));
if (deleteChannelRequest.getSubChannelId() != null) {
request.addParameter("sub-channel-id",
StringUtils.fromString(deleteChannelRequest.getSubChannelId()));
}
request.setResourcePath(uriResourcePath);
String encodedUriResourcePath = "/channels/{channelArn}";
encodedUriResourcePath = encodedUriResourcePath.replace(
Expand Down
Loading