Class TemplateApply
TemplateApply
Inheritance
System.Object
TemplateApply
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class TemplateApply : IEquatable<TemplateApply>
Constructors
TemplateApply(Nullable<Boolean>, String, String, TemplateApplyTemplate, List<TemplateApplyTemplate>, Dictionary<String, Object>, Dictionary<String, String>, List<TemplateApplyRemotes>, List<Object>)
Initializes a new instance of the TemplateApply class.
Declaration
public TemplateApply(bool? dryRun = null, string orgID = null, string stackID = null, TemplateApplyTemplate template = null, List<TemplateApplyTemplate> templates = null, Dictionary<string, object> envRefs = null, Dictionary<string, string> secrets = null, List<TemplateApplyRemotes> remotes = null, List<object> actions = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Boolean> | dryRun | dryRun. |
System.String | orgID | orgID. |
System.String | stackID | stackID. |
TemplateApplyTemplate | template | template. |
List<TemplateApplyTemplate> | templates | templates. |
Dictionary<System.String, System.Object> | envRefs | envRefs. |
Dictionary<System.String, System.String> | secrets | secrets. |
List<TemplateApplyRemotes> | remotes | remotes. |
List<System.Object> | actions | actions. |
Properties
Actions
Gets or Sets Actions
Declaration
public List<object> Actions { get; set; }
Property Value
Type | Description |
---|---|
List<System.Object> |
DryRun
Gets or Sets DryRun
Declaration
public bool? DryRun { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
EnvRefs
Gets or Sets EnvRefs
Declaration
public Dictionary<string, object> EnvRefs { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, System.Object> |
OrgID
Gets or Sets OrgID
Declaration
public string OrgID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remotes
Gets or Sets Remotes
Declaration
public List<TemplateApplyRemotes> Remotes { get; set; }
Property Value
Type | Description |
---|---|
List<TemplateApplyRemotes> |
Secrets
Gets or Sets Secrets
Declaration
public Dictionary<string, string> Secrets { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, System.String> |
StackID
Gets or Sets StackID
Declaration
public string StackID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Template
Gets or Sets Template
Declaration
public TemplateApplyTemplate Template { get; set; }
Property Value
Type | Description |
---|---|
TemplateApplyTemplate |
Templates
Gets or Sets Templates
Declaration
public List<TemplateApplyTemplate> Templates { get; set; }
Property Value
Type | Description |
---|---|
List<TemplateApplyTemplate> |
Methods
Equals(TemplateApply)
Returns true if TemplateApply instances are equal
Declaration
public bool Equals(TemplateApply input)
Parameters
Type | Name | Description |
---|---|---|
TemplateApply | input | Instance of TemplateApply to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System.Object | input | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |