Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LinksGetChannelCatalogProductInfo" /> class.
 /// </summary>
 /// <param name="DocUrl">DocUrl.</param>
 /// <param name="Description">The description of the link.</param>
 /// <param name="Href">Href.</param>
 /// <param name="OperationId">OperationId.</param>
 /// <param name="Method">Method.</param>
 /// <param name="Parameters">Parameters.</param>
 /// <param name="Templated">indicates whether the href is templated or not.</param>
 /// <param name="Info">Info.</param>
 public LinksGetChannelCatalogProductInfo(BeezUPCommonDocUrl DocUrl = default(BeezUPCommonDocUrl), string Description = default(string), BeezUPCommonHref Href = default(BeezUPCommonHref), BeezUPCommonOperationId OperationId = default(BeezUPCommonOperationId), BeezUPCommonHttpMethod Method = default(BeezUPCommonHttpMethod), Dictionary <string, BeezUPCommonLinkParameter3> Parameters = default(Dictionary <string, BeezUPCommonLinkParameter3>), bool?Templated = default(bool?), BeezUPCommonInfoSummaries Info = default(BeezUPCommonInfoSummaries))
 {
     this.DocUrl      = DocUrl;
     this.Description = Description;
     this.Href        = Href;
     this.OperationId = OperationId;
     this.Method      = Method;
     this.Parameters  = Parameters;
     this.Templated   = Templated;
     this.Info        = Info;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LinksGetOrderHistoryLink" /> class.
 /// </summary>
 /// <param name="Label">The label corresponding to the link. This label is automatically translated based on the Accept-Language http header..</param>
 /// <param name="DocUrl">DocUrl.</param>
 /// <param name="Description">The description of the link.</param>
 /// <param name="Href">Href (required).</param>
 /// <param name="OperationId">OperationId.</param>
 /// <param name="Method">Method.</param>
 /// <param name="Parameters">Parameters.</param>
 /// <param name="UrlTemplated">indicates whether the href is templated or not.</param>
 /// <param name="AllRequiredParamsProvided">indicates whether all required params have been provided.</param>
 /// <param name="AllOptionalParamsProvided">indicates whether all optionals params have been provided.</param>
 /// <param name="Info">Info.</param>
 public LinksGetOrderHistoryLink(string Label = default(string), BeezUPCommonDocUrl DocUrl = default(BeezUPCommonDocUrl), string Description = default(string), BeezUPCommonHref Href = default(BeezUPCommonHref), BeezUPCommonOperationId OperationId = default(BeezUPCommonOperationId), BeezUPCommonHttpMethod Method = default(BeezUPCommonHttpMethod), Dictionary <string, BeezUPCommonLinkParameter3> Parameters = default(Dictionary <string, BeezUPCommonLinkParameter3>), bool?UrlTemplated = default(bool?), bool?AllRequiredParamsProvided = default(bool?), bool?AllOptionalParamsProvided = default(bool?), BeezUPCommonInfoSummaries Info = default(BeezUPCommonInfoSummaries))
 {
     // to ensure "Href" is required (not null)
     if (Href == null)
     {
         throw new InvalidDataException("Href is a required property for LinksGetOrderHistoryLink and cannot be null");
     }
     else
     {
         this.Href = Href;
     }
     this.Label        = Label;
     this.DocUrl       = DocUrl;
     this.Description  = Description;
     this.OperationId  = OperationId;
     this.Method       = Method;
     this.Parameters   = Parameters;
     this.UrlTemplated = UrlTemplated;
     this.AllRequiredParamsProvided = AllRequiredParamsProvided;
     this.AllOptionalParamsProvided = AllOptionalParamsProvided;
     this.Info = Info;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BeezUPCommonUserErrorMessage" /> class.
 /// </summary>
 /// <param name="DocUrl">DocUrl.</param>
 /// <param name="Code">the error code. The error code can be a pattern containing the argument&#39;s name (required).</param>
 /// <param name="Message">The error message (required).</param>
 /// <param name="CultureName">If the error is translated, the culture name will be indicated.</param>
 /// <param name="Arguments">a dictionary string/object.</param>
 public BeezUPCommonUserErrorMessage(BeezUPCommonDocUrl DocUrl = default(BeezUPCommonDocUrl), string Code = default(string), string Message = default(string), string CultureName = default(string), List <BeezUPCommonUserErrorMessageArguments> Arguments = default(List <BeezUPCommonUserErrorMessageArguments>))
 {
     // to ensure "Code" is required (not null)
     if (Code == null)
     {
         throw new InvalidDataException("Code is a required property for BeezUPCommonUserErrorMessage and cannot be null");
     }
     else
     {
         this.Code = Code;
     }
     // to ensure "Message" is required (not null)
     if (Message == null)
     {
         throw new InvalidDataException("Message is a required property for BeezUPCommonUserErrorMessage and cannot be null");
     }
     else
     {
         this.Message = Message;
     }
     this.DocUrl      = DocUrl;
     this.CultureName = CultureName;
     this.Arguments   = Arguments;
 }