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