Class BetaPluginInstallationSetting.Builder
-
- All Implemented Interfaces:
public final class BetaPluginInstallationSetting.BuilderA builder for BetaPluginInstallationSetting.
-
-
Method Summary
-
-
Method Detail
-
createdAt
final BetaPluginInstallationSetting.Builder createdAt(OffsetDateTime createdAt)
When the target was first given a setting for this Plugin.
-
createdAt
final BetaPluginInstallationSetting.Builder createdAt(JsonField<OffsetDateTime> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
installationPreference
final BetaPluginInstallationSetting.Builder installationPreference(BetaPluginInstallationSetting.InstallationPreference installationPreference)
The setting the target holds for this Plugin. One of
required,auto_install,available,not_available; a value this API does not yet name is returned as stored.
-
installationPreference
final BetaPluginInstallationSetting.Builder installationPreference(JsonField<BetaPluginInstallationSetting.InstallationPreference> installationPreference)
Sets Builder.installationPreference to an arbitrary JSON value.
You should usually call Builder.installationPreference with a well-typed InstallationPreference value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
pluginId
final BetaPluginInstallationSetting.Builder pluginId(String pluginId)
The Plugin's ID.
-
pluginId
final BetaPluginInstallationSetting.Builder pluginId(JsonField<String> pluginId)
Sets Builder.pluginId to an arbitrary JSON value.
You should usually call Builder.pluginId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
target
final BetaPluginInstallationSetting.Builder target(BetaPluginInstallationSetting.Target target)
Whose setting this is:
organization(the Plugin's own organization-wide setting) orrbac_group(one RBAC Group's own setting);organization_memberdoes not occur here.
-
target
final BetaPluginInstallationSetting.Builder target(JsonField<BetaPluginInstallationSetting.Target> target)
Sets Builder.target to an arbitrary JSON value.
You should usually call Builder.target with a well-typed Target value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
target
final BetaPluginInstallationSetting.Builder target(BetaPluginTargetOrganization organization)
Alias for calling target with
Target.ofOrganization(organization).
-
target
final BetaPluginInstallationSetting.Builder target(BetaPluginTargetRbacGroup rbacGroup)
Alias for calling target with
Target.ofRbacGroup(rbacGroup).
-
target
final BetaPluginInstallationSetting.Builder target(BetaPluginTargetOrganizationMember organizationMember)
Alias for calling target with
Target.ofOrganizationMember(organizationMember).
-
type
final BetaPluginInstallationSetting.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("plugin_installation_setting")This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final BetaPluginInstallationSetting.Builder updatedAt(OffsetDateTime updatedAt)
When its setting last changed.
-
updatedAt
final BetaPluginInstallationSetting.Builder updatedAt(JsonField<OffsetDateTime> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaPluginInstallationSetting.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
rbacGroupTarget
final BetaPluginInstallationSetting.Builder rbacGroupTarget(String rbacGroupId)
Alias for calling target with the following:
BetaPluginTargetRbacGroup.builder() .rbacGroupId(rbacGroupId) .build()
-
organizationMemberTarget
final BetaPluginInstallationSetting.Builder organizationMemberTarget(String userId)
Alias for calling target with the following:
BetaPluginTargetOrganizationMember.builder() .userId(userId) .build()
-
putAdditionalProperty
final BetaPluginInstallationSetting.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaPluginInstallationSetting.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaPluginInstallationSetting.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaPluginInstallationSetting.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaPluginInstallationSetting build()
Returns an immutable instance of BetaPluginInstallationSetting.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.createdAt() .installationPreference() .pluginId() .target() .updatedAt()
-
-
-
-