Files
sdk/docs/PostAiAssets200Response.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

3.6 KiB

PostAiAssets200Response

Properties

Name Type Description Notes
Data Pointer to Asset [optional]
Data2 Pointer to interface{} [optional]
Msg string Empty on success, the reason on failure.
Status string

Methods

NewPostAiAssets200Response

func NewPostAiAssets200Response(msg string, status string, ) *PostAiAssets200Response

NewPostAiAssets200Response instantiates a new PostAiAssets200Response 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

NewPostAiAssets200ResponseWithDefaults

func NewPostAiAssets200ResponseWithDefaults() *PostAiAssets200Response

NewPostAiAssets200ResponseWithDefaults instantiates a new PostAiAssets200Response 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

GetData

func (o *PostAiAssets200Response) GetData() Asset

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *PostAiAssets200Response) GetDataOk() (*Asset, bool)

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

SetData

func (o *PostAiAssets200Response) SetData(v Asset)

SetData sets Data field to given value.

HasData

func (o *PostAiAssets200Response) HasData() bool

HasData returns a boolean if a field has been set.

GetData2

func (o *PostAiAssets200Response) GetData2() interface{}

GetData2 returns the Data2 field if non-nil, zero value otherwise.

GetData2Ok

func (o *PostAiAssets200Response) GetData2Ok() (*interface{}, bool)

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

SetData2

func (o *PostAiAssets200Response) SetData2(v interface{})

SetData2 sets Data2 field to given value.

HasData2

func (o *PostAiAssets200Response) HasData2() bool

HasData2 returns a boolean if a field has been set.

SetData2Nil

func (o *PostAiAssets200Response) SetData2Nil(b bool)

SetData2Nil sets the value for Data2 to be an explicit nil

UnsetData2

func (o *PostAiAssets200Response) UnsetData2()

UnsetData2 ensures that no value is present for Data2, not even an explicit nil

GetMsg

func (o *PostAiAssets200Response) GetMsg() string

GetMsg returns the Msg field if non-nil, zero value otherwise.

GetMsgOk

func (o *PostAiAssets200Response) GetMsgOk() (*string, bool)

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

SetMsg

func (o *PostAiAssets200Response) SetMsg(v string)

SetMsg sets Msg field to given value.

GetStatus

func (o *PostAiAssets200Response) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *PostAiAssets200Response) GetStatusOk() (*string, bool)

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

SetStatus

func (o *PostAiAssets200Response) SetStatus(v string)

SetStatus sets Status field to given value.

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