Class BetaPluginShare
-
- All Implemented Interfaces:
public final class BetaPluginShareOne share the owner of a member-owned Plugin has given. Shares are read-only in this API and have no ID of their own; who gave a share is recorded on the Compliance API activity feed, not here.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaPluginShare.BuilderA builder for BetaPluginShare.
public final classBetaPluginShare.TargetWho the Plugin is shared with:
organization(every member),rbac_group(one RBAC Group), ororganization_member(one member).
-
Method Summary
Modifier and Type Method Description final OffsetDateTimegrantedAt()When the share was given; a share whose role is later changed in claude.ai is re-granted and carries the time of that change. final StringpluginId()The Plugin's ID. final BetaPluginShare.Targettarget()Who the Plugin is shared with: organization(every member),rbac_group(one RBAC Group), ororganization_member(one member).final JsonValue_type()Always plugin_share.final JsonField<OffsetDateTime>_grantedAt()Returns the raw JSON value of grantedAt. final JsonField<String>_pluginId()Returns the raw JSON value of pluginId. final JsonField<BetaPluginShare.Target>_target()Returns the raw JSON value of target. final Map<String, JsonValue>_additionalProperties()final BetaPluginShare.BuildertoBuilder()final BetaPluginSharevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaPluginShare.Builderbuilder()Returns a mutable builder for constructing an instance of BetaPluginShare. -
-
Method Detail
-
grantedAt
final OffsetDateTime grantedAt()
When the share was given; a share whose role is later changed in claude.ai is re-granted and carries the time of that change.
-
target
final BetaPluginShare.Target target()
Who the Plugin is shared with:
organization(every member),rbac_group(one RBAC Group), ororganization_member(one member).
-
_type
final JsonValue _type()
Always
plugin_share.Expected to always return the following:
JsonValue.from("plugin_share")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_grantedAt
final JsonField<OffsetDateTime> _grantedAt()
Returns the raw JSON value of grantedAt.
Unlike grantedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_pluginId
final JsonField<String> _pluginId()
Returns the raw JSON value of pluginId.
Unlike pluginId, this method doesn't throw if the JSON field has an unexpected type.
-
_target
final JsonField<BetaPluginShare.Target> _target()
Returns the raw JSON value of target.
Unlike target, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaPluginShare.Builder toBuilder()
-
validate
final BetaPluginShare 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 BetaPluginShare.Builder builder()
Returns a mutable builder for constructing an instance of BetaPluginShare.
The following fields are required:
.grantedAt() .pluginId() .target()
-
-
-
-