Class ImagePart
- 
                    
                    - All Implemented Interfaces:
 
 public final class ImagePartMetadata for an image uploaded through ChatKit. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classImagePart.BuilderA builder for ImagePart. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Stringid()Unique identifier for the uploaded image. final StringmimeType()MIME type of the uploaded image. final Optional<String>name()Original filename for the uploaded image. final StringpreviewUrl()Preview URL that can be rendered inline for the image. final JsonValue_type()Type discriminator that is always image.final Optional<String>uploadUrl()Signed URL for downloading the uploaded image. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_mimeType()Returns the raw JSON value of mimeType. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_previewUrl()Returns the raw JSON value of previewUrl. final JsonField<String>_uploadUrl()Returns the raw JSON value of uploadUrl. final Map<String, JsonValue>_additionalProperties()final ImagePart.BuildertoBuilder()final ImagePartvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ImagePart.Builderbuilder()Returns a mutable builder for constructing an instance of ImagePart. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        namefinal Optional<String> name() Original filename for the uploaded image. Defaults to null when unnamed. 
 - 
                                        previewUrlfinal String previewUrl() Preview URL that can be rendered inline for the image. 
 - 
                                        _typefinal JsonValue _type() Type discriminator that is always image.Expected to always return the following: JsonValue.from("image")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        uploadUrlfinal Optional<String> uploadUrl() Signed URL for downloading the uploaded image. Defaults to null when no download link is available. 
 - 
                                        _idfinal JsonField<String> _id() Returns the raw JSON value of id. Unlike id, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _mimeTypefinal JsonField<String> _mimeType() Returns the raw JSON value of mimeType. Unlike mimeType, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _namefinal JsonField<String> _name() Returns the raw JSON value of name. Unlike name, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _previewUrlfinal JsonField<String> _previewUrl() Returns the raw JSON value of previewUrl. Unlike previewUrl, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _uploadUrlfinal JsonField<String> _uploadUrl() Returns the raw JSON value of uploadUrl. Unlike uploadUrl, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ImagePart.Builder toBuilder() 
 - 
                                        builderfinal static ImagePart.Builder builder() Returns a mutable builder for constructing an instance of ImagePart. The following fields are required: .id() .mimeType() .name() .previewUrl() .uploadUrl()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-