-
Notifications
You must be signed in to change notification settings - Fork 549
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(aws-android-sdk-connect): update models to latest (#3011)
- Loading branch information
1 parent
a1781bd
commit c92c996
Showing
235 changed files
with
28,297 additions
and
1,547 deletions.
There are no files selected for viewing
422 changes: 362 additions & 60 deletions
422
aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnect.java
Large diffs are not rendered by default.
Oops, something went wrong.
918 changes: 792 additions & 126 deletions
918
aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectAsync.java
Large diffs are not rendered by default.
Oops, something went wrong.
1,112 changes: 971 additions & 141 deletions
1,112
...id-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectAsyncClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
695 changes: 635 additions & 60 deletions
695
...android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
710 changes: 710 additions & 0 deletions
710
...sdk-connect/src/main/java/com/amazonaws/services/connect/model/AgentContactReference.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
183 changes: 183 additions & 0 deletions
183
...-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AgentStatusReference.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,183 @@ | ||
/* | ||
* Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file 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 com.amazonaws.services.connect.model; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* <p> | ||
* Information about the agent's status. | ||
* </p> | ||
*/ | ||
public class AgentStatusReference implements Serializable { | ||
/** | ||
* <p> | ||
* The start timestamp of the agent's status. | ||
* </p> | ||
*/ | ||
private java.util.Date statusStartTimestamp; | ||
|
||
/** | ||
* <p> | ||
* The Amazon Resource Name (ARN) of the agent's status. | ||
* </p> | ||
*/ | ||
private String statusArn; | ||
|
||
/** | ||
* <p> | ||
* The start timestamp of the agent's status. | ||
* </p> | ||
* | ||
* @return <p> | ||
* The start timestamp of the agent's status. | ||
* </p> | ||
*/ | ||
public java.util.Date getStatusStartTimestamp() { | ||
return statusStartTimestamp; | ||
} | ||
|
||
/** | ||
* <p> | ||
* The start timestamp of the agent's status. | ||
* </p> | ||
* | ||
* @param statusStartTimestamp <p> | ||
* The start timestamp of the agent's status. | ||
* </p> | ||
*/ | ||
public void setStatusStartTimestamp(java.util.Date statusStartTimestamp) { | ||
this.statusStartTimestamp = statusStartTimestamp; | ||
} | ||
|
||
/** | ||
* <p> | ||
* The start timestamp of the agent's status. | ||
* </p> | ||
* <p> | ||
* Returns a reference to this object so that method calls can be chained | ||
* together. | ||
* | ||
* @param statusStartTimestamp <p> | ||
* The start timestamp of the agent's status. | ||
* </p> | ||
* @return A reference to this updated object so that method calls can be | ||
* chained together. | ||
*/ | ||
public AgentStatusReference withStatusStartTimestamp(java.util.Date statusStartTimestamp) { | ||
this.statusStartTimestamp = statusStartTimestamp; | ||
return this; | ||
} | ||
|
||
/** | ||
* <p> | ||
* The Amazon Resource Name (ARN) of the agent's status. | ||
* </p> | ||
* | ||
* @return <p> | ||
* The Amazon Resource Name (ARN) of the agent's status. | ||
* </p> | ||
*/ | ||
public String getStatusArn() { | ||
return statusArn; | ||
} | ||
|
||
/** | ||
* <p> | ||
* The Amazon Resource Name (ARN) of the agent's status. | ||
* </p> | ||
* | ||
* @param statusArn <p> | ||
* The Amazon Resource Name (ARN) of the agent's status. | ||
* </p> | ||
*/ | ||
public void setStatusArn(String statusArn) { | ||
this.statusArn = statusArn; | ||
} | ||
|
||
/** | ||
* <p> | ||
* The Amazon Resource Name (ARN) of the agent's status. | ||
* </p> | ||
* <p> | ||
* Returns a reference to this object so that method calls can be chained | ||
* together. | ||
* | ||
* @param statusArn <p> | ||
* The Amazon Resource Name (ARN) of the agent's status. | ||
* </p> | ||
* @return A reference to this updated object so that method calls can be | ||
* chained together. | ||
*/ | ||
public AgentStatusReference withStatusArn(String statusArn) { | ||
this.statusArn = statusArn; | ||
return this; | ||
} | ||
|
||
/** | ||
* Returns a string representation of this object; useful for testing and | ||
* debugging. | ||
* | ||
* @return A string representation of this object. | ||
* @see java.lang.Object#toString() | ||
*/ | ||
@Override | ||
public String toString() { | ||
StringBuilder sb = new StringBuilder(); | ||
sb.append("{"); | ||
if (getStatusStartTimestamp() != null) | ||
sb.append("StatusStartTimestamp: " + getStatusStartTimestamp() + ","); | ||
if (getStatusArn() != null) | ||
sb.append("StatusArn: " + getStatusArn()); | ||
sb.append("}"); | ||
return sb.toString(); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
final int prime = 31; | ||
int hashCode = 1; | ||
|
||
hashCode = prime * hashCode | ||
+ ((getStatusStartTimestamp() == null) ? 0 : getStatusStartTimestamp().hashCode()); | ||
hashCode = prime * hashCode + ((getStatusArn() == null) ? 0 : getStatusArn().hashCode()); | ||
return hashCode; | ||
} | ||
|
||
@Override | ||
public boolean equals(Object obj) { | ||
if (this == obj) | ||
return true; | ||
if (obj == null) | ||
return false; | ||
|
||
if (obj instanceof AgentStatusReference == false) | ||
return false; | ||
AgentStatusReference other = (AgentStatusReference) obj; | ||
|
||
if (other.getStatusStartTimestamp() == null ^ this.getStatusStartTimestamp() == null) | ||
return false; | ||
if (other.getStatusStartTimestamp() != null | ||
&& other.getStatusStartTimestamp().equals(this.getStatusStartTimestamp()) == false) | ||
return false; | ||
if (other.getStatusArn() == null ^ this.getStatusArn() == null) | ||
return false; | ||
if (other.getStatusArn() != null | ||
&& other.getStatusArn().equals(this.getStatusArn()) == false) | ||
return false; | ||
return true; | ||
} | ||
} |
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
Oops, something went wrong.