Class MsTeamListChannelsResponse.MsTeamsChannel.Builder
-
- All Implemented Interfaces:
public final class MsTeamListChannelsResponse.MsTeamsChannel.BuilderA builder for MsTeamsChannel.
-
-
Method Summary
-
-
Method Detail
-
id
final MsTeamListChannelsResponse.MsTeamsChannel.Builder id(String id)
Microsoft Teams channel ID.
-
id
final MsTeamListChannelsResponse.MsTeamsChannel.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
displayName
final MsTeamListChannelsResponse.MsTeamsChannel.Builder displayName(String displayName)
Microsoft Teams channel name.
-
displayName
final MsTeamListChannelsResponse.MsTeamsChannel.Builder displayName(JsonField<String> displayName)
Sets Builder.displayName to an arbitrary JSON value.
You should usually call Builder.displayName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdDateTime
final MsTeamListChannelsResponse.MsTeamsChannel.Builder createdDateTime(String createdDateTime)
Microsoft Teams channel created date and time.
-
createdDateTime
final MsTeamListChannelsResponse.MsTeamsChannel.Builder createdDateTime(JsonField<String> createdDateTime)
Sets Builder.createdDateTime to an arbitrary JSON value.
You should usually call Builder.createdDateTime with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final MsTeamListChannelsResponse.MsTeamsChannel.Builder description(String description)
Microsoft Teams channel description.
-
description
final MsTeamListChannelsResponse.MsTeamsChannel.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final MsTeamListChannelsResponse.MsTeamsChannel.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isArchived
final MsTeamListChannelsResponse.MsTeamsChannel.Builder isArchived(Boolean isArchived)
Whether the Microsoft Teams channel is archived.
-
isArchived
final MsTeamListChannelsResponse.MsTeamsChannel.Builder isArchived(JsonField<Boolean> isArchived)
Sets Builder.isArchived to an arbitrary JSON value.
You should usually call Builder.isArchived with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
membershipType
final MsTeamListChannelsResponse.MsTeamsChannel.Builder membershipType(String membershipType)
Microsoft Teams channel membership type.
-
membershipType
final MsTeamListChannelsResponse.MsTeamsChannel.Builder membershipType(JsonField<String> membershipType)
Sets Builder.membershipType to an arbitrary JSON value.
You should usually call Builder.membershipType with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MsTeamListChannelsResponse.MsTeamsChannel.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MsTeamListChannelsResponse.MsTeamsChannel.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MsTeamListChannelsResponse.MsTeamsChannel.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MsTeamListChannelsResponse.MsTeamsChannel.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MsTeamListChannelsResponse.MsTeamsChannel.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MsTeamListChannelsResponse.MsTeamsChannel build()
Returns an immutable instance of MsTeamsChannel.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .displayName()
-
-
-
-