Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.68 KB

File metadata and controls

82 lines (45 loc) · 2.68 KB

GetAIUsageStats200ResponseByModelValue

Properties

Name Type Description Notes
Requests Pointer to int32 Number of requests for this model [optional]
Tokens Pointer to int32 Total tokens for this model [optional]

Methods

NewGetAIUsageStats200ResponseByModelValue

func NewGetAIUsageStats200ResponseByModelValue() *GetAIUsageStats200ResponseByModelValue

NewGetAIUsageStats200ResponseByModelValue instantiates a new GetAIUsageStats200ResponseByModelValue 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

NewGetAIUsageStats200ResponseByModelValueWithDefaults

func NewGetAIUsageStats200ResponseByModelValueWithDefaults() *GetAIUsageStats200ResponseByModelValue

NewGetAIUsageStats200ResponseByModelValueWithDefaults instantiates a new GetAIUsageStats200ResponseByModelValue 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

GetRequests

func (o *GetAIUsageStats200ResponseByModelValue) GetRequests() int32

GetRequests returns the Requests field if non-nil, zero value otherwise.

GetRequestsOk

func (o *GetAIUsageStats200ResponseByModelValue) GetRequestsOk() (*int32, bool)

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

SetRequests

func (o *GetAIUsageStats200ResponseByModelValue) SetRequests(v int32)

SetRequests sets Requests field to given value.

HasRequests

func (o *GetAIUsageStats200ResponseByModelValue) HasRequests() bool

HasRequests returns a boolean if a field has been set.

GetTokens

func (o *GetAIUsageStats200ResponseByModelValue) GetTokens() int32

GetTokens returns the Tokens field if non-nil, zero value otherwise.

GetTokensOk

func (o *GetAIUsageStats200ResponseByModelValue) GetTokensOk() (*int32, bool)

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

SetTokens

func (o *GetAIUsageStats200ResponseByModelValue) SetTokens(v int32)

SetTokens sets Tokens field to given value.

HasTokens

func (o *GetAIUsageStats200ResponseByModelValue) HasTokens() bool

HasTokens returns a boolean if a field has been set.

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