Package com.intercom.api.types
Class TagCompanyRequest.Builder
java.lang.Object
com.intercom.api.types.TagCompanyRequest.Builder
- All Implemented Interfaces:
TagCompanyRequest._FinalStage,TagCompanyRequest.NameStage
- Enclosing class:
TagCompanyRequest
public static final class TagCompanyRequest.Builder
extends Object
implements TagCompanyRequest.NameStage, TagCompanyRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllCompanies(List<TagCompanyRequest.CompaniesItem> companies) The id or company_id of the company can be passed as input parameters.addCompanies(TagCompanyRequest.CompaniesItem companies) The id or company_id of the company can be passed as input parameters.build()companies(List<TagCompanyRequest.CompaniesItem> companies) from(TagCompanyRequest other) The name of the tag, which will be created if not found.
-
Method Details
-
from
- Specified by:
fromin interfaceTagCompanyRequest.NameStage
-
name
The name of the tag, which will be created if not found.
- Specified by:
namein interfaceTagCompanyRequest.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllCompanies
public TagCompanyRequest._FinalStage addAllCompanies(List<TagCompanyRequest.CompaniesItem> companies) The id or company_id of the company can be passed as input parameters.
- Specified by:
addAllCompaniesin interfaceTagCompanyRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addCompanies
The id or company_id of the company can be passed as input parameters.
- Specified by:
addCompaniesin interfaceTagCompanyRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
companies
- Specified by:
companiesin interfaceTagCompanyRequest._FinalStage
-
build
- Specified by:
buildin interfaceTagCompanyRequest._FinalStage
-