Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 4.68 KB

BookStatisticsResource.md

File metadata and controls

160 lines (87 loc) · 4.68 KB

BookStatisticsResource

Properties

Name Type Description Notes
BookFileCount Pointer to int32 [optional]
BookCount Pointer to int32 [optional]
TotalBookCount Pointer to int32 [optional]
SizeOnDisk Pointer to int64 [optional]
PercentOfBooks Pointer to float64 [optional] [readonly]

Methods

NewBookStatisticsResource

func NewBookStatisticsResource() *BookStatisticsResource

NewBookStatisticsResource instantiates a new BookStatisticsResource 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

NewBookStatisticsResourceWithDefaults

func NewBookStatisticsResourceWithDefaults() *BookStatisticsResource

NewBookStatisticsResourceWithDefaults instantiates a new BookStatisticsResource 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

GetBookFileCount

func (o *BookStatisticsResource) GetBookFileCount() int32

GetBookFileCount returns the BookFileCount field if non-nil, zero value otherwise.

GetBookFileCountOk

func (o *BookStatisticsResource) GetBookFileCountOk() (*int32, bool)

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

SetBookFileCount

func (o *BookStatisticsResource) SetBookFileCount(v int32)

SetBookFileCount sets BookFileCount field to given value.

HasBookFileCount

func (o *BookStatisticsResource) HasBookFileCount() bool

HasBookFileCount returns a boolean if a field has been set.

GetBookCount

func (o *BookStatisticsResource) GetBookCount() int32

GetBookCount returns the BookCount field if non-nil, zero value otherwise.

GetBookCountOk

func (o *BookStatisticsResource) GetBookCountOk() (*int32, bool)

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

SetBookCount

func (o *BookStatisticsResource) SetBookCount(v int32)

SetBookCount sets BookCount field to given value.

HasBookCount

func (o *BookStatisticsResource) HasBookCount() bool

HasBookCount returns a boolean if a field has been set.

GetTotalBookCount

func (o *BookStatisticsResource) GetTotalBookCount() int32

GetTotalBookCount returns the TotalBookCount field if non-nil, zero value otherwise.

GetTotalBookCountOk

func (o *BookStatisticsResource) GetTotalBookCountOk() (*int32, bool)

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

SetTotalBookCount

func (o *BookStatisticsResource) SetTotalBookCount(v int32)

SetTotalBookCount sets TotalBookCount field to given value.

HasTotalBookCount

func (o *BookStatisticsResource) HasTotalBookCount() bool

HasTotalBookCount returns a boolean if a field has been set.

GetSizeOnDisk

func (o *BookStatisticsResource) GetSizeOnDisk() int64

GetSizeOnDisk returns the SizeOnDisk field if non-nil, zero value otherwise.

GetSizeOnDiskOk

func (o *BookStatisticsResource) GetSizeOnDiskOk() (*int64, bool)

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

SetSizeOnDisk

func (o *BookStatisticsResource) SetSizeOnDisk(v int64)

SetSizeOnDisk sets SizeOnDisk field to given value.

HasSizeOnDisk

func (o *BookStatisticsResource) HasSizeOnDisk() bool

HasSizeOnDisk returns a boolean if a field has been set.

GetPercentOfBooks

func (o *BookStatisticsResource) GetPercentOfBooks() float64

GetPercentOfBooks returns the PercentOfBooks field if non-nil, zero value otherwise.

GetPercentOfBooksOk

func (o *BookStatisticsResource) GetPercentOfBooksOk() (*float64, bool)

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

SetPercentOfBooks

func (o *BookStatisticsResource) SetPercentOfBooks(v float64)

SetPercentOfBooks sets PercentOfBooks field to given value.

HasPercentOfBooks

func (o *BookStatisticsResource) HasPercentOfBooks() bool

HasPercentOfBooks returns a boolean if a field has been set.

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