TeamsModelFactory Class

Definition

Model factory for creating instances of Teams models. Use these factory methods to construct model instances in tests and scenarios where output-only properties (with init-only setters) need to be populated.

public static class TeamsModelFactory
type TeamsModelFactory = class
Public Class TeamsModelFactory
Inheritance
TeamsModelFactory

Methods

Name Description
AddMemberToChannelInput(String, Nullable<Boolean>)

Creates a new instance of AddMemberToChannelInput(String, Nullable<Boolean>).

AddMemberToChatInput(String, Nullable<Boolean>, Nullable<DateTime>)

Creates a new instance of AddMemberToChatInput(String, Nullable<Boolean>, Nullable<DateTime>).

AddMemberToTagInput(String)

Creates a new instance of AddMemberToTagInput(String).

AddMemberToTagResponseSchema(String)

Creates a new instance of AddMemberToTagResponseSchema(String).

AddMemberToTeamInput(String, Nullable<Boolean>)

Creates a new instance of AddMemberToTeamInput(String, Nullable<Boolean>).

AddSectionItemInput(String)

Creates a new instance of AddSectionItemInput(String).

AiInsightCollectionResponse(String, List<AiInsightResponse>)

Creates a new instance of AiInsightCollectionResponse(String, List<AiInsightResponse>).

AiInsightResponse(String, String, String, Nullable<DateTime>, Nullable<DateTime>)

Creates a new instance of AiInsightResponse(String, String, String, Nullable<DateTime>, Nullable<DateTime>).

AssociatedTeamInfo(String, String, String)

Creates a new instance of AssociatedTeamInfo(String, String, String).

AtMentionTagResponse(String)

Creates a new instance of AtMentionTagResponse(String).

AtMentionUser(String)

Creates a new instance of AtMentionUser(String).

CallRecordingCollectionResponse(String, List<CallRecordingResponse>)

Creates a new instance of CallRecordingCollectionResponse(String, List<CallRecordingResponse>).

CallRecordingResponse(String, Nullable<DateTime>, String, String, String, String)

Creates a new instance of CallRecordingResponse(String, Nullable<DateTime>, String, String, String, String).

CallTranscriptCollectionResponse(String, List<CallTranscriptResponse>)

Creates a new instance of CallTranscriptCollectionResponse(String, List<CallTranscriptResponse>).

CallTranscriptResponse(String, Nullable<DateTime>, String, String, String, String)

Creates a new instance of CallTranscriptResponse(String, Nullable<DateTime>, String, String, String, String).

CardResponseTriggerMetadata(ObjectEntity, ObjectEntity)

Creates a new instance of CardResponseTriggerMetadata(ObjectEntity, ObjectEntity).

ChannelWithOwnerTeamId(String, String, String, String, String, String, String, Nullable<DateTime>, String, String)

Creates a new instance of ChannelWithOwnerTeamId(String, String, String, String, String, String, String, Nullable<DateTime>, String, String).

ChatMessage(List<Nullable<JsonElement>>, Nullable<JsonElement>, Nullable<DateTime>, Nullable<Boolean>, String, Nullable<JsonElement>, String, String, String, String, List<Nullable<JsonElement>>, String, List<Nullable<JsonElement>>, String, String, String)

Creates a new instance of ChatMessage(List<Nullable<JsonElement>>, Nullable<JsonElement>, Nullable<DateTime>, Nullable<Boolean>, String, Nullable<JsonElement>, String, String, String, String, List<Nullable<JsonElement>>, String, List<Nullable<JsonElement>>, String, String, String).

ComposeMessageTriggerMetadata(ObjectEntity, ObjectEntity)

Creates a new instance of ComposeMessageTriggerMetadata(ObjectEntity, ObjectEntity).

ConnectorMetadata(String, String, ObjectEntity)

Creates a new instance of ConnectorMetadata(String, String, ObjectEntity).

CreateATeamInput(String, String, Nullable<Visibility>)

Creates a new instance of CreateATeamInput(String, String, Nullable<Visibility>).

CreateATeamResponse(String)

Creates a new instance of CreateATeamResponse(String).

CreateChannelInput(String, String, String)

Creates a new instance of CreateChannelInput(String, String, String).

CreateChannelResponse(String, String, String, String)

Creates a new instance of CreateChannelResponse(String, String, String, String).

CreateSectionInput(String, Nullable<JsonElement>, Nullable<Boolean>, Nullable<SortType>)

Creates a new instance of CreateSectionInput(String, Nullable<JsonElement>, Nullable<Boolean>, Nullable<SortType>).

CreateTagInput(String, String)

Creates a new instance of CreateTagInput(String, String).

CreateTagResponseSchema(String, String, String, String, Nullable<Int32>)

Creates a new instance of CreateTagResponseSchema(String, String, String, String, Nullable<Int32>).

DiscoverySettings(Nullable<Boolean>)

Creates a new instance of DiscoverySettings(Nullable<Boolean>).

DynamicRecordingTriggerRequest(String)

Creates a new instance of DynamicRecordingTriggerRequest(String).

DynamicResponseSchema(ObjectEntity)

Creates a new instance of DynamicResponseSchema(ObjectEntity).

DynamicTranscriptTriggerRequest(String)

Creates a new instance of DynamicTranscriptTriggerRequest(String).

FunSettings(Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>)

Creates a new instance of FunSettings(Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>).

GetAllAssociatedTeamsResponse(String, List<AssociatedTeamInfo>)

Creates a new instance of GetAllAssociatedTeamsResponse(String, List<AssociatedTeamInfo>).

GetAllChannelsForTeamResponse(String, List<ChannelWithOwnerTeamId>)

Creates a new instance of GetAllChannelsForTeamResponse(String, List<ChannelWithOwnerTeamId>).

GetAllTeamsResponse(String, List<Nullable<JsonElement>>)

Creates a new instance of GetAllTeamsResponse(String, List<Nullable<JsonElement>>).

GetChannelResponse(String, String, String, String, String, String, String, Nullable<DateTime>, String)

Creates a new instance of GetChannelResponse(String, String, String, String, String, String, String, Nullable<DateTime>, String).

GetChannelsForGroupResponse(String, List<GetChannelResponse>)

Creates a new instance of GetChannelsForGroupResponse(String, List<GetChannelResponse>).

GetChatsResponse(String, List<Nullable<JsonElement>>)

Creates a new instance of GetChatsResponse(String, List<Nullable<JsonElement>>).

GetMessageDetailsSchema(ObjectEntity)

Creates a new instance of GetMessageDetailsSchema(ObjectEntity).

GetMessageLocationsResponse(List<Nullable<JsonElement>>)

Creates a new instance of GetMessageLocationsResponse(List<Nullable<JsonElement>>).

GetMessagesFromConversationResponse(String, Nullable<Int32>, String, List<ChatMessage>)

Creates a new instance of GetMessagesFromConversationResponse(String, Nullable<Int32>, String, List<ChatMessage>).

GetOnlineMeetingResponse(String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<JsonElement>, Nullable<JsonElement>, Nullable<JsonElement>, Nullable<Boolean>, String, Nullable<JsonElement>, Nullable<Boolean>, String, String)

Creates a new instance of GetOnlineMeetingResponse(String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<JsonElement>, Nullable<JsonElement>, Nullable<JsonElement>, Nullable<Boolean>, String, Nullable<JsonElement>, Nullable<Boolean>, String, String).

GetTagMembersResponseSchema(List<Nullable<JsonElement>>)

Creates a new instance of GetTagMembersResponseSchema(List<Nullable<JsonElement>>).

GetTagsResponseSchema(String, List<Nullable<JsonElement>>)

Creates a new instance of GetTagsResponseSchema(String, List<Nullable<JsonElement>>).

GetTeamResponse(String, String, String, String, String, Nullable<Boolean>, MemberSettings, GuestSettings, MessagingSettings, FunSettings, DiscoverySettings)

Creates a new instance of GetTeamResponse(String, String, String, String, String, Nullable<Boolean>, MemberSettings, GuestSettings, MessagingSettings, FunSettings, DiscoverySettings).

GuestSettings(Nullable<Boolean>, Nullable<Boolean>)

Creates a new instance of GuestSettings(Nullable<Boolean>, Nullable<Boolean>).

ListMembersResponseSchema(List<Nullable<JsonElement>>)

Creates a new instance of ListMembersResponseSchema(List<Nullable<JsonElement>>).

ListMembersSchema(ObjectEntity)

Creates a new instance of ListMembersSchema(ObjectEntity).

ListRepliesResponseSchema(List<Nullable<JsonElement>>)

