Class BetaTextEditorCodeExecutionViewResultBlockParam.Builder
-
- All Implemented Interfaces:
public final class BetaTextEditorCodeExecutionViewResultBlockParam.BuilderA builder for BetaTextEditorCodeExecutionViewResultBlockParam.
-
-
Method Summary
-
-
Method Detail
-
content
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder content(String content)
-
content
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder content(JsonField<String> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fileType
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder fileType(BetaTextEditorCodeExecutionViewResultBlockParam.FileType fileType)
-
fileType
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder fileType(JsonField<BetaTextEditorCodeExecutionViewResultBlockParam.FileType> fileType)
Sets Builder.fileType to an arbitrary JSON value.
You should usually call Builder.fileType with a well-typed FileType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("text_editor_code_execution_view_result")This method is primarily for setting the field to an undocumented or not yet supported value.
-
numLines
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder numLines(Long numLines)
-
numLines
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder numLines(Long numLines)
Alias for Builder.numLines.
This unboxed primitive overload exists for backwards compatibility.
-
numLines
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder numLines(Optional<Long> numLines)
Alias for calling Builder.numLines with
numLines.orElse(null).
-
numLines
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder numLines(JsonField<Long> numLines)
Sets Builder.numLines to an arbitrary JSON value.
You should usually call Builder.numLines with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
startLine
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder startLine(Long startLine)
-
startLine
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder startLine(Long startLine)
Alias for Builder.startLine.
This unboxed primitive overload exists for backwards compatibility.
-
startLine
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder startLine(Optional<Long> startLine)
Alias for calling Builder.startLine with
startLine.orElse(null).
-
startLine
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder startLine(JsonField<Long> startLine)
Sets Builder.startLine to an arbitrary JSON value.
You should usually call Builder.startLine with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
totalLines
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder totalLines(Long totalLines)
-
totalLines
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder totalLines(Long totalLines)
Alias for Builder.totalLines.
This unboxed primitive overload exists for backwards compatibility.
-
totalLines
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder totalLines(Optional<Long> totalLines)
Alias for calling Builder.totalLines with
totalLines.orElse(null).
-
totalLines
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder totalLines(JsonField<Long> totalLines)
Sets Builder.totalLines to an arbitrary JSON value.
You should usually call Builder.totalLines with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaTextEditorCodeExecutionViewResultBlockParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaTextEditorCodeExecutionViewResultBlockParam build()
Returns an immutable instance of BetaTextEditorCodeExecutionViewResultBlockParam.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.content() .fileType()
-
-
-
-