Show / Hide Table of Contents

Class Parameter

Defines a configurable parameter supported by a model.

Inheritance
object
Parameter
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.GenerativeaiService.Models
Assembly: OCI.DotNetSDK.Generativeai.dll
Syntax
public class Parameter

Properties

DefaultValue

Declaration
[JsonProperty(PropertyName = "defaultValue")]
public string DefaultValue { get; set; }
Property Value
Type Description
string

The default value used when this parameter is not supplied.

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

A human-readable description of this parameter.

Maximum

Declaration
[JsonProperty(PropertyName = "maximum")]
public double Maximum { get; set; }
Property Value
Type Description
double

The maximum allowed value for this parameter. Applicable only when type is FLOAT or INTEGER.

Minimum

Declaration
[JsonProperty(PropertyName = "minimum")]
public double Minimum { get; set; }
Property Value
Type Description
double

The minimum allowed value for this parameter. Applicable only when type is FLOAT or INTEGER.

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

The name of this parameter.

Remarks

Required

Type

Declaration
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
Property Value
Type Description
string

The data type of the parameter (e.g., float, integer, string).

In this article
Back to top