TwitterModelFactory Class

Definition

Model factory for creating instances of Twitter 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 TwitterModelFactory
type TwitterModelFactory = class
Public Class TwitterModelFactory
Inheritance
TwitterModelFactory

Methods

Name Description
OriginalTweetModel(String, String, String, Nullable<Int32>, String, List<String>, String, String, Nullable<Boolean>, List<OriginalTweetUserMentionsModel>, OriginalTweetUserDetailsModel)

Creates a new instance of OriginalTweetModel(String, String, String, Nullable<Int32>, String, List<String>, String, String, Nullable<Boolean>, List<OriginalTweetUserMentionsModel>, OriginalTweetUserDetailsModel).

OriginalTweetUserDetailsModel(String, String, Nullable<Int64>, String, Nullable<Int64>, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, String)

Creates a new instance of OriginalTweetUserDetailsModel(String, String, Nullable<Int64>, String, Nullable<Int64>, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, String).

OriginalTweetUserMentionsModel(Nullable<Int64>, String, String)

Creates a new instance of OriginalTweetUserMentionsModel(Nullable<Int64>, String, String).

TriggerBatchResponseTweetModel(List<TweetModel>)

Creates a new instance of TriggerBatchResponseTweetModel(List<TweetModel>).

TweetModel(String, String, String, Nullable<Int32>, String, List<String>, String, String, Nullable<Boolean>, List<UserMentionsModel>, OriginalTweetModel, UserDetailsModel)

Creates a new instance of TweetModel(String, String, String, Nullable<Int32>, String, List<String>, String, String, Nullable<Boolean>, List<UserMentionsModel>, OriginalTweetModel, UserDetailsModel).

TweetResponseModel(String)

Creates a new instance of TweetResponseModel(String).

UserDetailsModel(String, String, Nullable<Int64>, String, Nullable<Int64>, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, String)

Creates a new instance of UserDetailsModel(String, String, Nullable<Int64>, String, Nullable<Int64>, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, String).

UserMentionsModel(Nullable<Int64>, String, String)

Creates a new instance of UserMentionsModel(Nullable<Int64>, String, String).

Applies to