Class UpdateFileRequest.ChangePublicationStatus.Publish.Builder
-
- All Implemented Interfaces:
public final class UpdateFileRequest.ChangePublicationStatus.Publish.BuilderA builder for Publish.
-
-
Method Summary
-
-
Method Detail
-
isPublished
final UpdateFileRequest.ChangePublicationStatus.Publish.Builder isPublished(Boolean isPublished)
Set to
trueto publish the file. Set tofalseto unpublish the file.
-
isPublished
final UpdateFileRequest.ChangePublicationStatus.Publish.Builder isPublished(JsonField<Boolean> isPublished)
Sets Builder.isPublished to an arbitrary JSON value.
You should usually call Builder.isPublished with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
includeFileVersions
final UpdateFileRequest.ChangePublicationStatus.Publish.Builder includeFileVersions(Boolean includeFileVersions)
Set to
trueto publish/unpublish all versions of the file. Set tofalseto publish/unpublish only the current version of the file.
-
includeFileVersions
final UpdateFileRequest.ChangePublicationStatus.Publish.Builder includeFileVersions(JsonField<Boolean> includeFileVersions)
Sets Builder.includeFileVersions to an arbitrary JSON value.
You should usually call Builder.includeFileVersions with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final UpdateFileRequest.ChangePublicationStatus.Publish.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UpdateFileRequest.ChangePublicationStatus.Publish.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UpdateFileRequest.ChangePublicationStatus.Publish.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UpdateFileRequest.ChangePublicationStatus.Publish.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UpdateFileRequest.ChangePublicationStatus.Publish.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UpdateFileRequest.ChangePublicationStatus.Publish build()
Returns an immutable instance of Publish.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.isPublished()
-
-
-
-