public Attachment updateWithUploadDetails ( UploadContentResponse response ) { this . id = response . getId ( ) ; this . url = response . getUrl ( ) ; this . size = response . getSize ( ) ; this . type = response . getType ( ) ; return this ; }
For internal use . Update attachment details with upload APIs response .