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 Create
Declaration
[Preserve]
public CreateScript400Response(BasicErrorResponse actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Basic |
actualInstance | An instance of BasicErrorResponse. |
CreateScript400Response(CompilationErrorResponse)
Initializes a new instance of the Create
Declaration
[Preserve]
public CreateScript400Response(CompilationErrorResponse actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Compilation |
actualInstance | An instance of CompilationErrorResponse. |
CreateScript400Response(ValidationErrorResponse)
Initializes a new instance of the Create
Declaration
[Preserve]
public CreateScript400Response(ValidationErrorResponse actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Validation |
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 |
---|---|---|
Create |
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 |
---|---|
Create |
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 |
---|---|
Basic |
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 |
---|---|
Compilation |
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 |
---|---|
Validation |
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 |