Package com.microsoft.graph.models
Class TeamSendActivityNotificationParameterSet.TeamSendActivityNotificationParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.TeamSendActivityNotificationParameterSet.TeamSendActivityNotificationParameterSetBuilder
- Enclosing class:
- TeamSendActivityNotificationParameterSet
public static final class TeamSendActivityNotificationParameterSet.TeamSendActivityNotificationParameterSetBuilder
extends Object
Fluent builder for the TeamSendActivityNotificationParameterSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The activityType parameter valueprotected Long
The chainId parameter valueprotected ItemBody
The previewText parameter valueprotected TeamworkNotificationRecipient
The recipient parameter valueprotected List<KeyValuePair>
The templateParameters parameter valueprotected TeamworkActivityTopic
The topic parameter value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Instanciates a new TeamSendActivityNotificationParameterSetBuilder -
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 RecipientSets 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 -
templateParameters
The templateParameters parameter value -
recipient
The recipient parameter value
-
-
Constructor Details
-
TeamSendActivityNotificationParameterSetBuilder
@Nullable protected TeamSendActivityNotificationParameterSetBuilder()Instanciates a new TeamSendActivityNotificationParameterSetBuilder
-
-
Method Details
-
withTopic
@Nonnull public TeamSendActivityNotificationParameterSet.TeamSendActivityNotificationParameterSetBuilder withTopic(@Nullable TeamworkActivityTopic val) Sets the Topic- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withActivityType
@Nonnull public TeamSendActivityNotificationParameterSet.TeamSendActivityNotificationParameterSetBuilder withActivityType(@Nullable String val) Sets the ActivityType- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withChainId
@Nonnull public TeamSendActivityNotificationParameterSet.TeamSendActivityNotificationParameterSetBuilder withChainId(@Nullable Long val) Sets the ChainId- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withPreviewText
@Nonnull public TeamSendActivityNotificationParameterSet.TeamSendActivityNotificationParameterSetBuilder withPreviewText(@Nullable ItemBody val) Sets the PreviewText- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withTemplateParameters
@Nonnull public TeamSendActivityNotificationParameterSet.TeamSendActivityNotificationParameterSetBuilder withTemplateParameters(@Nullable List<KeyValuePair> val) Sets the TemplateParameters- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withRecipient
@Nonnull public TeamSendActivityNotificationParameterSet.TeamSendActivityNotificationParameterSetBuilder withRecipient(@Nullable TeamworkNotificationRecipient val) Sets the Recipient- 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
-