2.3 KiB
UsageUsageScope
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Org | Pointer to string | Org is the IAM org slug the rows were read under — the validated principal's, never a client header. | [optional] |
| User | Pointer to string | User is the caller's own subject, whose linked-account rows the accounts block carries. Absent on a read that is org-scoped only. | [optional] |
Methods
NewUsageUsageScope
func NewUsageUsageScope() *UsageUsageScope
NewUsageUsageScope instantiates a new UsageUsageScope 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
NewUsageUsageScopeWithDefaults
func NewUsageUsageScopeWithDefaults() *UsageUsageScope
NewUsageUsageScopeWithDefaults instantiates a new UsageUsageScope 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
GetOrg
func (o *UsageUsageScope) GetOrg() string
GetOrg returns the Org field if non-nil, zero value otherwise.
GetOrgOk
func (o *UsageUsageScope) GetOrgOk() (*string, bool)
GetOrgOk returns a tuple with the Org field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOrg
func (o *UsageUsageScope) SetOrg(v string)
SetOrg sets Org field to given value.
HasOrg
func (o *UsageUsageScope) HasOrg() bool
HasOrg returns a boolean if a field has been set.
GetUser
func (o *UsageUsageScope) GetUser() string
GetUser returns the User field if non-nil, zero value otherwise.
GetUserOk
func (o *UsageUsageScope) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUser
func (o *UsageUsageScope) SetUser(v string)
SetUser sets User field to given value.
HasUser
func (o *UsageUsageScope) HasUser() bool
HasUser returns a boolean if a field has been set.