Class CreateScript400Response
CreateScript400Response
Implements
Inherited Members
Namespace: Unity.Services.Apis.Admin.CloudCode
Assembly: Unity.Services.Apis.dll
Syntax
[JsonConverter(typeof(CreateScript400ResponseJsonConverter))]
[DataContract(Name = "createScript_400_response")]
[Preserve]
public class CreateScript400Response : AbstractOpenAPISchema, IEquatable<CreateScript400Response>
Constructors
CreateScript400Response(BasicErrorResponse)
Initializes a new instance of the CreateScript400Response class with the BasicErrorResponse class
Declaration
[Preserve]
public CreateScript400Response(BasicErrorResponse actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| BasicErrorResponse | actualInstance | An instance of BasicErrorResponse. |
CreateScript400Response(CompilationErrorResponse)
Initializes a new instance of the CreateScript400Response class with the CompilationErrorResponse class
Declaration
[Preserve]
public CreateScript400Response(CompilationErrorResponse actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| CompilationErrorResponse | actualInstance | An instance of CompilationErrorResponse. |
CreateScript400Response(ValidationErrorResponse)
Initializes a new instance of the CreateScript400Response class with the ValidationErrorResponse class
Declaration
[Preserve]
public CreateScript400Response(ValidationErrorResponse actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| ValidationErrorResponse | actualInstance | An instance of ValidationErrorResponse. |
Properties
ActualInstance
Gets or Sets ActualInstance
Declaration
public override object ActualInstance { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Overrides
Methods
Equals(object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
| Type | Name | Description |
|---|---|---|
| object | input | Object to be compared |
Returns
| Type | Description |
|---|---|
| bool | Boolean |
Overrides
Equals(CreateScript400Response)
Returns true if CreateScript400Response instances are equal
Declaration
public bool Equals(CreateScript400Response input)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateScript400Response | input | Instance of CreateScript400Response to be compared |
Returns
| Type | Description |
|---|---|
| bool | Boolean |
FromJson(string)
Converts the JSON string into an instance of CreateScript400Response
Declaration
public static CreateScript400Response FromJson(string jsonString)
Parameters
| Type | Name | Description |
|---|---|---|
| string | jsonString | JSON string |
Returns
| Type | Description |
|---|---|
| CreateScript400Response | An instance of CreateScript400Response |
GetBasicErrorResponse()
Get the actual instance of BasicErrorResponse. If the actual instance is not BasicErrorResponse,
the InvalidClassException will be thrown
Declaration
public BasicErrorResponse GetBasicErrorResponse()
Returns
| Type | Description |
|---|---|
| BasicErrorResponse | An instance of BasicErrorResponse |
GetCompilationErrorResponse()
Get the actual instance of CompilationErrorResponse. If the actual instance is not CompilationErrorResponse,
the InvalidClassException will be thrown
Declaration
public CompilationErrorResponse GetCompilationErrorResponse()
Returns
| Type | Description |
|---|---|
| CompilationErrorResponse | An instance of CompilationErrorResponse |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | Hash code |
Overrides
GetValidationErrorResponse()
Get the actual instance of ValidationErrorResponse. If the actual instance is not ValidationErrorResponse,
the InvalidClassException will be thrown
Declaration
public ValidationErrorResponse GetValidationErrorResponse()
Returns
| Type | Description |
|---|---|
| ValidationErrorResponse | An instance of ValidationErrorResponse |
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
| Type | Description |
|---|---|
| string | JSON string presentation of the object |
Overrides
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |