Files
sdk/docs/OpenaiContentFilterResults.md
zeekay 6f6e5d1367 Regenerate: the AI surface says what it answers
288 of hanzoai/ai's 294 operations now declare a response, against 1 before.
GET /v1/models, POST /v1/chat/completions, /v1/embeddings, /v1/messages —
every address a client actually calls — used to reach this client untyped,
because cloud's relay carried an operation's sentence and dropped the shapes
it named. It carries both now.

Fleet-wide the document goes from 69% to 81% of operations declaring what
comes back, which is where the ~208 new models here come from.
2026-08-28 15:52:09 -07:00

5.4 KiB

OpenaiContentFilterResults

Properties

Name Type Description Notes
Hate Pointer to OpenaiHate [optional]
Jailbreak Pointer to OpenaiJailBreak [optional]
Profanity Pointer to OpenaiProfanity [optional]
SelfHarm Pointer to OpenaiSelfHarm [optional]
Sexual Pointer to OpenaiSexual [optional]
Violence Pointer to OpenaiViolence [optional]

Methods

NewOpenaiContentFilterResults

func NewOpenaiContentFilterResults() *OpenaiContentFilterResults

NewOpenaiContentFilterResults instantiates a new OpenaiContentFilterResults object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewOpenaiContentFilterResultsWithDefaults

func NewOpenaiContentFilterResultsWithDefaults() *OpenaiContentFilterResults

NewOpenaiContentFilterResultsWithDefaults instantiates a new OpenaiContentFilterResults object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetHate

func (o *OpenaiContentFilterResults) GetHate() OpenaiHate

GetHate returns the Hate field if non-nil, zero value otherwise.

GetHateOk

func (o *OpenaiContentFilterResults) GetHateOk() (*OpenaiHate, bool)

GetHateOk returns a tuple with the Hate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHate

func (o *OpenaiContentFilterResults) SetHate(v OpenaiHate)

SetHate sets Hate field to given value.

HasHate

func (o *OpenaiContentFilterResults) HasHate() bool

HasHate returns a boolean if a field has been set.

GetJailbreak

func (o *OpenaiContentFilterResults) GetJailbreak() OpenaiJailBreak

GetJailbreak returns the Jailbreak field if non-nil, zero value otherwise.

GetJailbreakOk

func (o *OpenaiContentFilterResults) GetJailbreakOk() (*OpenaiJailBreak, bool)

GetJailbreakOk returns a tuple with the Jailbreak field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetJailbreak

func (o *OpenaiContentFilterResults) SetJailbreak(v OpenaiJailBreak)

SetJailbreak sets Jailbreak field to given value.

HasJailbreak

func (o *OpenaiContentFilterResults) HasJailbreak() bool

HasJailbreak returns a boolean if a field has been set.

GetProfanity

func (o *OpenaiContentFilterResults) GetProfanity() OpenaiProfanity

GetProfanity returns the Profanity field if non-nil, zero value otherwise.

GetProfanityOk

func (o *OpenaiContentFilterResults) GetProfanityOk() (*OpenaiProfanity, bool)

GetProfanityOk returns a tuple with the Profanity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProfanity

func (o *OpenaiContentFilterResults) SetProfanity(v OpenaiProfanity)

SetProfanity sets Profanity field to given value.

HasProfanity

func (o *OpenaiContentFilterResults) HasProfanity() bool

HasProfanity returns a boolean if a field has been set.

GetSelfHarm

func (o *OpenaiContentFilterResults) GetSelfHarm() OpenaiSelfHarm

GetSelfHarm returns the SelfHarm field if non-nil, zero value otherwise.

GetSelfHarmOk

func (o *OpenaiContentFilterResults) GetSelfHarmOk() (*OpenaiSelfHarm, bool)

GetSelfHarmOk returns a tuple with the SelfHarm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSelfHarm

func (o *OpenaiContentFilterResults) SetSelfHarm(v OpenaiSelfHarm)

SetSelfHarm sets SelfHarm field to given value.

HasSelfHarm

func (o *OpenaiContentFilterResults) HasSelfHarm() bool

HasSelfHarm returns a boolean if a field has been set.

GetSexual

func (o *OpenaiContentFilterResults) GetSexual() OpenaiSexual

GetSexual returns the Sexual field if non-nil, zero value otherwise.

GetSexualOk

func (o *OpenaiContentFilterResults) GetSexualOk() (*OpenaiSexual, bool)

GetSexualOk returns a tuple with the Sexual field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSexual

func (o *OpenaiContentFilterResults) SetSexual(v OpenaiSexual)

SetSexual sets Sexual field to given value.

HasSexual

func (o *OpenaiContentFilterResults) HasSexual() bool

HasSexual returns a boolean if a field has been set.

GetViolence

func (o *OpenaiContentFilterResults) GetViolence() OpenaiViolence

GetViolence returns the Violence field if non-nil, zero value otherwise.

GetViolenceOk

func (o *OpenaiContentFilterResults) GetViolenceOk() (*OpenaiViolence, bool)

GetViolenceOk returns a tuple with the Violence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetViolence

func (o *OpenaiContentFilterResults) SetViolence(v OpenaiViolence)

SetViolence sets Violence field to given value.

HasViolence

func (o *OpenaiContentFilterResults) HasViolence() bool

HasViolence returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]