class LSProtocol::CreateFile
- LSProtocol::CreateFile
- Reference
- Object
Overview
Create file operation.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(kind : String | Nil, uri : URI | Nil, annotation_id : ChangeAnnotationIdentifier | Nil = nil, options : CreateFileOptions | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#annotation_id : ChangeAnnotationIdentifier | Nil
An optional annotation identifier describing the operation.
-
#kind : String
A create
-
#options : CreateFileOptions | Nil
Additional options
-
#uri : URI
The resource to create.
Constructor Detail
def self.new(kind : String | Nil, uri : URI | Nil, annotation_id : ChangeAnnotationIdentifier | Nil = nil, options : CreateFileOptions | Nil = nil)
#
Instance Method Detail
def annotation_id : ChangeAnnotationIdentifier | Nil
#
An optional annotation identifier describing the operation.
@since 3.16.0