示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BeezUPCommonLink2" /> class.
 /// </summary>
 /// <param name="Rel">Indicate the relation name related to the link (required).</param>
 /// <param name="Href">Href.</param>
 /// <param name="OperationId">OperationId.</param>
 /// <param name="Method">Method.</param>
 /// <param name="Parameters">Parameters.</param>
 /// <param name="Info">Info.</param>
 public BeezUPCommonLink2(string Rel = default(string), BeezUPCommonHref Href = default(BeezUPCommonHref), BeezUPCommonOperationId OperationId = default(BeezUPCommonOperationId), BeezUPCommonHttpMethod Method = default(BeezUPCommonHttpMethod), List <BeezUPCommonLinkParameter2> Parameters = default(List <BeezUPCommonLinkParameter2>), BeezUPCommonInfoSummaries Info = default(BeezUPCommonInfoSummaries))
 {
     // to ensure "Rel" is required (not null)
     if (Rel == null)
     {
         throw new InvalidDataException("Rel is a required property for BeezUPCommonLink2 and cannot be null");
     }
     else
     {
         this.Rel = Rel;
     }
     this.Href        = Href;
     this.OperationId = OperationId;
     this.Method      = Method;
     this.Parameters  = Parameters;
     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;
 }
示例#3
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;
 }