Package com.microsoft.graph.models
Class ChatSendActivityNotificationParameterSet.ChatSendActivityNotificationParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.ChatSendActivityNotificationParameterSet.ChatSendActivityNotificationParameterSetBuilder
- Enclosing class:
- ChatSendActivityNotificationParameterSet
public static final class ChatSendActivityNotificationParameterSet.ChatSendActivityNotificationParameterSetBuilder
extends Object
Fluent builder for the ChatSendActivityNotificationParameterSet
-
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 ChatSendActivityNotificationParameterSetBuilder -
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
-
ChatSendActivityNotificationParameterSetBuilder
@Nullable protected ChatSendActivityNotificationParameterSetBuilder()Instanciates a new ChatSendActivityNotificationParameterSetBuilder
-
-
Method Details
-
withTopic
@Nonnull public ChatSendActivityNotificationParameterSet.ChatSendActivityNotificationParameterSetBuilder withTopic(@Nullable TeamworkActivityTopic val) Sets the Topic- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withActivityType
@Nonnull public ChatSendActivityNotificationParameterSet.ChatSendActivityNotificationParameterSetBuilder withActivityType(@Nullable String val) Sets the ActivityType- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withChainId
@Nonnull public ChatSendActivityNotificationParameterSet.ChatSendActivityNotificationParameterSetBuilder withChainId(@Nullable Long val) Sets the ChainId- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withPreviewText
@Nonnull public ChatSendActivityNotificationParameterSet.ChatSendActivityNotificationParameterSetBuilder withPreviewText(@Nullable ItemBody val) Sets the PreviewText- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withTemplateParameters
@Nonnull public ChatSendActivityNotificationParameterSet.ChatSendActivityNotificationParameterSetBuilder withTemplateParameters(@Nullable List<KeyValuePair> val) Sets the TemplateParameters- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withRecipient
@Nonnull public ChatSendActivityNotificationParameterSet.ChatSendActivityNotificationParameterSetBuilder 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
-