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
Modifier and Type Method Description final Stringcontent()final TextEditorCodeExecutionViewResultBlockParam.FileTypefileType()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("text_editor_code_execution_view_result")final Optional<Long>numLines()final Optional<Long>startLine()final Optional<Long>totalLines()final JsonField<String>_content()Returns the raw JSON value of content. final JsonField<TextEditorCodeExecutionViewResultBlockParam.FileType>_fileType()Returns the raw JSON value of fileType. final JsonField<Long>_numLines()Returns the raw JSON value of numLines. final JsonField<Long>_startLine()Returns the raw JSON value of startLine. final JsonField<Long>_totalLines()Returns the raw JSON value of totalLines. final Map<String, JsonValue>_additionalProperties()final TextEditorCodeExecutionViewResultBlockParam.BuildertoBuilder()final TextEditorCodeExecutionViewResultBlockParamvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TextEditorCodeExecutionViewResultBlockParam.Builderbuilder()Returns a mutable builder for constructing an instance of TextEditorCodeExecutionViewResultBlockParam. -
-
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()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static TextEditorCodeExecutionViewResultBlockParam.Builder builder()
Returns a mutable builder for constructing an instance of TextEditorCodeExecutionViewResultBlockParam.
The following fields are required:
.content() .fileType()
-
-
-
-