Class DataRetentionUpdateParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class DataRetentionUpdateParams implements Params
Updates organization data retention controls.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDataRetentionUpdateParams.BuilderA builder for DataRetentionUpdateParams.
public final classDataRetentionUpdateParams.BodyParameters for updating organization data retention controls.
public final classDataRetentionUpdateParams.RetentionTypeThe desired organization data retention type.
-
Method Summary
Modifier and Type Method Description final DataRetentionUpdateParams.RetentionTyperetentionType()The desired organization data retention type. final JsonField<DataRetentionUpdateParams.RetentionType>_retentionType()Returns the raw JSON value of retentionType. 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 DataRetentionUpdateParams.BuildertoBuilder()final DataRetentionUpdateParams.Body_body()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 DataRetentionUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of DataRetentionUpdateParams. -
-
Method Detail
-
retentionType
final DataRetentionUpdateParams.RetentionType retentionType()
The desired organization data retention type.
-
_retentionType
final JsonField<DataRetentionUpdateParams.RetentionType> _retentionType()
Returns the raw JSON value of retentionType.
Unlike retentionType, 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 DataRetentionUpdateParams.Builder toBuilder()
-
_body
final DataRetentionUpdateParams.Body _body()
-
_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 DataRetentionUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of DataRetentionUpdateParams.
The following fields are required:
.retentionType()
-
-
-
-