### YamlMime:JavaType uid: "com.azure.cosmos.models.SqlParameter" fullName: "com.azure.cosmos.models.SqlParameter" name: "SqlParameter" nameWithType: "SqlParameter" summary: "Represents a SQL parameter in the SqlQuerySpec used for queries in the Azure Cosmos DB database service." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **SqlParameter**" constructors: - uid: "com.azure.cosmos.models.SqlParameter.SqlParameter()" fullName: "com.azure.cosmos.models.SqlParameter.SqlParameter()" name: "SqlParameter()" nameWithType: "SqlParameter.SqlParameter()" summary: "Initializes a new instance of the SqlParameter class." syntax: "public SqlParameter()" desc: "Initializes a new instance of the SqlParameter class." - uid: "com.azure.cosmos.models.SqlParameter.SqlParameter(java.lang.String,java.lang.Object)" fullName: "com.azure.cosmos.models.SqlParameter.SqlParameter(String name, Object value)" name: "SqlParameter(String name, Object value)" nameWithType: "SqlParameter.SqlParameter(String name, Object value)" summary: "Initializes a new instance of the SqlParameter class with the name and value of the parameter." parameters: - description: "the name of the parameter." name: "name" type: "String" - description: "the value of the parameter." name: "value" type: "Object" syntax: "public SqlParameter(String name, Object value)" desc: "Initializes a new instance of the SqlParameter class with the name and value of the parameter." methods: - uid: "com.azure.cosmos.models.SqlParameter.getValue(java.lang.Class)" fullName: "com.azure.cosmos.models.SqlParameter.getValue(Class classType)" name: "getValue(Class classType)" nameWithType: "SqlParameter.getValue(Class classType)" summary: "Gets the value of the parameter." parameters: - description: "the class of the parameter value." name: "classType" type: "Class<>" syntax: "public T getValue(Class classType)" desc: "Gets the value of the parameter." returns: description: "the value of the parameter." type: "" - uid: "com.azure.cosmos.models.SqlParameter.equals(java.lang.Object)" fullName: "com.azure.cosmos.models.SqlParameter.equals(Object o)" name: "equals(Object o)" nameWithType: "SqlParameter.equals(Object o)" overridden: "java.lang.Object.equals(java.lang.Object)" parameters: - name: "o" type: "Object" syntax: "public boolean equals(Object o)" returns: type: "" - uid: "com.azure.cosmos.models.SqlParameter.getName()" fullName: "com.azure.cosmos.models.SqlParameter.getName()" name: "getName()" nameWithType: "SqlParameter.getName()" summary: "Gets the name of the parameter." syntax: "public String getName()" desc: "Gets the name of the parameter." returns: description: "the name of the parameter." type: "String" - uid: "com.azure.cosmos.models.SqlParameter.hashCode()" fullName: "com.azure.cosmos.models.SqlParameter.hashCode()" name: "hashCode()" nameWithType: "SqlParameter.hashCode()" overridden: "java.lang.Object.hashCode()" syntax: "public int hashCode()" returns: type: "" - uid: "com.azure.cosmos.models.SqlParameter.setName(java.lang.String)" fullName: "com.azure.cosmos.models.SqlParameter.setName(String name)" name: "setName(String name)" nameWithType: "SqlParameter.setName(String name)" summary: "Sets the name of the parameter." parameters: - description: "the name of the parameter." name: "name" type: "String" syntax: "public SqlParameter setName(String name)" desc: "Sets the name of the parameter." returns: description: "the SqlParameter." type: "" - uid: "com.azure.cosmos.models.SqlParameter.setValue(java.lang.Object)" fullName: "com.azure.cosmos.models.SqlParameter.setValue(Object value)" name: "setValue(Object value)" nameWithType: "SqlParameter.setValue(Object value)" summary: "Sets the value of the parameter." parameters: - description: "the value of the parameter." name: "value" type: "Object" syntax: "public SqlParameter setValue(Object value)" desc: "Sets the value of the parameter." returns: description: "the SqlParameter." type: "" type: "class" desc: "Represents a SQL parameter in the SqlQuerySpec used for queries in the Azure Cosmos DB database service." metadata: {} package: "com.azure.cosmos.models" artifact: com.azure:azure-cosmos:4.63.4