Files
sdk/docs/UsageReportResp.md

2.5 KiB

UsageReportResp

Properties

Name Type Description Notes
Accepted Pointer to int64 Accepted is how many samples passed validation. Every one of them was accepted, or the whole report was refused — there is no partial success. [optional]
Stored Pointer to bool Stored is whether the warehouse actually persisted them. False means the datastore was unavailable and the poll of history was lost; the request still succeeded, so a device retries without being blocked. [optional]

Methods

NewUsageReportResp

func NewUsageReportResp() *UsageReportResp

NewUsageReportResp instantiates a new UsageReportResp 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

NewUsageReportRespWithDefaults

func NewUsageReportRespWithDefaults() *UsageReportResp

NewUsageReportRespWithDefaults instantiates a new UsageReportResp 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

GetAccepted

func (o *UsageReportResp) GetAccepted() int64

GetAccepted returns the Accepted field if non-nil, zero value otherwise.

GetAcceptedOk

func (o *UsageReportResp) GetAcceptedOk() (*int64, bool)

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

SetAccepted

func (o *UsageReportResp) SetAccepted(v int64)

SetAccepted sets Accepted field to given value.

HasAccepted

func (o *UsageReportResp) HasAccepted() bool

HasAccepted returns a boolean if a field has been set.

GetStored

func (o *UsageReportResp) GetStored() bool

GetStored returns the Stored field if non-nil, zero value otherwise.

GetStoredOk

func (o *UsageReportResp) GetStoredOk() (*bool, bool)

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

SetStored

func (o *UsageReportResp) SetStored(v bool)

SetStored sets Stored field to given value.

HasStored

func (o *UsageReportResp) HasStored() bool

HasStored returns a boolean if a field has been set.

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