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 java.lang.Object implements TagCompanyRequest.NameStage, TagCompanyRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagCompanyRequest._FinalStageaddAllCompanies(java.util.List<TagCompanyRequest.CompaniesItem> companies)The id or company_id of the company can be passed as input parameters.TagCompanyRequest._FinalStageaddCompanies(TagCompanyRequest.CompaniesItem companies)The id or company_id of the company can be passed as input parameters.TagCompanyRequestbuild()TagCompanyRequest._FinalStagecompanies(java.util.List<TagCompanyRequest.CompaniesItem> companies)The id or company_id of the company can be passed as input parameters.TagCompanyRequest.Builderfrom(TagCompanyRequest other)TagCompanyRequest._FinalStagename(java.lang.String name)The name of the tag, which will be created if not found.
-
-
-
Method Detail
-
from
public TagCompanyRequest.Builder from(TagCompanyRequest other)
- Specified by:
fromin interfaceTagCompanyRequest.NameStage
-
name
public TagCompanyRequest._FinalStage name(@NotNull java.lang.String name)
The name of the tag, which will be created if not found.
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(java.util.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
public TagCompanyRequest._FinalStage addCompanies(TagCompanyRequest.CompaniesItem companies)
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
public TagCompanyRequest._FinalStage companies(java.util.List<TagCompanyRequest.CompaniesItem> companies)
The id or company_id of the company can be passed as input parameters.
- Specified by:
companiesin interfaceTagCompanyRequest._FinalStage
-
build
public TagCompanyRequest build()
- Specified by:
buildin interfaceTagCompanyRequest._FinalStage
-
-