Name | Type | Description | Notes |
---|---|---|---|
CidrBlock | Pointer to string | Range of network addresses that you want to add to the access list for the API key. This parameter requires the range to be expressed in classless inter-domain routing (CIDR) notation of Internet Protocol version 4 or version 6 addresses. You can set a value for this parameter or ipAddress but not both in the same request. | [optional] |
Count | Pointer to int32 | Total number of requests that have originated from the Internet Protocol (IP) address given as the value of the lastUsedAddress parameter. | [optional] [readonly] |
Created | Pointer to time.Time | Date and time when someone added the network addresses to the specified API access list. This parameter expresses its value in the ISO 8601 timestamp format in UTC. | [optional] [readonly] |
IpAddress | Pointer to string | Network address that you want to add to the access list for the API key. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. You can set a value for this parameter or cidrBlock but not both in the same request. | [optional] |
LastUsed | Pointer to time.Time | Date and time when MongoDB Cloud received the most recent request that originated from this Internet Protocol version 4 or version 6 address. The resource returns this parameter when at least one request has originated from this IP address. MongoDB Cloud updates this parameter each time a client accesses the permitted resource. This parameter expresses its value in the ISO 8601 timestamp format in UTC. | [optional] [readonly] |
LastUsedAddress | Pointer to string | Network address that issued the most recent request to the API. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. The resource returns this parameter after this IP address made at least one request. | [optional] [readonly] |
Links | []Link | List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. | [readonly] |
func NewApiUserAccessListView(links []Link, ) *ApiUserAccessListView
NewApiUserAccessListView instantiates a new ApiUserAccessListView 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
func NewApiUserAccessListViewWithDefaults() *ApiUserAccessListView
NewApiUserAccessListViewWithDefaults instantiates a new ApiUserAccessListView 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
func (o *ApiUserAccessListView) GetCidrBlock() string
GetCidrBlock returns the CidrBlock field if non-nil, zero value otherwise.
func (o *ApiUserAccessListView) GetCidrBlockOk() (*string, bool)
GetCidrBlockOk returns a tuple with the CidrBlock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiUserAccessListView) SetCidrBlock(v string)
SetCidrBlock sets CidrBlock field to given value.
func (o *ApiUserAccessListView) HasCidrBlock() bool
HasCidrBlock returns a boolean if a field has been set.
func (o *ApiUserAccessListView) GetCount() int32
GetCount returns the Count field if non-nil, zero value otherwise.
func (o *ApiUserAccessListView) GetCountOk() (*int32, 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.
func (o *ApiUserAccessListView) SetCount(v int32)
SetCount sets Count field to given value.
func (o *ApiUserAccessListView) HasCount() bool
HasCount returns a boolean if a field has been set.
func (o *ApiUserAccessListView) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *ApiUserAccessListView) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiUserAccessListView) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *ApiUserAccessListView) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *ApiUserAccessListView) GetIpAddress() string
GetIpAddress returns the IpAddress field if non-nil, zero value otherwise.
func (o *ApiUserAccessListView) GetIpAddressOk() (*string, bool)
GetIpAddressOk returns a tuple with the IpAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiUserAccessListView) SetIpAddress(v string)
SetIpAddress sets IpAddress field to given value.
func (o *ApiUserAccessListView) HasIpAddress() bool
HasIpAddress returns a boolean if a field has been set.
func (o *ApiUserAccessListView) GetLastUsed() time.Time
GetLastUsed returns the LastUsed field if non-nil, zero value otherwise.
func (o *ApiUserAccessListView) GetLastUsedOk() (*time.Time, bool)
GetLastUsedOk returns a tuple with the LastUsed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiUserAccessListView) SetLastUsed(v time.Time)
SetLastUsed sets LastUsed field to given value.
func (o *ApiUserAccessListView) HasLastUsed() bool
HasLastUsed returns a boolean if a field has been set.
func (o *ApiUserAccessListView) GetLastUsedAddress() string
GetLastUsedAddress returns the LastUsedAddress field if non-nil, zero value otherwise.
func (o *ApiUserAccessListView) GetLastUsedAddressOk() (*string, bool)
GetLastUsedAddressOk returns a tuple with the LastUsedAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiUserAccessListView) SetLastUsedAddress(v string)
SetLastUsedAddress sets LastUsedAddress field to given value.
func (o *ApiUserAccessListView) HasLastUsedAddress() bool
HasLastUsedAddress returns a boolean if a field has been set.
func (o *ApiUserAccessListView) GetLinks() []Link
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *ApiUserAccessListView) GetLinksOk() (*[]Link, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiUserAccessListView) SetLinks(v []Link)
SetLinks sets Links field to given value.