Record Class StabilityAiApi.GenerateImageResponse.Artifacts
java.lang.Object
java.lang.Record
org.springframework.ai.stabilityai.api.StabilityAiApi.GenerateImageResponse.Artifacts
- Enclosing class:
StabilityAiApi.GenerateImageResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbase64()Returns the value of thebase64record component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefinishReasonrecord component.final inthashCode()Returns a hash code value for this object.longseed()Returns the value of theseedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Artifacts
Creates an instance of aArtifactsrecord class.- Parameters:
seed- the value for theseedrecord componentbase64- the value for thebase64record componentfinishReason- the value for thefinishReasonrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
seed
public long seed()Returns the value of theseedrecord component.- Returns:
- the value of the
seedrecord component
-
base64
Returns the value of thebase64record component.- Returns:
- the value of the
base64record component
-
finishReason
Returns the value of thefinishReasonrecord component.- Returns:
- the value of the
finishReasonrecord component
-