Class MatterPartyCreateParams
-
- All Implemented Interfaces:
-
dev.case.api.core.Params
public final class MatterPartyCreateParams implements Params
Attach a reusable party to a matter with a matter-specific role.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMatterPartyCreateParams.BuilderA builder for MatterPartyCreateParams.
public final classMatterPartyCreateParams.Bodypublic final classMatterPartyCreateParams.Rolepublic final classMatterPartyCreateParams.CustomFieldspublic final classMatterPartyCreateParams.Metadata
-
Method Summary
Modifier and Type Method Description final Optional<String>id()final StringpartyId()final MatterPartyCreateParams.Rolerole()final Optional<MatterPartyCreateParams.CustomFields>customFields()final Optional<Boolean>isPrimary()final Optional<MatterPartyCreateParams.Metadata>metadata()final Optional<String>notes()final Optional<Boolean>setAsClient()final JsonField<String>_partyId()Returns the raw JSON value of partyId. final JsonField<MatterPartyCreateParams.Role>_role()Returns the raw JSON value of role. final JsonField<MatterPartyCreateParams.CustomFields>_customFields()Returns the raw JSON value of customFields. final JsonField<Boolean>_isPrimary()Returns the raw JSON value of isPrimary. final JsonField<MatterPartyCreateParams.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<String>_notes()Returns the raw JSON value of notes. final JsonField<Boolean>_setAsClient()Returns the raw JSON value of setAsClient. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final MatterPartyCreateParams.BuildertoBuilder()final MatterPartyCreateParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static MatterPartyCreateParams.Builderbuilder()Returns a mutable builder for constructing an instance of MatterPartyCreateParams. -
-
Method Detail
-
role
final MatterPartyCreateParams.Role role()
-
customFields
final Optional<MatterPartyCreateParams.CustomFields> customFields()
-
metadata
final Optional<MatterPartyCreateParams.Metadata> metadata()
-
setAsClient
final Optional<Boolean> setAsClient()
-
_partyId
final JsonField<String> _partyId()
Returns the raw JSON value of partyId.
Unlike partyId, this method doesn't throw if the JSON field has an unexpected type.
-
_role
final JsonField<MatterPartyCreateParams.Role> _role()
Returns the raw JSON value of role.
Unlike role, this method doesn't throw if the JSON field has an unexpected type.
-
_customFields
final JsonField<MatterPartyCreateParams.CustomFields> _customFields()
Returns the raw JSON value of customFields.
Unlike customFields, this method doesn't throw if the JSON field has an unexpected type.
-
_isPrimary
final JsonField<Boolean> _isPrimary()
Returns the raw JSON value of isPrimary.
Unlike isPrimary, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<MatterPartyCreateParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_notes
final JsonField<String> _notes()
Returns the raw JSON value of notes.
Unlike notes, this method doesn't throw if the JSON field has an unexpected type.
-
_setAsClient
final JsonField<Boolean> _setAsClient()
Returns the raw JSON value of setAsClient.
Unlike setAsClient, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final MatterPartyCreateParams.Builder toBuilder()
-
_body
final MatterPartyCreateParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static MatterPartyCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of MatterPartyCreateParams.
The following fields are required:
.partyId() .role()
-
-
-
-