Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InlineResponse200" /> class.
 /// </summary>
 /// <param name="Response">Response.</param>
 /// <param name="ErrorCode">ErrorCode.</param>
 /// <param name="ThrottleSeconds">ThrottleSeconds.</param>
 /// <param name="ErrorStatus">ErrorStatus.</param>
 /// <param name="Message">Message.</param>
 /// <param name="MessageData">MessageData.</param>
 public InlineResponse200(UserGeneralUser Response = default(UserGeneralUser), ExceptionsPlatformErrorCodes ErrorCode = default(ExceptionsPlatformErrorCodes), int?ThrottleSeconds = default(int?), string ErrorStatus = default(string), string Message = default(string), Dictionary <string, string> MessageData = default(Dictionary <string, string>))
 {
     this.Response        = Response;
     this.ErrorCode       = ErrorCode;
     this.ThrottleSeconds = ThrottleSeconds;
     this.ErrorStatus     = ErrorStatus;
     this.Message         = Message;
     this.MessageData     = MessageData;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ContentContentItemPublicContract" /> class.
 /// </summary>
 /// <param name="ContentId">ContentId.</param>
 /// <param name="CType">CType.</param>
 /// <param name="CmsPath">CmsPath.</param>
 /// <param name="CreationDate">CreationDate.</param>
 /// <param name="ModifyDate">ModifyDate.</param>
 /// <param name="AllowComments">AllowComments.</param>
 /// <param name="HasAgeGate">HasAgeGate.</param>
 /// <param name="MinimumAge">MinimumAge.</param>
 /// <param name="RatingImagePath">RatingImagePath.</param>
 /// <param name="Author">Author.</param>
 /// <param name="AutoEnglishPropertyFallback">AutoEnglishPropertyFallback.</param>
 /// <param name="Properties">Firehose content is really a collection of metadata and \&quot;properties\&quot;, which are the potentially-but-not-strictly localizable data that comprises the meat of whatever content is being shown.  As Cole Porter would have crooned, \&quot;Anything Goes\&quot; with Firehose properties. They are most often strings, but they can theoretically be anything. They are JSON encoded, and could be JSON structures, simple strings, numbers etc... The Content Type of the item (cType) will describe the properties, and thus how they ought to be deserialized..</param>
 /// <param name="Representations">Representations.</param>
 /// <param name="Tags">Tags.</param>
 /// <param name="CommentSummary">CommentSummary.</param>
 public ContentContentItemPublicContract(long?ContentId = default(long?), string CType = default(string), string CmsPath = default(string), DateTime?CreationDate = default(DateTime?), DateTime?ModifyDate = default(DateTime?), bool?AllowComments = default(bool?), bool?HasAgeGate = default(bool?), int?MinimumAge = default(int?), string RatingImagePath = default(string), UserGeneralUser Author = default(UserGeneralUser), bool?AutoEnglishPropertyFallback = default(bool?), Dictionary <string, Object> Properties = default(Dictionary <string, Object>), List <ContentContentRepresentation> Representations = default(List <ContentContentRepresentation>), List <string> Tags = default(List <string>), ContentCommentSummary CommentSummary = default(ContentCommentSummary))
 {
     this.ContentId                   = ContentId;
     this.CType                       = CType;
     this.CmsPath                     = CmsPath;
     this.CreationDate                = CreationDate;
     this.ModifyDate                  = ModifyDate;
     this.AllowComments               = AllowComments;
     this.HasAgeGate                  = HasAgeGate;
     this.MinimumAge                  = MinimumAge;
     this.RatingImagePath             = RatingImagePath;
     this.Author                      = Author;
     this.AutoEnglishPropertyFallback = AutoEnglishPropertyFallback;
     this.Properties                  = Properties;
     this.Representations             = Representations;
     this.Tags           = Tags;
     this.CommentSummary = CommentSummary;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserUserMembershipData" /> class.
 /// </summary>
 /// <param name="DestinyMemberships">this allows you to see destiny memberships that are visible and linked to this account (regardless of whether or not they have characters on the world server).</param>
 /// <param name="BungieNetUser">BungieNetUser.</param>
 public UserUserMembershipData(List <UserUserInfoCard> DestinyMemberships = default(List <UserUserInfoCard>), UserGeneralUser BungieNetUser = default(UserGeneralUser))
 {
     this.DestinyMemberships = DestinyMemberships;
     this.BungieNetUser      = BungieNetUser;
 }