Class ResponseInputItem.ApplyPatchCall.Operation.CreateFile.Builder
-
- All Implemented Interfaces:
public final class ResponseInputItem.ApplyPatchCall.Operation.CreateFile.BuilderA builder for CreateFile.
-
-
Method Summary
-
-
Method Detail
-
diff
final ResponseInputItem.ApplyPatchCall.Operation.CreateFile.Builder diff(String diff)
Unified diff content to apply when creating the file.
-
diff
final ResponseInputItem.ApplyPatchCall.Operation.CreateFile.Builder diff(JsonField<String> diff)
Sets Builder.diff to an arbitrary JSON value.
You should usually call Builder.diff with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
path
final ResponseInputItem.ApplyPatchCall.Operation.CreateFile.Builder path(String path)
Path of the file to create relative to the workspace root.
-
path
final ResponseInputItem.ApplyPatchCall.Operation.CreateFile.Builder path(JsonField<String> path)
Sets Builder.path to an arbitrary JSON value.
You should usually call Builder.path with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ResponseInputItem.ApplyPatchCall.Operation.CreateFile.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("create_file")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseInputItem.ApplyPatchCall.Operation.CreateFile.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseInputItem.ApplyPatchCall.Operation.CreateFile.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseInputItem.ApplyPatchCall.Operation.CreateFile.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseInputItem.ApplyPatchCall.Operation.CreateFile.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseInputItem.ApplyPatchCall.Operation.CreateFile.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseInputItem.ApplyPatchCall.Operation.CreateFile build()
Returns an immutable instance of CreateFile.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.diff() .path()
-
-
-
-