Class ShareCreateParams.Body
-
- All Implemented Interfaces:
public final class ShareCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classShareCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final StringtargetOrgId()final Optional<OffsetDateTime>expiresAt()final Optional<ShareCreateParams.Permission>permission()final JsonField<String>_targetOrgId()Returns the raw JSON value of targetOrgId. final JsonField<OffsetDateTime>_expiresAt()Returns the raw JSON value of expiresAt. final JsonField<ShareCreateParams.Permission>_permission()Returns the raw JSON value of permission. final Map<String, JsonValue>_additionalProperties()final ShareCreateParams.Body.BuildertoBuilder()final ShareCreateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ShareCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
targetOrgId
final String targetOrgId()
-
expiresAt
final Optional<OffsetDateTime> expiresAt()
-
permission
final Optional<ShareCreateParams.Permission> permission()
-
_targetOrgId
final JsonField<String> _targetOrgId()
Returns the raw JSON value of targetOrgId.
Unlike targetOrgId, this method doesn't throw if the JSON field has an unexpected type.
-
_expiresAt
final JsonField<OffsetDateTime> _expiresAt()
Returns the raw JSON value of expiresAt.
Unlike expiresAt, this method doesn't throw if the JSON field has an unexpected type.
-
_permission
final JsonField<ShareCreateParams.Permission> _permission()
Returns the raw JSON value of permission.
Unlike permission, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ShareCreateParams.Body.Builder toBuilder()
-
validate
final ShareCreateParams.Body 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 ShareCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.targetOrgId()
-
-
-
-