Record Class SessionBinaryAssetEvent.SessionBinaryAssetEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionBinaryAssetEvent.SessionBinaryAssetEventData
- Enclosing class:
SessionBinaryAssetEvent
-
Constructor Summary
ConstructorsConstructorDescriptionSessionBinaryAssetEventData(String assetId, BinaryAssetType type, String mimeType, Long byteLength, String data, String description, Map<String, Object> metadata) Creates an instance of aSessionBinaryAssetEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionassetId()Returns the value of theassetIdrecord component.Returns the value of thebyteLengthrecord component.data()Returns the value of thedatarecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metadata()Returns the value of themetadatarecord component.mimeType()Returns the value of themimeTyperecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
SessionBinaryAssetEventData
public SessionBinaryAssetEventData(String assetId, BinaryAssetType type, String mimeType, Long byteLength, String data, String description, Map<String, Object> metadata) Creates an instance of aSessionBinaryAssetEventDatarecord class.- Parameters:
assetId- the value for theassetIdrecord componenttype- the value for thetyperecord componentmimeType- the value for themimeTyperecord componentbyteLength- the value for thebyteLengthrecord componentdata- the value for thedatarecord componentdescription- the value for thedescriptionrecord componentmetadata- the value for themetadatarecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
assetId
Returns the value of theassetIdrecord component.- Returns:
- the value of the
assetIdrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
mimeType
Returns the value of themimeTyperecord component.- Returns:
- the value of the
mimeTyperecord component
-
byteLength
Returns the value of thebyteLengthrecord component.- Returns:
- the value of the
byteLengthrecord component
-
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
metadata
-