Class BetaManagedAgentsAgentToolset20260401EditInput
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAgentToolset20260401EditInputInput payload for the
edittool. Performs a string replacement in the named file; by defaultold_stringmust occur exactly once.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAgentToolset20260401EditInput.BuilderA builder for BetaManagedAgentsAgentToolset20260401EditInput.
-
Method Summary
Modifier and Type Method Description final StringfilePath()Path of the file to edit. final StringnewString()Replacement text. final StringoldString()Substring to find and replace. final Optional<Boolean>replaceAll()When true, replace every occurrence of old_stringinstead of requiring a unique match.final JsonField<String>_filePath()Returns the raw JSON value of filePath. final JsonField<String>_newString()Returns the raw JSON value of newString. final JsonField<String>_oldString()Returns the raw JSON value of oldString. final JsonField<Boolean>_replaceAll()Returns the raw JSON value of replaceAll. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsAgentToolset20260401EditInput.BuildertoBuilder()final BetaManagedAgentsAgentToolset20260401EditInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAgentToolset20260401EditInput.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentToolset20260401EditInput. -
-
Method Detail
-
replaceAll
final Optional<Boolean> replaceAll()
When true, replace every occurrence of
old_stringinstead of requiring a unique match.
-
_filePath
final JsonField<String> _filePath()
Returns the raw JSON value of filePath.
Unlike filePath, this method doesn't throw if the JSON field has an unexpected type.
-
_newString
final JsonField<String> _newString()
Returns the raw JSON value of newString.
Unlike newString, this method doesn't throw if the JSON field has an unexpected type.
-
_oldString
final JsonField<String> _oldString()
Returns the raw JSON value of oldString.
Unlike oldString, this method doesn't throw if the JSON field has an unexpected type.
-
_replaceAll
final JsonField<Boolean> _replaceAll()
Returns the raw JSON value of replaceAll.
Unlike replaceAll, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsAgentToolset20260401EditInput.Builder toBuilder()
-
validate
final BetaManagedAgentsAgentToolset20260401EditInput 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 BetaManagedAgentsAgentToolset20260401EditInput.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentToolset20260401EditInput.
The following fields are required:
.filePath() .newString() .oldString()
-
-
-
-