Class TextEditorCodeExecutionViewResultBlockParam
-
- All Implemented Interfaces:
public final class TextEditorCodeExecutionViewResultBlockParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTextEditorCodeExecutionViewResultBlockParam.BuilderA builder for TextEditorCodeExecutionViewResultBlockParam.
public final classTextEditorCodeExecutionViewResultBlockParam.FileType
-
Method Summary
-
-
Method Detail
-
fileType
final TextEditorCodeExecutionViewResultBlockParam.FileType fileType()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("text_editor_code_execution_view_result")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
totalLines
final Optional<Long> totalLines()
-
_content
final JsonField<String> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_fileType
final JsonField<TextEditorCodeExecutionViewResultBlockParam.FileType> _fileType()
Returns the raw JSON value of fileType.
Unlike fileType, this method doesn't throw if the JSON field has an unexpected type.
-
_numLines
final JsonField<Long> _numLines()
Returns the raw JSON value of numLines.
Unlike numLines, this method doesn't throw if the JSON field has an unexpected type.
-
_startLine
final JsonField<Long> _startLine()
Returns the raw JSON value of startLine.
Unlike startLine, this method doesn't throw if the JSON field has an unexpected type.
-
_totalLines
final JsonField<Long> _totalLines()
Returns the raw JSON value of totalLines.
Unlike totalLines, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TextEditorCodeExecutionViewResultBlockParam.Builder toBuilder()
-
validate
final TextEditorCodeExecutionViewResultBlockParam validate()
-
builder
final static TextEditorCodeExecutionViewResultBlockParam.Builder builder()
Returns a mutable builder for constructing an instance of TextEditorCodeExecutionViewResultBlockParam.
The following fields are required:
.content() .fileType()
-
-
-
-