com.sinch.sdk.domains.conversation.models.v1.Reason Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sinch-sdk-java Show documentation
Show all versions of sinch-sdk-java Show documentation
SDK providing a Java API for the Sinch REST APIs.
/*
* Conversation API | Sinch
*
* OpenAPI document version: 1.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*/
package com.sinch.sdk.domains.conversation.models.v1;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
/** Reason */
@JsonDeserialize(builder = ReasonImpl.Builder.class)
public interface Reason {
/**
* Get code
*
* @return code
*/
ReasonCode getCode();
/**
* A textual description of the reason.
*
* @return description
*/
String getDescription();
/**
* Get subCode
*
* @return subCode
*/
ReasonSubCode getSubCode();
/**
* Getting builder
*
* @return New Builder instance
*/
static Builder builder() {
return new ReasonImpl.Builder();
}
/** Dedicated Builder */
interface Builder {
/**
* see getter
*
* @param code see getter
* @return Current builder
* @see #getCode
*/
Builder setCode(ReasonCode code);
/**
* see getter
*
* @param description see getter
* @return Current builder
* @see #getDescription
*/
Builder setDescription(String description);
/**
* see getter
*
* @param subCode see getter
* @return Current builder
* @see #getSubCode
*/
Builder setSubCode(ReasonSubCode subCode);
/**
* Create instance
*
* @return The instance build with current builder values
*/
Reason build();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy