Class OrganizationUpdateParams
-
- All Implemented Interfaces:
-
com.braintrustdata.api.core.Params
public final class OrganizationUpdateParams implements Params
Partially update an organization object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOrganizationUpdateParams.Bodypublic final classOrganizationUpdateParams.BuilderA builder for OrganizationUpdateParams.
-
Method Summary
Modifier and Type Method Description final StringorganizationId()Organization id final Optional<String>apiUrl()final Optional<Boolean>isUniversalApi()final Optional<String>name()Name of the organization final Optional<String>proxyUrl()final Optional<String>realtimeUrl()final JsonField<String>_apiUrl()Returns the raw JSON value of apiUrl. final JsonField<Boolean>_isUniversalApi()Returns the raw JSON value of isUniversalApi. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_proxyUrl()Returns the raw JSON value of proxyUrl. final JsonField<String>_realtimeUrl()Returns the raw JSON value of realtimeUrl. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()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. final StringgetPathParam(Integer index)final OrganizationUpdateParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OrganizationUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of OrganizationUpdateParams. -
-
Method Detail
-
organizationId
final String organizationId()
Organization id
-
isUniversalApi
final Optional<Boolean> isUniversalApi()
-
realtimeUrl
final Optional<String> realtimeUrl()
-
_apiUrl
final JsonField<String> _apiUrl()
Returns the raw JSON value of apiUrl.
Unlike apiUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_isUniversalApi
final JsonField<Boolean> _isUniversalApi()
Returns the raw JSON value of isUniversalApi.
Unlike isUniversalApi, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_proxyUrl
final JsonField<String> _proxyUrl()
Returns the raw JSON value of proxyUrl.
Unlike proxyUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_realtimeUrl
final JsonField<String> _realtimeUrl()
Returns the raw JSON value of realtimeUrl.
Unlike realtimeUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
_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.
-
getPathParam
final String getPathParam(Integer index)
-
toBuilder
final OrganizationUpdateParams.Builder toBuilder()
-
builder
final static OrganizationUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of OrganizationUpdateParams.
The following fields are required:
.organizationId()
-
-
-
-