Creates a new instance of ListRepliesResponseSchema(List<Nullable<JsonElement>>).

ListSectionItemsResponse(String, List<SectionItemResponse>)

Creates a new instance of ListSectionItemsResponse(String, List<SectionItemResponse>).

ListSectionsResponse(String, String, List<SectionResponse>)

Creates a new instance of ListSectionsResponse(String, String, List<SectionResponse>).

MemberSettings(Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

Creates a new instance of MemberSettings(Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>).

MessagingSettings(Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

Creates a new instance of MessagingSettings(Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>).

MoveSectionItemInput(String)

Creates a new instance of MoveSectionItemInput(String).

NewChat(String, String)

Creates a new instance of NewChat(String, String).

NewChatResponse(String)

Creates a new instance of NewChatResponse(String).

NewMeeting(String, Nullable<JsonElement>, String, Nullable<JsonElement>, Nullable<JsonElement>, String, String, Nullable<JsonElement>, Nullable<Importance>, Nullable<JsonElement>, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<ShowAs>, Nullable<Boolean>, Nullable<Boolean>, String)

Creates a new instance of NewMeeting(String, Nullable<JsonElement>, String, Nullable<JsonElement>, Nullable<JsonElement>, String, String, Nullable<JsonElement>, Nullable<Importance>, Nullable<JsonElement>, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<ShowAs>, Nullable<Boolean>, Nullable<Boolean>, String).

NewMeetingResponse(String, String, String, List<Nullable<JsonElement>>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, String, String, Nullable<Boolean>, Nullable<JsonElement>, Nullable<JsonElement>, Nullable<JsonElement>, Nullable<JsonElement>, Nullable<JsonElement>, Nullable<JsonElement>, List<Nullable<JsonElement>>, Nullable<JsonElement>, Nullable<JsonElement>)

Creates a new instance of NewMeetingResponse(String, String, String, List<Nullable<JsonElement>>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, String, String, Nullable<Boolean>, Nullable<JsonElement>, Nullable<JsonElement>, Nullable<JsonElement>, Nullable<JsonElement>, Nullable<JsonElement>, Nullable<JsonElement>, List<Nullable<JsonElement>>, Nullable<JsonElement>, Nullable<JsonElement>).

PostCardAndWaitForResponseInput(String, Nullable<JsonElement>)

Creates a new instance of PostCardAndWaitForResponseInput(String, Nullable<JsonElement>).

PostFeedSchema(ObjectEntity)

Creates a new instance of PostFeedSchema(ObjectEntity).

PostMessageToSelfRequest(Nullable<JsonElement>)

Creates a new instance of PostMessageToSelfRequest(Nullable<JsonElement>).

PostToConversationResponse(String, String, String)

Creates a new instance of PostToConversationResponse(String, String, String).

SectionItemResponse(String, String, Nullable<ItemType>, Nullable<DateTime>, Nullable<DateTime>)

Creates a new instance of SectionItemResponse(String, String, Nullable<ItemType>, Nullable<DateTime>, Nullable<DateTime>).

SectionResponse(String, String, String, Nullable<JsonElement>, Nullable<Boolean>, Nullable<SortType>, Nullable<SectionType>, Nullable<DateTime>, Nullable<DateTime>)

Creates a new instance of SectionResponse(String, String, String, Nullable<JsonElement>, Nullable<Boolean>, Nullable<SortType>, Nullable<SectionType>, Nullable<DateTime>, Nullable<DateTime>).

SelectedMessageTriggerMetadata(ObjectEntity, ObjectEntity)

Creates a new instance of SelectedMessageTriggerMetadata(ObjectEntity, ObjectEntity).

UnifiedActionSchema(ObjectEntity)

Creates a new instance of UnifiedActionSchema(ObjectEntity).

UpdateSectionInput(String, Nullable<JsonElement>, Nullable<Boolean>, Nullable<SortType>)

Creates a new instance of UpdateSectionInput(String, Nullable<JsonElement>, Nullable<Boolean>, Nullable<SortType>).

UpdateTagInput(String)

Creates a new instance of UpdateTagInput(String).

WebhookChatMessageTriggerInput(String)

Creates a new instance of WebhookChatMessageTriggerInput(String).

WebhookTriggerSchema(ObjectEntity)

Creates a new instance of WebhookTriggerSchema(ObjectEntity).

Applies to