Struct ChatCompletionsToolCallType
The ChatCompletionsToolCallType.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.AI.Inference.dll
Syntax
public struct ChatCompletionsToolCallType : IEquatable<Azure.AI.Inference.ChatCompletionsToolCallType>
Constructors
ChatCompletionsToolCallType(String)
Initializes a new instance of ChatCompletionsToolCallType.
Declaration
public ChatCompletionsToolCallType (string value);
Parameters
|
System.String
value
|
Exceptions
|
System.ArgumentNullException
|
Properties
Function
function.
Declaration
public static Azure.AI.Inference.ChatCompletionsToolCallType Function { get; }
Property Value
|
ChatCompletionsToolCallType
|
Methods
Equals(ChatCompletionsToolCallType)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.AI.Inference.ChatCompletionsToolCallType other);
Parameters
|
ChatCompletionsToolCallType
other
An object to compare with this object. |
Returns
|
System.Boolean
|
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
|
System.Object
obj
The object to compare with the current instance. |
Returns
|
System.Boolean
|
GetHashCode()
Returns the hash code for this instance.
Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
|
System.Int32
A 32-bit signed integer that is the hash code for this instance. |
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString ();
Returns
|
System.String
The fully qualified type name. |
Operators
Equality(ChatCompletionsToolCallType, ChatCompletionsToolCallType)
Determines if two ChatCompletionsToolCallType values are the same.
Declaration
public static bool operator == (Azure.AI.Inference.ChatCompletionsToolCallType left, Azure.AI.Inference.ChatCompletionsToolCallType right);
Parameters
|
ChatCompletionsToolCallType
left
|
|
ChatCompletionsToolCallType
right
|
Returns
|
System.Boolean
|
Implicit(String to ChatCompletionsToolCallType)
Converts a System.String to a ChatCompletionsToolCallType.
Declaration
public static implicit operator Azure.AI.Inference.ChatCompletionsToolCallType (string value);
Parameters
|
System.String
value
|
Returns
|
ChatCompletionsToolCallType
|
Inequality(ChatCompletionsToolCallType, ChatCompletionsToolCallType)
Determines if two ChatCompletionsToolCallType values are not the same.
Declaration
public static bool operator != (Azure.AI.Inference.ChatCompletionsToolCallType left, Azure.AI.Inference.ChatCompletionsToolCallType right);
Parameters
|
ChatCompletionsToolCallType
left
|
|
ChatCompletionsToolCallType
right
|
Returns
|
System.Boolean
|