Class Script
Script
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class Script : IEquatable<Script>
Constructors
Script()
Initializes a new instance of the Script class.
Declaration
protected Script()
Script(String, String, String, String, Nullable<ScriptLanguage>, String)
Initializes a new instance of the Script class.
Declaration
public Script(string name = null, string description = null, string orgID = null, string script = null, ScriptLanguage? language = null, string url = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | name (required). |
System.String | description | description. |
System.String | orgID | orgID (required). |
System.String | script | script to be executed (required). |
System.Nullable<ScriptLanguage> | language | language. |
System.String | url | invocation endpoint address. |
Properties
_Script
script to be executed
Declaration
public string _Script { get; set; }
Property Value
Type | Description |
---|---|
System.String | script to be executed |
CreatedAt
Gets or Sets CreatedAt
Declaration
public DateTime? CreatedAt { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Description
Gets or Sets Description
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Gets or Sets Id
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Language
Gets or Sets Language
Declaration
public ScriptLanguage? Language { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ScriptLanguage> |
Name
Gets or Sets Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OrgID
Gets or Sets OrgID
Declaration
public string OrgID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UpdatedAt
Gets or Sets UpdatedAt
Declaration
public DateTime? UpdatedAt { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Url
invocation endpoint address
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String | invocation endpoint address |
Methods
Equals(Script)
Returns true if Script instances are equal
Declaration
public bool Equals(Script input)
Parameters
Type | Name | Description |
---|---|---|
Script | input | Instance of Script 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 |