Files
developer.sailpoint.com/docs/tools/sdk/go/Reference/V2024/Models/AccountUsage.md
2025-04-02 17:07:25 -04:00

2.4 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
v2024-account-usage AccountUsage AccountUsage AccountUsage gosdk
go
Golang
sdk
AccountUsage
V2024AccountUsage
/tools/sdk/go/v2024/models/account-usage
SDK
Software Development Kit
AccountUsage
V2024AccountUsage

AccountUsage

Properties

Name Type Description Notes
Date Pointer to string The first day of the month for which activity is aggregated. [optional]
Count Pointer to int64 The number of days within the month that the account was active in a source. [optional]

Methods

NewAccountUsage

func NewAccountUsage() *AccountUsage

NewAccountUsage instantiates a new AccountUsage 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

NewAccountUsageWithDefaults

func NewAccountUsageWithDefaults() *AccountUsage

NewAccountUsageWithDefaults instantiates a new AccountUsage 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

GetDate

func (o *AccountUsage) GetDate() string

GetDate returns the Date field if non-nil, zero value otherwise.

GetDateOk

func (o *AccountUsage) GetDateOk() (*string, bool)

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

SetDate

func (o *AccountUsage) SetDate(v string)

SetDate sets Date field to given value.

HasDate

func (o *AccountUsage) HasDate() bool

HasDate returns a boolean if a field has been set.

GetCount

func (o *AccountUsage) GetCount() int64

GetCount returns the Count field if non-nil, zero value otherwise.

GetCountOk

func (o *AccountUsage) GetCountOk() (*int64, bool)

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

SetCount

func (o *AccountUsage) SetCount(v int64)

SetCount sets Count field to given value.

HasCount

func (o *AccountUsage) HasCount() bool

HasCount returns a boolean if a field has been set.