Class ResponseFormat
Inheritance
object
ResponseFormat
Assembly: .dll
public class ResponseFormat
Constructors
Declaration
Declaration
public ResponseFormat(Enum type)
Parameters
Type |
Name |
Description |
Enum |
type |
|
Declaration
public ResponseFormat(string type)
Parameters
Type |
Name |
Description |
string |
type |
|
Properties
Declaration
public bool IsObject { get; }
Property Value
Declaration
public bool IsString { get; protected set; }
Property Value
The type of the format returned by the API.
Declaration
public string Type { get; set; }
Property Value
Methods
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
The object to compare with the current object.
|
Returns
Type |
Description |
bool |
true if the specified object is equal to the current object; otherwise, false.
|
Overrides
object.Equals(object)
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A hash code for the current object.
|
Overrides
object.GetHashCode()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
A string that represents the current object.
|
Overrides
object.ToString()
Operators
Declaration
public static bool operator ==(ResponseFormat left, ResponseFormat right)
Parameters
Returns
Declaration
public static implicit operator string(ResponseFormat wrapper)
Parameters
Returns
Declaration
public static implicit operator ResponseFormat(Enum type)
Parameters
Type |
Name |
Description |
Enum |
type |
|
Returns
Declaration
public static implicit operator ResponseFormat(string type)
Parameters
Type |
Name |
Description |
string |
type |
|
Returns
Declaration
public static bool operator !=(ResponseFormat left, ResponseFormat right)
Parameters
Returns
Extension Methods