MailChimpModelFactory Class

Definition

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

Methods

Name Description
ABSplitOpts(String, String, String, Nullable<Int32>, String, String, String, String, String, String, String, String, String)

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

AddUserResponseModel(String, String, String, String, String, FirstAndLastName, Stats, String, String, String, String, Nullable<Int32>, String, String, Nullable<Boolean>, String, Location, LastNote, String, List<Link>)

Creates a new instance of AddUserResponseModel(String, String, String, String, String, FirstAndLastName, Stats, String, String, String, String, Nullable<Int32>, String, String, Nullable<Boolean>, String, Location, LastNote, String, List<Link>).

CampaignDefaults(String, String, String, Nullable<Language>)

Creates a new instance of CampaignDefaults(String, String, String, Nullable<Language>).

CampaignResponseModel(String, Nullable<MailchimpType>, String, String, String, Nullable<Int32>, String, String, List<Recipient>, Settings, VariateSettings, Tracking, RSSOpts, ABSplitOpts, SocialCard, ReportSummary, DeliveryStatus, List<Link>)

Creates a new instance of CampaignResponseModel(String, Nullable<MailchimpType>, String, String, String, Nullable<Int32>, String, String, List<Recipient>, Settings, VariateSettings, Tracking, RSSOpts, ABSplitOpts, SocialCard, ReportSummary, DeliveryStatus, List<Link>).

Capsule(Nullable<Boolean>)

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

Contact(String, String, String, String, String, String, String, String)

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

CreateNewListResponseModel(String, String, Contact, String, Nullable<Boolean>, CampaignDefaults, String, String, String, Nullable<Int32>, Nullable<Boolean>, String, String, String, String, List<String>, Stats, List<Link>)

Creates a new instance of CreateNewListResponseModel(String, String, Contact, String, Nullable<Boolean>, CampaignDefaults, String, String, String, Nullable<Int32>, Nullable<Boolean>, String, String, String, String, List<String>, Stats, List<Link>).

DailySend(Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

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

DeliveryStatus(Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Int32>, Nullable<Int32>)

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

FirstAndLastName(String, String)

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

GetAddMembersBatchResponseModel(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

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

GetAllMembersResponseModel(List<MemberResponseModel>, String, Nullable<Int32>)

Creates a new instance of GetAllMembersResponseModel(List<MemberResponseModel>, String, Nullable<Int32>).

GetCampaignsResponse(List<CampaignResponseModel>)

Creates a new instance of GetCampaignsResponse(List<CampaignResponseModel>).

GetListsResponseModel(List<CreateNewListResponseModel>, Nullable<Int32>)

Creates a new instance of GetListsResponseModel(List<CreateNewListResponseModel>, Nullable<Int32>).

GetMembersResponseModel(List<AddUserResponseModel>, String, Nullable<Int32>)

Creates a new instance of GetMembersResponseModel(List<AddUserResponseModel>, String, Nullable<Int32>).

Highrise(Nullable<Boolean>, Nullable<Boolean>)

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

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

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

Link(String, String, String, String, String)

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

Location(Nullable<Single>, Nullable<Single>)

Creates a new instance of Location(Nullable<Single>, Nullable<Single>).

MemberResponseModel(String, String, String, String, String, FirstAndLastName, Stats, String, String, String, String, Nullable<Int32>, String, String, Nullable<Boolean>, String, Location, LastNote, String, List<Link>)

Creates a new instance of MemberResponseModel(String, String, String, String, String, FirstAndLastName, Stats, String, String, String, String, Nullable<Int32>, String, String, Nullable<Boolean>, String, Location, LastNote, String, List<Link>).

NewCampaignRequest(Nullable<MailchimpType>, Recipient, Settings, VariateSettings, Tracking, RSSOpts, SocialCard)

Creates a new instance of NewCampaignRequest(Nullable<MailchimpType>, Recipient, Settings, VariateSettings, Tracking, RSSOpts, SocialCard).

NewListRequest(String, Contact, String, Nullable<Boolean>, CampaignDefaults, String, String, Nullable<Boolean>, Nullable<Visibility>)

Creates a new instance of NewListRequest(String, Contact, String, Nullable<Boolean>, CampaignDefaults, String, String, Nullable<Boolean>, Nullable<Visibility>).

NewMemberInListRequest(Nullable<EmailType>, Nullable<Status>, FirstAndLastName, String, Nullable<Boolean>, Location, String)

Creates a new instance of NewMemberInListRequest(Nullable<EmailType>, Nullable<Status>, FirstAndLastName, String, Nullable<Boolean>, Location, String).

NewMembersInListRequest(List<NewMemberInListRequest>, Nullable<Boolean>)

Creates a new instance of NewMembersInListRequest(List<NewMemberInListRequest>, Nullable<Boolean>).

Recipient(String, SegmentOpts)

Creates a new instance of Recipient(String, SegmentOpts).

ReportSummary(Nullable<Int32>, Nullable<Int32>, Nullable<Single>, Nullable<Int32>, Nullable<Single>, Nullable<Single>)

Creates a new instance of ReportSummary(Nullable<Int32>, Nullable<Int32>, Nullable<Single>, Nullable<Int32>, Nullable<Single>, Nullable<Single>).

RSSOpts(String, Nullable<Frequency>, String, Schedule)

Creates a new instance of RSSOpts(String, Nullable<Frequency>, String, Schedule).

Salesforce(Nullable<Boolean>, Nullable<Boolean>)

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

Schedule(Nullable<Int32>, DailySend, Nullable<WeeklySendDay>, Nullable<Single>)

Creates a new instance of Schedule(Nullable<Int32>, DailySend, Nullable<WeeklySendDay>, Nullable<Single>).

SegmentOpts(Nullable<Int32>, String)

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

Settings(String, String, String, String, Nullable<Boolean>, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, List<Nullable<Int32>>, Nullable<Boolean>)

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

SocialCard(String, String, String)

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

Stats(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>, Nullable<Int32>, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>, String, String)

Creates a new instance of Stats(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>, Nullable<Int32>, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>, String, String).

Tracking(Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, Salesforce, Highrise, Capsule)

Creates a new instance of Tracking(Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, Salesforce, Highrise, Capsule).

UpdateMemberInListRequest(Nullable<EmailType>, Nullable<Status>, FirstAndLastName, String, Nullable<Boolean>, Location)

Creates a new instance of UpdateMemberInListRequest(Nullable<EmailType>, Nullable<Status>, FirstAndLastName, String, Nullable<Boolean>, Location).

VariateSettings(String, Nullable<Int32>, Nullable<Int32>, List<String>, List<String>, List<String>, List<String>)

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

Applies to