All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shiver.me.timbers.alexa.ask.SkillAuthenticationConfiguration Maven / Gradle / Ivy


package shiver.me.timbers.alexa.ask;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import shiver.me.timbers.aws.Property;


/**
 * SkillAuthenticationConfiguration
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "RefreshToken", "ClientSecret", "ClientId" }) public class SkillAuthenticationConfiguration implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-refreshtoken * */ @JsonProperty("RefreshToken") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-refreshtoken") private CharSequence refreshToken; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-clientsecret * */ @JsonProperty("ClientSecret") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-clientsecret") private CharSequence clientSecret; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-clientid * */ @JsonProperty("ClientId") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-clientid") private CharSequence clientId; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-refreshtoken * */ @JsonIgnore public CharSequence getRefreshToken() { return refreshToken; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-refreshtoken * */ @JsonIgnore public void setRefreshToken(CharSequence refreshToken) { this.refreshToken = refreshToken; } public SkillAuthenticationConfiguration withRefreshToken(CharSequence refreshToken) { this.refreshToken = refreshToken; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-clientsecret * */ @JsonIgnore public CharSequence getClientSecret() { return clientSecret; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-clientsecret * */ @JsonIgnore public void setClientSecret(CharSequence clientSecret) { this.clientSecret = clientSecret; } public SkillAuthenticationConfiguration withClientSecret(CharSequence clientSecret) { this.clientSecret = clientSecret; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-clientid * */ @JsonIgnore public CharSequence getClientId() { return clientId; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-clientid * */ @JsonIgnore public void setClientId(CharSequence clientId) { this.clientId = clientId; } public SkillAuthenticationConfiguration withClientId(CharSequence clientId) { this.clientId = clientId; return this; } @Override public String toString() { return new ToStringBuilder(this).append("refreshToken", refreshToken).append("clientSecret", clientSecret).append("clientId", clientId).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(clientSecret).append(clientId).append(refreshToken).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof SkillAuthenticationConfiguration) == false) { return false; } SkillAuthenticationConfiguration rhs = ((SkillAuthenticationConfiguration) other); return new EqualsBuilder().append(clientSecret, rhs.clientSecret).append(clientId, rhs.clientId).append(refreshToken, rhs.refreshToken).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy