Name | Type | Description | Notes |
---|---|---|---|
ApiVersion | Pointer to string | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] |
GroupVersion | string | groupVersion is the group and version this APIResourceList is for. | |
Kind | Pointer to string | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] |
Resources | []V1APIResource | resources contains the name of the resources and if they are namespaced. |
func NewV1APIResourceList(groupVersion string, resources []V1APIResource, ) *V1APIResourceList
NewV1APIResourceList instantiates a new V1APIResourceList 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 NewV1APIResourceListWithDefaults() *V1APIResourceList
NewV1APIResourceListWithDefaults instantiates a new V1APIResourceList 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 *V1APIResourceList) GetApiVersion() string
GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise.
func (o *V1APIResourceList) GetApiVersionOk() (*string, bool)
GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1APIResourceList) SetApiVersion(v string)
SetApiVersion sets ApiVersion field to given value.
func (o *V1APIResourceList) HasApiVersion() bool
HasApiVersion returns a boolean if a field has been set.
func (o *V1APIResourceList) GetGroupVersion() string
GetGroupVersion returns the GroupVersion field if non-nil, zero value otherwise.
func (o *V1APIResourceList) GetGroupVersionOk() (*string, bool)
GetGroupVersionOk returns a tuple with the GroupVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1APIResourceList) SetGroupVersion(v string)
SetGroupVersion sets GroupVersion field to given value.
func (o *V1APIResourceList) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
func (o *V1APIResourceList) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1APIResourceList) SetKind(v string)
SetKind sets Kind field to given value.
func (o *V1APIResourceList) HasKind() bool
HasKind returns a boolean if a field has been set.
func (o *V1APIResourceList) GetResources() []V1APIResource
GetResources returns the Resources field if non-nil, zero value otherwise.
func (o *V1APIResourceList) GetResourcesOk() (*[]V1APIResource, bool)
GetResourcesOk returns a tuple with the Resources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1APIResourceList) SetResources(v []V1APIResource)
SetResources sets Resources field to given value.