* The optional protocol name. e.g. http,xauth,oauth2,ssh
*
* @return protocol
*
*/
@ApiModelProperty(value="The optional protocol name. e.g. http,xauth,oauth2,ssh")
publicStringgetProtocol(){
returnprotocol;
}
publicvoidsetProtocol(Stringprotocol){
this.protocol=protocol;
}
publicCredentialtokenType(StringtokenType){
this.tokenType=tokenType;
returnthis;
}
/**
* The required token type. default: password. e.g. basic_auth,X-Auth-Token,
* bearer, identifier
*
* @return tokenType
*
*/
@ApiModelProperty(value="The required token type. default: password. e.g. basic_auth,X-Auth-Token, bearer, identifier")
publicStringgetTokenType(){
returntokenType;
}
publicvoidsetTokenType(StringtokenType){
this.tokenType=tokenType;
}
publicCredentialtoken(Stringtoken){
this.token=token;
returnthis;
}
/**
* The required token used as a credential for authorization or access to a
* networked resource. e.g. mypassword, myusername:mypassword,
* 604bbe45ac7143a79e14f3158df67091, keypair_id
*
* @return token
*
*/
@ApiModelProperty(value="The required token used as a credential for authorization or access to a networked resource. e.g. mypassword, myusername:mypassword, 604bbe45ac7143a79e14f3158df67091, keypair_id")