コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CapabilityPresentation" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="version">The version number of the capability. (default to 1).</param>
 /// <param name="dashboard">dashboard.</param>
 /// <param name="detailView">detailView.</param>
 /// <param name="automation">automation.</param>
 public CapabilityPresentation(string id = default(string), int version = 1, DashboardForCapability dashboard = default(DashboardForCapability), List <Object> detailView = default(List <Object>), AutomationForCapability automation = default(AutomationForCapability))
 {
     this.Id         = id;
     this.Version    = version;
     this.Dashboard  = dashboard;
     this.DetailView = detailView;
     this.Automation = automation;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateCapabilityPresentationRequest" /> class.
 /// </summary>
 /// <param name="dashboard">dashboard.</param>
 /// <param name="detailView">detailView.</param>
 /// <param name="automation">automation.</param>
 /// <param name="id">id (required).</param>
 /// <param name="version">The version number of the capability. (required) (default to 1).</param>
 public CreateCapabilityPresentationRequest(DashboardForCapability dashboard = default(DashboardForCapability), List <Object> detailView = default(List <Object>), AutomationForCapability automation = default(AutomationForCapability), string id = default(string), int version = 1)
 {
     // to ensure "id" is required (not null)
     this.Id         = id ?? throw new ArgumentNullException("id is a required property for CreateCapabilityPresentationRequest and cannot be null");
     this.Version    = version;
     this.Dashboard  = dashboard;
     this.DetailView = detailView;
     this.Automation = automation;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InlineObject" /> class.
 /// </summary>
 /// <param name="dashboard">dashboard.</param>
 /// <param name="detailView">detailView.</param>
 /// <param name="automation">automation.</param>
 public InlineObject(DashboardForCapability dashboard = default(DashboardForCapability), List <Object> detailView = default(List <Object>), AutomationForCapability automation = default(AutomationForCapability))
 {
     this.Dashboard  = dashboard;
     this.DetailView = detailView;
     this.Automation = automation;
 }