Package com.microsoft.graph.models
Class TeamworkSendActivityNotificationToRecipientsParameterSet.TeamworkSendActivityNotificationToRecipientsParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.TeamworkSendActivityNotificationToRecipientsParameterSet.TeamworkSendActivityNotificationToRecipientsParameterSetBuilder
- Enclosing class:
TeamworkSendActivityNotificationToRecipientsParameterSet
public static final class TeamworkSendActivityNotificationToRecipientsParameterSet.TeamworkSendActivityNotificationToRecipientsParameterSetBuilder
extends Object
Fluent builder for the TeamworkSendActivityNotificationToRecipientsParameterSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe activityType parameter valueprotected LongThe chainId parameter valueprotected ItemBodyThe previewText parameter valueprotected List<TeamworkNotificationRecipient>The recipients parameter valueprotected StringThe teamsAppId parameter valueprotected List<KeyValuePair>The templateParameters parameter valueprotected TeamworkActivityTopicThe topic parameter value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanciates a new TeamworkSendActivityNotificationToRecipientsParameterSetBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()Buils the resulting body object to be passed to the requestwithActivityType(String val) Sets the ActivityTypewithChainId(Long val) Sets the ChainIdwithPreviewText(ItemBody val) Sets the PreviewTextSets the RecipientswithTeamsAppId(String val) Sets the TeamsAppIdSets the TemplateParametersSets the Topic
-
Field Details
-
topic
The topic parameter value -
activityType
The activityType parameter value -
chainId
The chainId parameter value -
previewText
The previewText parameter value -
teamsAppId
The teamsAppId parameter value -
templateParameters
The templateParameters parameter value -
recipients
The recipients parameter value
-
-
Constructor Details
-
TeamworkSendActivityNotificationToRecipientsParameterSetBuilder
@Nullable protected TeamworkSendActivityNotificationToRecipientsParameterSetBuilder()Instanciates a new TeamworkSendActivityNotificationToRecipientsParameterSetBuilder
-
-
Method Details
-
withTopic
@Nonnull public TeamworkSendActivityNotificationToRecipientsParameterSet.TeamworkSendActivityNotificationToRecipientsParameterSetBuilder withTopic(@Nullable TeamworkActivityTopic val) Sets the Topic- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withActivityType
@Nonnull public TeamworkSendActivityNotificationToRecipientsParameterSet.TeamworkSendActivityNotificationToRecipientsParameterSetBuilder withActivityType(@Nullable String val) Sets the ActivityType- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withChainId
@Nonnull public TeamworkSendActivityNotificationToRecipientsParameterSet.TeamworkSendActivityNotificationToRecipientsParameterSetBuilder withChainId(@Nullable Long val) Sets the ChainId- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withPreviewText
@Nonnull public TeamworkSendActivityNotificationToRecipientsParameterSet.TeamworkSendActivityNotificationToRecipientsParameterSetBuilder withPreviewText(@Nullable ItemBody val) Sets the PreviewText- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withTeamsAppId
@Nonnull public TeamworkSendActivityNotificationToRecipientsParameterSet.TeamworkSendActivityNotificationToRecipientsParameterSetBuilder withTeamsAppId(@Nullable String val) Sets the TeamsAppId- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withTemplateParameters
@Nonnull public TeamworkSendActivityNotificationToRecipientsParameterSet.TeamworkSendActivityNotificationToRecipientsParameterSetBuilder withTemplateParameters(@Nullable List<KeyValuePair> val) Sets the TemplateParameters- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withRecipients
@Nonnull public TeamworkSendActivityNotificationToRecipientsParameterSet.TeamworkSendActivityNotificationToRecipientsParameterSetBuilder withRecipients(@Nullable List<TeamworkNotificationRecipient> val) Sets the Recipients- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
build
Buils the resulting body object to be passed to the request- Returns:
- the body object to pass to the request
-