Record Class BootstrapModels.BootstrapVectorResponse
java.lang.Object
java.lang.Record
app.ductape.sdk.api.services.model.BootstrapModels.BootstrapVectorResponse
- Enclosing class:
- BootstrapModels
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenv()Returns the value of theenvrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theprivate_keyrecord component.Returns the value of theproduct_idrecord component.final StringtoString()Returns a string representation of this record class.vector()Returns the value of thevectorrecord component.Returns the value of thevector_envrecord component.Returns the value of theworkspace_idrecord component.
-
Constructor Details
-
BootstrapVectorResponse
public BootstrapVectorResponse(String product_id, String workspace_id, String private_key, Map<String, Object> env, Map<String, Object> vector, Map<String, Object> vector_env) Creates an instance of aBootstrapVectorResponserecord class.- Parameters:
product_id- the value for theproduct_idrecord componentworkspace_id- the value for theworkspace_idrecord componentprivate_key- the value for theprivate_keyrecord componentenv- the value for theenvrecord componentvector- the value for thevectorrecord componentvector_env- the value for thevector_envrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
product_id
Returns the value of theproduct_idrecord component.- Returns:
- the value of the
product_idrecord component
-
workspace_id
Returns the value of theworkspace_idrecord component.- Returns:
- the value of the
workspace_idrecord component
-
private_key
Returns the value of theprivate_keyrecord component.- Returns:
- the value of the
private_keyrecord component
-
env
Returns the value of theenvrecord component.- Returns:
- the value of the
envrecord component
-
vector
Returns the value of thevectorrecord component.- Returns:
- the value of the
vectorrecord component
-
vector_env
Returns the value of thevector_envrecord component.- Returns:
- the value of the
vector_envrecord component
-