Documentation ¶
Index ¶
- Constants
- Variables
- func MarshalAccessReviewRequest(object *AccessReviewRequest, writer io.Writer) error
- func MarshalAccessReviewRequestList(list []*AccessReviewRequest, writer io.Writer) error
- func MarshalAccessReviewResponse(object *AccessReviewResponse, writer io.Writer) error
- func MarshalAccessReviewResponseList(list []*AccessReviewResponse, writer io.Writer) error
- func MarshalBooleanList(list []bool, writer io.Writer) error
- func MarshalCapabilityReviewRequest(object *CapabilityReviewRequest, writer io.Writer) error
- func MarshalCapabilityReviewRequestList(list []*CapabilityReviewRequest, writer io.Writer) error
- func MarshalCapabilityReviewResponse(object *CapabilityReviewResponse, writer io.Writer) error
- func MarshalCapabilityReviewResponseList(list []*CapabilityReviewResponse, writer io.Writer) error
- func MarshalDateList(list []time.Time, writer io.Writer) error
- func MarshalExportControlReviewRequest(object *ExportControlReviewRequest, writer io.Writer) error
- func MarshalExportControlReviewRequestList(list []*ExportControlReviewRequest, writer io.Writer) error
- func MarshalExportControlReviewResponse(object *ExportControlReviewResponse, writer io.Writer) error
- func MarshalExportControlReviewResponseList(list []*ExportControlReviewResponse, writer io.Writer) error
- func MarshalFeatureReviewRequest(object *FeatureReviewRequest, writer io.Writer) error
- func MarshalFeatureReviewRequestList(list []*FeatureReviewRequest, writer io.Writer) error
- func MarshalFeatureReviewResponse(object *FeatureReviewResponse, writer io.Writer) error
- func MarshalFeatureReviewResponseList(list []*FeatureReviewResponse, writer io.Writer) error
- func MarshalFloatList(list []float64, writer io.Writer) error
- func MarshalIntegerList(list []int, writer io.Writer) error
- func MarshalInterfaceList(list []interface{}, writer io.Writer) error
- func MarshalLongList(list []int64, writer io.Writer) error
- func MarshalMetadata(object *Metadata, writer io.Writer) error
- func MarshalResourceReview(object *ResourceReview, writer io.Writer) error
- func MarshalResourceReviewList(list []*ResourceReview, writer io.Writer) error
- func MarshalResourceReviewRequest(object *ResourceReviewRequest, writer io.Writer) error
- func MarshalResourceReviewRequestList(list []*ResourceReviewRequest, writer io.Writer) error
- func MarshalSelfAccessReviewRequest(object *SelfAccessReviewRequest, writer io.Writer) error
- func MarshalSelfAccessReviewRequestList(list []*SelfAccessReviewRequest, writer io.Writer) error
- func MarshalSelfAccessReviewResponse(object *SelfAccessReviewResponse, writer io.Writer) error
- func MarshalSelfAccessReviewResponseList(list []*SelfAccessReviewResponse, writer io.Writer) error
- func MarshalSelfCapabilityReviewRequest(object *SelfCapabilityReviewRequest, writer io.Writer) error
- func MarshalSelfCapabilityReviewRequestList(list []*SelfCapabilityReviewRequest, writer io.Writer) error
- func MarshalSelfCapabilityReviewResponse(object *SelfCapabilityReviewResponse, writer io.Writer) error
- func MarshalSelfCapabilityReviewResponseList(list []*SelfCapabilityReviewResponse, writer io.Writer) error
- func MarshalSelfFeatureReviewRequest(object *SelfFeatureReviewRequest, writer io.Writer) error
- func MarshalSelfFeatureReviewRequestList(list []*SelfFeatureReviewRequest, writer io.Writer) error
- func MarshalSelfFeatureReviewResponse(object *SelfFeatureReviewResponse, writer io.Writer) error
- func MarshalSelfFeatureReviewResponseList(list []*SelfFeatureReviewResponse, writer io.Writer) error
- func MarshalSelfTermsReviewRequest(object *SelfTermsReviewRequest, writer io.Writer) error
- func MarshalSelfTermsReviewRequestList(list []*SelfTermsReviewRequest, writer io.Writer) error
- func MarshalStringList(list []string, writer io.Writer) error
- func MarshalSubscriptionStatusList(list []SubscriptionStatus, writer io.Writer) error
- func MarshalTermsReviewRequest(object *TermsReviewRequest, writer io.Writer) error
- func MarshalTermsReviewRequestList(list []*TermsReviewRequest, writer io.Writer) error
- func MarshalTermsReviewResponse(object *TermsReviewResponse, writer io.Writer) error
- func MarshalTermsReviewResponseList(list []*TermsReviewResponse, writer io.Writer) error
- func UnmarshalBooleanList(source interface{}) (items []bool, err error)
- func UnmarshalDateList(source interface{}) (items []time.Time, err error)
- func UnmarshalFloatList(source interface{}) (items []float64, err error)
- func UnmarshalIntegerList(source interface{}) (items []int, err error)
- func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)
- func UnmarshalLongList(source interface{}) (items []int64, err error)
- func UnmarshalStringList(source interface{}) (items []string, err error)
- type AccessReviewClient
- type AccessReviewPostRequest
- func (r *AccessReviewPostRequest) Header(name string, value interface{}) *AccessReviewPostRequest
- func (r *AccessReviewPostRequest) Impersonate(user string) *AccessReviewPostRequest
- func (r *AccessReviewPostRequest) Parameter(name string, value interface{}) *AccessReviewPostRequest
- func (r *AccessReviewPostRequest) Request(value *AccessReviewRequest) *AccessReviewPostRequest
- func (r *AccessReviewPostRequest) Send() (result *AccessReviewPostResponse, err error)
- func (r *AccessReviewPostRequest) SendContext(ctx context.Context) (result *AccessReviewPostResponse, err error)
- type AccessReviewPostResponse
- func (r *AccessReviewPostResponse) Error() *errors.Error
- func (r *AccessReviewPostResponse) GetResponse() (value *AccessReviewResponse, ok bool)
- func (r *AccessReviewPostResponse) Header() http.Header
- func (r *AccessReviewPostResponse) Response() *AccessReviewResponse
- func (r *AccessReviewPostResponse) Status() int
- type AccessReviewRequest
- func (o *AccessReviewRequest) AccountUsername() string
- func (o *AccessReviewRequest) Action() string
- func (o *AccessReviewRequest) ClusterID() string
- func (o *AccessReviewRequest) ClusterUUID() string
- func (o *AccessReviewRequest) Empty() bool
- func (o *AccessReviewRequest) GetAccountUsername() (value string, ok bool)
- func (o *AccessReviewRequest) GetAction() (value string, ok bool)
- func (o *AccessReviewRequest) GetClusterID() (value string, ok bool)
- func (o *AccessReviewRequest) GetClusterUUID() (value string, ok bool)
- func (o *AccessReviewRequest) GetOrganizationID() (value string, ok bool)
- func (o *AccessReviewRequest) GetResourceType() (value string, ok bool)
- func (o *AccessReviewRequest) GetSubscriptionID() (value string, ok bool)
- func (o *AccessReviewRequest) OrganizationID() string
- func (o *AccessReviewRequest) ResourceType() string
- func (o *AccessReviewRequest) SubscriptionID() string
- type AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) AccountUsername(value string) *AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) Action(value string) *AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) Build() (object *AccessReviewRequest, err error)
- func (b *AccessReviewRequestBuilder) ClusterID(value string) *AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) ClusterUUID(value string) *AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) Copy(object *AccessReviewRequest) *AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) Empty() bool
- func (b *AccessReviewRequestBuilder) OrganizationID(value string) *AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) ResourceType(value string) *AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) SubscriptionID(value string) *AccessReviewRequestBuilder
- type AccessReviewRequestList
- func (l *AccessReviewRequestList) Each(f func(item *AccessReviewRequest) bool)
- func (l *AccessReviewRequestList) Empty() bool
- func (l *AccessReviewRequestList) Get(i int) *AccessReviewRequest
- func (l *AccessReviewRequestList) Len() int
- func (l *AccessReviewRequestList) Range(f func(index int, item *AccessReviewRequest) bool)
- func (l *AccessReviewRequestList) Slice() []*AccessReviewRequest
- type AccessReviewRequestListBuilder
- func (b *AccessReviewRequestListBuilder) Build() (list *AccessReviewRequestList, err error)
- func (b *AccessReviewRequestListBuilder) Copy(list *AccessReviewRequestList) *AccessReviewRequestListBuilder
- func (b *AccessReviewRequestListBuilder) Empty() bool
- func (b *AccessReviewRequestListBuilder) Items(values ...*AccessReviewRequestBuilder) *AccessReviewRequestListBuilder
- type AccessReviewResponse
- func (o *AccessReviewResponse) AccountUsername() string
- func (o *AccessReviewResponse) Action() string
- func (o *AccessReviewResponse) Allowed() bool
- func (o *AccessReviewResponse) ClusterID() string
- func (o *AccessReviewResponse) ClusterUUID() string
- func (o *AccessReviewResponse) Empty() bool
- func (o *AccessReviewResponse) GetAccountUsername() (value string, ok bool)
- func (o *AccessReviewResponse) GetAction() (value string, ok bool)
- func (o *AccessReviewResponse) GetAllowed() (value bool, ok bool)
- func (o *AccessReviewResponse) GetClusterID() (value string, ok bool)
- func (o *AccessReviewResponse) GetClusterUUID() (value string, ok bool)
- func (o *AccessReviewResponse) GetOrganizationID() (value string, ok bool)
- func (o *AccessReviewResponse) GetResourceType() (value string, ok bool)
- func (o *AccessReviewResponse) GetSubscriptionID() (value string, ok bool)
- func (o *AccessReviewResponse) OrganizationID() string
- func (o *AccessReviewResponse) ResourceType() string
- func (o *AccessReviewResponse) SubscriptionID() string
- type AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) AccountUsername(value string) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) Action(value string) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) Allowed(value bool) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) Build() (object *AccessReviewResponse, err error)
- func (b *AccessReviewResponseBuilder) ClusterID(value string) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) ClusterUUID(value string) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) Copy(object *AccessReviewResponse) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) Empty() bool
- func (b *AccessReviewResponseBuilder) OrganizationID(value string) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) ResourceType(value string) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) SubscriptionID(value string) *AccessReviewResponseBuilder
- type AccessReviewResponseList
- func (l *AccessReviewResponseList) Each(f func(item *AccessReviewResponse) bool)
- func (l *AccessReviewResponseList) Empty() bool
- func (l *AccessReviewResponseList) Get(i int) *AccessReviewResponse
- func (l *AccessReviewResponseList) Len() int
- func (l *AccessReviewResponseList) Range(f func(index int, item *AccessReviewResponse) bool)
- func (l *AccessReviewResponseList) Slice() []*AccessReviewResponse
- type AccessReviewResponseListBuilder
- func (b *AccessReviewResponseListBuilder) Build() (list *AccessReviewResponseList, err error)
- func (b *AccessReviewResponseListBuilder) Copy(list *AccessReviewResponseList) *AccessReviewResponseListBuilder
- func (b *AccessReviewResponseListBuilder) Empty() bool
- func (b *AccessReviewResponseListBuilder) Items(values ...*AccessReviewResponseBuilder) *AccessReviewResponseListBuilder
- type CapabilityReviewClient
- type CapabilityReviewPostRequest
- func (r *CapabilityReviewPostRequest) Header(name string, value interface{}) *CapabilityReviewPostRequest
- func (r *CapabilityReviewPostRequest) Impersonate(user string) *CapabilityReviewPostRequest
- func (r *CapabilityReviewPostRequest) Parameter(name string, value interface{}) *CapabilityReviewPostRequest
- func (r *CapabilityReviewPostRequest) Request(value *CapabilityReviewRequest) *CapabilityReviewPostRequest
- func (r *CapabilityReviewPostRequest) Send() (result *CapabilityReviewPostResponse, err error)
- func (r *CapabilityReviewPostRequest) SendContext(ctx context.Context) (result *CapabilityReviewPostResponse, err error)
- type CapabilityReviewPostResponse
- func (r *CapabilityReviewPostResponse) Error() *errors.Error
- func (r *CapabilityReviewPostResponse) GetResponse() (value *CapabilityReviewResponse, ok bool)
- func (r *CapabilityReviewPostResponse) Header() http.Header
- func (r *CapabilityReviewPostResponse) Response() *CapabilityReviewResponse
- func (r *CapabilityReviewPostResponse) Status() int
- type CapabilityReviewRequest
- func (o *CapabilityReviewRequest) AccountUsername() string
- func (o *CapabilityReviewRequest) Capability() string
- func (o *CapabilityReviewRequest) ClusterID() string
- func (o *CapabilityReviewRequest) Empty() bool
- func (o *CapabilityReviewRequest) GetAccountUsername() (value string, ok bool)
- func (o *CapabilityReviewRequest) GetCapability() (value string, ok bool)
- func (o *CapabilityReviewRequest) GetClusterID() (value string, ok bool)
- func (o *CapabilityReviewRequest) GetOrganizationID() (value string, ok bool)
- func (o *CapabilityReviewRequest) GetResourceType() (value string, ok bool)
- func (o *CapabilityReviewRequest) GetSubscriptionID() (value string, ok bool)
- func (o *CapabilityReviewRequest) GetType() (value string, ok bool)
- func (o *CapabilityReviewRequest) OrganizationID() string
- func (o *CapabilityReviewRequest) ResourceType() string
- func (o *CapabilityReviewRequest) SubscriptionID() string
- func (o *CapabilityReviewRequest) Type() string
- type CapabilityReviewRequestBuilder
- func (b *CapabilityReviewRequestBuilder) AccountUsername(value string) *CapabilityReviewRequestBuilder
- func (b *CapabilityReviewRequestBuilder) Build() (object *CapabilityReviewRequest, err error)
- func (b *CapabilityReviewRequestBuilder) Capability(value string) *CapabilityReviewRequestBuilder
- func (b *CapabilityReviewRequestBuilder) ClusterID(value string) *CapabilityReviewRequestBuilder
- func (b *CapabilityReviewRequestBuilder) Copy(object *CapabilityReviewRequest) *CapabilityReviewRequestBuilder
- func (b *CapabilityReviewRequestBuilder) Empty() bool
- func (b *CapabilityReviewRequestBuilder) OrganizationID(value string) *CapabilityReviewRequestBuilder
- func (b *CapabilityReviewRequestBuilder) ResourceType(value string) *CapabilityReviewRequestBuilder
- func (b *CapabilityReviewRequestBuilder) SubscriptionID(value string) *CapabilityReviewRequestBuilder
- func (b *CapabilityReviewRequestBuilder) Type(value string) *CapabilityReviewRequestBuilder
- type CapabilityReviewRequestList
- func (l *CapabilityReviewRequestList) Each(f func(item *CapabilityReviewRequest) bool)
- func (l *CapabilityReviewRequestList) Empty() bool
- func (l *CapabilityReviewRequestList) Get(i int) *CapabilityReviewRequest
- func (l *CapabilityReviewRequestList) Len() int
- func (l *CapabilityReviewRequestList) Range(f func(index int, item *CapabilityReviewRequest) bool)
- func (l *CapabilityReviewRequestList) Slice() []*CapabilityReviewRequest
- type CapabilityReviewRequestListBuilder
- func (b *CapabilityReviewRequestListBuilder) Build() (list *CapabilityReviewRequestList, err error)
- func (b *CapabilityReviewRequestListBuilder) Copy(list *CapabilityReviewRequestList) *CapabilityReviewRequestListBuilder
- func (b *CapabilityReviewRequestListBuilder) Empty() bool
- func (b *CapabilityReviewRequestListBuilder) Items(values ...*CapabilityReviewRequestBuilder) *CapabilityReviewRequestListBuilder
- type CapabilityReviewResponse
- type CapabilityReviewResponseBuilder
- func (b *CapabilityReviewResponseBuilder) Build() (object *CapabilityReviewResponse, err error)
- func (b *CapabilityReviewResponseBuilder) Copy(object *CapabilityReviewResponse) *CapabilityReviewResponseBuilder
- func (b *CapabilityReviewResponseBuilder) Empty() bool
- func (b *CapabilityReviewResponseBuilder) Result(value string) *CapabilityReviewResponseBuilder
- type CapabilityReviewResponseList
- func (l *CapabilityReviewResponseList) Each(f func(item *CapabilityReviewResponse) bool)
- func (l *CapabilityReviewResponseList) Empty() bool
- func (l *CapabilityReviewResponseList) Get(i int) *CapabilityReviewResponse
- func (l *CapabilityReviewResponseList) Len() int
- func (l *CapabilityReviewResponseList) Range(f func(index int, item *CapabilityReviewResponse) bool)
- func (l *CapabilityReviewResponseList) Slice() []*CapabilityReviewResponse
- type CapabilityReviewResponseListBuilder
- func (b *CapabilityReviewResponseListBuilder) Build() (list *CapabilityReviewResponseList, err error)
- func (b *CapabilityReviewResponseListBuilder) Copy(list *CapabilityReviewResponseList) *CapabilityReviewResponseListBuilder
- func (b *CapabilityReviewResponseListBuilder) Empty() bool
- func (b *CapabilityReviewResponseListBuilder) Items(values ...*CapabilityReviewResponseBuilder) *CapabilityReviewResponseListBuilder
- type Client
- func (c *Client) AccessReview() *AccessReviewClient
- func (c *Client) CapabilityReview() *CapabilityReviewClient
- func (c *Client) ExportControlReview() *ExportControlReviewClient
- func (c *Client) FeatureReview() *FeatureReviewClient
- func (c *Client) Get() *MetadataRequest
- func (c *Client) ResourceReview() *ResourceReviewClient
- func (c *Client) SelfAccessReview() *SelfAccessReviewClient
- func (c *Client) SelfCapabilityReview() *SelfCapabilityReviewClient
- func (c *Client) SelfFeatureReview() *SelfFeatureReviewClient
- func (c *Client) SelfTermsReview() *SelfTermsReviewClient
- func (c *Client) TermsReview() *TermsReviewClient
- type ExportControlReviewClient
- type ExportControlReviewPostRequest
- func (r *ExportControlReviewPostRequest) Header(name string, value interface{}) *ExportControlReviewPostRequest
- func (r *ExportControlReviewPostRequest) Impersonate(user string) *ExportControlReviewPostRequest
- func (r *ExportControlReviewPostRequest) Parameter(name string, value interface{}) *ExportControlReviewPostRequest
- func (r *ExportControlReviewPostRequest) Request(value *ExportControlReviewRequest) *ExportControlReviewPostRequest
- func (r *ExportControlReviewPostRequest) Send() (result *ExportControlReviewPostResponse, err error)
- func (r *ExportControlReviewPostRequest) SendContext(ctx context.Context) (result *ExportControlReviewPostResponse, err error)
- type ExportControlReviewPostResponse
- func (r *ExportControlReviewPostResponse) Error() *errors.Error
- func (r *ExportControlReviewPostResponse) GetResponse() (value *ExportControlReviewResponse, ok bool)
- func (r *ExportControlReviewPostResponse) Header() http.Header
- func (r *ExportControlReviewPostResponse) Response() *ExportControlReviewResponse
- func (r *ExportControlReviewPostResponse) Status() int
- type ExportControlReviewRequest
- type ExportControlReviewRequestBuilder
- func (b *ExportControlReviewRequestBuilder) AccountUsername(value string) *ExportControlReviewRequestBuilder
- func (b *ExportControlReviewRequestBuilder) Build() (object *ExportControlReviewRequest, err error)
- func (b *ExportControlReviewRequestBuilder) Copy(object *ExportControlReviewRequest) *ExportControlReviewRequestBuilder
- func (b *ExportControlReviewRequestBuilder) Empty() bool
- type ExportControlReviewRequestList
- func (l *ExportControlReviewRequestList) Each(f func(item *ExportControlReviewRequest) bool)
- func (l *ExportControlReviewRequestList) Empty() bool
- func (l *ExportControlReviewRequestList) Get(i int) *ExportControlReviewRequest
- func (l *ExportControlReviewRequestList) Len() int
- func (l *ExportControlReviewRequestList) Range(f func(index int, item *ExportControlReviewRequest) bool)
- func (l *ExportControlReviewRequestList) Slice() []*ExportControlReviewRequest
- type ExportControlReviewRequestListBuilder
- func (b *ExportControlReviewRequestListBuilder) Build() (list *ExportControlReviewRequestList, err error)
- func (b *ExportControlReviewRequestListBuilder) Copy(list *ExportControlReviewRequestList) *ExportControlReviewRequestListBuilder
- func (b *ExportControlReviewRequestListBuilder) Empty() bool
- func (b *ExportControlReviewRequestListBuilder) Items(values ...*ExportControlReviewRequestBuilder) *ExportControlReviewRequestListBuilder
- type ExportControlReviewResponse
- type ExportControlReviewResponseBuilder
- func (b *ExportControlReviewResponseBuilder) Build() (object *ExportControlReviewResponse, err error)
- func (b *ExportControlReviewResponseBuilder) Copy(object *ExportControlReviewResponse) *ExportControlReviewResponseBuilder
- func (b *ExportControlReviewResponseBuilder) Empty() bool
- func (b *ExportControlReviewResponseBuilder) Restricted(value bool) *ExportControlReviewResponseBuilder
- type ExportControlReviewResponseList
- func (l *ExportControlReviewResponseList) Each(f func(item *ExportControlReviewResponse) bool)
- func (l *ExportControlReviewResponseList) Empty() bool
- func (l *ExportControlReviewResponseList) Get(i int) *ExportControlReviewResponse
- func (l *ExportControlReviewResponseList) Len() int
- func (l *ExportControlReviewResponseList) Range(f func(index int, item *ExportControlReviewResponse) bool)
- func (l *ExportControlReviewResponseList) Slice() []*ExportControlReviewResponse
- type ExportControlReviewResponseListBuilder
- func (b *ExportControlReviewResponseListBuilder) Build() (list *ExportControlReviewResponseList, err error)
- func (b *ExportControlReviewResponseListBuilder) Copy(list *ExportControlReviewResponseList) *ExportControlReviewResponseListBuilder
- func (b *ExportControlReviewResponseListBuilder) Empty() bool
- func (b *ExportControlReviewResponseListBuilder) Items(values ...*ExportControlReviewResponseBuilder) *ExportControlReviewResponseListBuilder
- type FeatureReviewClient
- type FeatureReviewPostRequest
- func (r *FeatureReviewPostRequest) Header(name string, value interface{}) *FeatureReviewPostRequest
- func (r *FeatureReviewPostRequest) Impersonate(user string) *FeatureReviewPostRequest
- func (r *FeatureReviewPostRequest) Parameter(name string, value interface{}) *FeatureReviewPostRequest
- func (r *FeatureReviewPostRequest) Request(value *FeatureReviewRequest) *FeatureReviewPostRequest
- func (r *FeatureReviewPostRequest) Send() (result *FeatureReviewPostResponse, err error)
- func (r *FeatureReviewPostRequest) SendContext(ctx context.Context) (result *FeatureReviewPostResponse, err error)
- type FeatureReviewPostResponse
- func (r *FeatureReviewPostResponse) Error() *errors.Error
- func (r *FeatureReviewPostResponse) GetRequest() (value *FeatureReviewResponse, ok bool)
- func (r *FeatureReviewPostResponse) Header() http.Header
- func (r *FeatureReviewPostResponse) Request() *FeatureReviewResponse
- func (r *FeatureReviewPostResponse) Status() int
- type FeatureReviewRequest
- type FeatureReviewRequestBuilder
- func (b *FeatureReviewRequestBuilder) AccountUsername(value string) *FeatureReviewRequestBuilder
- func (b *FeatureReviewRequestBuilder) Build() (object *FeatureReviewRequest, err error)
- func (b *FeatureReviewRequestBuilder) Copy(object *FeatureReviewRequest) *FeatureReviewRequestBuilder
- func (b *FeatureReviewRequestBuilder) Empty() bool
- func (b *FeatureReviewRequestBuilder) Feature(value string) *FeatureReviewRequestBuilder
- type FeatureReviewRequestList
- func (l *FeatureReviewRequestList) Each(f func(item *FeatureReviewRequest) bool)
- func (l *FeatureReviewRequestList) Empty() bool
- func (l *FeatureReviewRequestList) Get(i int) *FeatureReviewRequest
- func (l *FeatureReviewRequestList) Len() int
- func (l *FeatureReviewRequestList) Range(f func(index int, item *FeatureReviewRequest) bool)
- func (l *FeatureReviewRequestList) Slice() []*FeatureReviewRequest
- type FeatureReviewRequestListBuilder
- func (b *FeatureReviewRequestListBuilder) Build() (list *FeatureReviewRequestList, err error)
- func (b *FeatureReviewRequestListBuilder) Copy(list *FeatureReviewRequestList) *FeatureReviewRequestListBuilder
- func (b *FeatureReviewRequestListBuilder) Empty() bool
- func (b *FeatureReviewRequestListBuilder) Items(values ...*FeatureReviewRequestBuilder) *FeatureReviewRequestListBuilder
- type FeatureReviewResponse
- type FeatureReviewResponseBuilder
- func (b *FeatureReviewResponseBuilder) Build() (object *FeatureReviewResponse, err error)
- func (b *FeatureReviewResponseBuilder) Copy(object *FeatureReviewResponse) *FeatureReviewResponseBuilder
- func (b *FeatureReviewResponseBuilder) Empty() bool
- func (b *FeatureReviewResponseBuilder) Enabled(value bool) *FeatureReviewResponseBuilder
- func (b *FeatureReviewResponseBuilder) FeatureID(value string) *FeatureReviewResponseBuilder
- type FeatureReviewResponseList
- func (l *FeatureReviewResponseList) Each(f func(item *FeatureReviewResponse) bool)
- func (l *FeatureReviewResponseList) Empty() bool
- func (l *FeatureReviewResponseList) Get(i int) *FeatureReviewResponse
- func (l *FeatureReviewResponseList) Len() int
- func (l *FeatureReviewResponseList) Range(f func(index int, item *FeatureReviewResponse) bool)
- func (l *FeatureReviewResponseList) Slice() []*FeatureReviewResponse
- type FeatureReviewResponseListBuilder
- func (b *FeatureReviewResponseListBuilder) Build() (list *FeatureReviewResponseList, err error)
- func (b *FeatureReviewResponseListBuilder) Copy(list *FeatureReviewResponseList) *FeatureReviewResponseListBuilder
- func (b *FeatureReviewResponseListBuilder) Empty() bool
- func (b *FeatureReviewResponseListBuilder) Items(values ...*FeatureReviewResponseBuilder) *FeatureReviewResponseListBuilder
- type Metadata
- type MetadataRequest
- func (r *MetadataRequest) Header(name string, value interface{}) *MetadataRequest
- func (r *MetadataRequest) Parameter(name string, value interface{}) *MetadataRequest
- func (r *MetadataRequest) Send() (result *MetadataResponse, err error)
- func (r *MetadataRequest) SendContext(ctx context.Context) (result *MetadataResponse, err error)
- type MetadataResponse
- type ResourceReview
- func (o *ResourceReview) AccountUsername() string
- func (o *ResourceReview) Action() string
- func (o *ResourceReview) ClusterIDs() []string
- func (o *ResourceReview) ClusterUUIDs() []string
- func (o *ResourceReview) Empty() bool
- func (o *ResourceReview) GetAccountUsername() (value string, ok bool)
- func (o *ResourceReview) GetAction() (value string, ok bool)
- func (o *ResourceReview) GetClusterIDs() (value []string, ok bool)
- func (o *ResourceReview) GetClusterUUIDs() (value []string, ok bool)
- func (o *ResourceReview) GetOrganizationIDs() (value []string, ok bool)
- func (o *ResourceReview) GetResourceType() (value string, ok bool)
- func (o *ResourceReview) GetSubscriptionIDs() (value []string, ok bool)
- func (o *ResourceReview) OrganizationIDs() []string
- func (o *ResourceReview) ResourceType() string
- func (o *ResourceReview) SubscriptionIDs() []string
- type ResourceReviewBuilder
- func (b *ResourceReviewBuilder) AccountUsername(value string) *ResourceReviewBuilder
- func (b *ResourceReviewBuilder) Action(value string) *ResourceReviewBuilder
- func (b *ResourceReviewBuilder) Build() (object *ResourceReview, err error)
- func (b *ResourceReviewBuilder) ClusterIDs(values ...string) *ResourceReviewBuilder
- func (b *ResourceReviewBuilder) ClusterUUIDs(values ...string) *ResourceReviewBuilder
- func (b *ResourceReviewBuilder) Copy(object *ResourceReview) *ResourceReviewBuilder
- func (b *ResourceReviewBuilder) Empty() bool
- func (b *ResourceReviewBuilder) OrganizationIDs(values ...string) *ResourceReviewBuilder
- func (b *ResourceReviewBuilder) ResourceType(value string) *ResourceReviewBuilder
- func (b *ResourceReviewBuilder) SubscriptionIDs(values ...string) *ResourceReviewBuilder
- type ResourceReviewClient
- type ResourceReviewList
- func (l *ResourceReviewList) Each(f func(item *ResourceReview) bool)
- func (l *ResourceReviewList) Empty() bool
- func (l *ResourceReviewList) Get(i int) *ResourceReview
- func (l *ResourceReviewList) Len() int
- func (l *ResourceReviewList) Range(f func(index int, item *ResourceReview) bool)
- func (l *ResourceReviewList) Slice() []*ResourceReview
- type ResourceReviewListBuilder
- func (b *ResourceReviewListBuilder) Build() (list *ResourceReviewList, err error)
- func (b *ResourceReviewListBuilder) Copy(list *ResourceReviewList) *ResourceReviewListBuilder
- func (b *ResourceReviewListBuilder) Empty() bool
- func (b *ResourceReviewListBuilder) Items(values ...*ResourceReviewBuilder) *ResourceReviewListBuilder
- type ResourceReviewPostRequest
- func (r *ResourceReviewPostRequest) Header(name string, value interface{}) *ResourceReviewPostRequest
- func (r *ResourceReviewPostRequest) Impersonate(user string) *ResourceReviewPostRequest
- func (r *ResourceReviewPostRequest) Parameter(name string, value interface{}) *ResourceReviewPostRequest
- func (r *ResourceReviewPostRequest) Request(value *ResourceReviewRequest) *ResourceReviewPostRequest
- func (r *ResourceReviewPostRequest) Send() (result *ResourceReviewPostResponse, err error)
- func (r *ResourceReviewPostRequest) SendContext(ctx context.Context) (result *ResourceReviewPostResponse, err error)
- type ResourceReviewPostResponse
- func (r *ResourceReviewPostResponse) Error() *errors.Error
- func (r *ResourceReviewPostResponse) GetReview() (value *ResourceReview, ok bool)
- func (r *ResourceReviewPostResponse) Header() http.Header
- func (r *ResourceReviewPostResponse) Review() *ResourceReview
- func (r *ResourceReviewPostResponse) Status() int
- type ResourceReviewRequest
- func (o *ResourceReviewRequest) AccountUsername() string
- func (o *ResourceReviewRequest) Action() string
- func (o *ResourceReviewRequest) Empty() bool
- func (o *ResourceReviewRequest) ExcludeSubscriptionStatuses() []SubscriptionStatus
- func (o *ResourceReviewRequest) GetAccountUsername() (value string, ok bool)
- func (o *ResourceReviewRequest) GetAction() (value string, ok bool)
- func (o *ResourceReviewRequest) GetExcludeSubscriptionStatuses() (value []SubscriptionStatus, ok bool)
- func (o *ResourceReviewRequest) GetReduceClusterList() (value bool, ok bool)
- func (o *ResourceReviewRequest) GetResourceType() (value string, ok bool)
- func (o *ResourceReviewRequest) ReduceClusterList() bool
- func (o *ResourceReviewRequest) ResourceType() string
- type ResourceReviewRequestBuilder
- func (b *ResourceReviewRequestBuilder) AccountUsername(value string) *ResourceReviewRequestBuilder
- func (b *ResourceReviewRequestBuilder) Action(value string) *ResourceReviewRequestBuilder
- func (b *ResourceReviewRequestBuilder) Build() (object *ResourceReviewRequest, err error)
- func (b *ResourceReviewRequestBuilder) Copy(object *ResourceReviewRequest) *ResourceReviewRequestBuilder
- func (b *ResourceReviewRequestBuilder) Empty() bool
- func (b *ResourceReviewRequestBuilder) ExcludeSubscriptionStatuses(values ...SubscriptionStatus) *ResourceReviewRequestBuilder
- func (b *ResourceReviewRequestBuilder) ReduceClusterList(value bool) *ResourceReviewRequestBuilder
- func (b *ResourceReviewRequestBuilder) ResourceType(value string) *ResourceReviewRequestBuilder
- type ResourceReviewRequestList
- func (l *ResourceReviewRequestList) Each(f func(item *ResourceReviewRequest) bool)
- func (l *ResourceReviewRequestList) Empty() bool
- func (l *ResourceReviewRequestList) Get(i int) *ResourceReviewRequest
- func (l *ResourceReviewRequestList) Len() int
- func (l *ResourceReviewRequestList) Range(f func(index int, item *ResourceReviewRequest) bool)
- func (l *ResourceReviewRequestList) Slice() []*ResourceReviewRequest
- type ResourceReviewRequestListBuilder
- func (b *ResourceReviewRequestListBuilder) Build() (list *ResourceReviewRequestList, err error)
- func (b *ResourceReviewRequestListBuilder) Copy(list *ResourceReviewRequestList) *ResourceReviewRequestListBuilder
- func (b *ResourceReviewRequestListBuilder) Empty() bool
- func (b *ResourceReviewRequestListBuilder) Items(values ...*ResourceReviewRequestBuilder) *ResourceReviewRequestListBuilder
- type SelfAccessReviewClient
- type SelfAccessReviewPostRequest
- func (r *SelfAccessReviewPostRequest) Header(name string, value interface{}) *SelfAccessReviewPostRequest
- func (r *SelfAccessReviewPostRequest) Impersonate(user string) *SelfAccessReviewPostRequest
- func (r *SelfAccessReviewPostRequest) Parameter(name string, value interface{}) *SelfAccessReviewPostRequest
- func (r *SelfAccessReviewPostRequest) Request(value *SelfAccessReviewRequest) *SelfAccessReviewPostRequest
- func (r *SelfAccessReviewPostRequest) Send() (result *SelfAccessReviewPostResponse, err error)
- func (r *SelfAccessReviewPostRequest) SendContext(ctx context.Context) (result *SelfAccessReviewPostResponse, err error)
- type SelfAccessReviewPostResponse
- func (r *SelfAccessReviewPostResponse) Error() *errors.Error
- func (r *SelfAccessReviewPostResponse) GetResponse() (value *SelfAccessReviewResponse, ok bool)
- func (r *SelfAccessReviewPostResponse) Header() http.Header
- func (r *SelfAccessReviewPostResponse) Response() *SelfAccessReviewResponse
- func (r *SelfAccessReviewPostResponse) Status() int
- type SelfAccessReviewRequest
- func (o *SelfAccessReviewRequest) Action() string
- func (o *SelfAccessReviewRequest) ClusterID() string
- func (o *SelfAccessReviewRequest) ClusterUUID() string
- func (o *SelfAccessReviewRequest) Empty() bool
- func (o *SelfAccessReviewRequest) GetAction() (value string, ok bool)
- func (o *SelfAccessReviewRequest) GetClusterID() (value string, ok bool)
- func (o *SelfAccessReviewRequest) GetClusterUUID() (value string, ok bool)
- func (o *SelfAccessReviewRequest) GetOrganizationID() (value string, ok bool)
- func (o *SelfAccessReviewRequest) GetResourceType() (value string, ok bool)
- func (o *SelfAccessReviewRequest) GetSubscriptionID() (value string, ok bool)
- func (o *SelfAccessReviewRequest) OrganizationID() string
- func (o *SelfAccessReviewRequest) ResourceType() string
- func (o *SelfAccessReviewRequest) SubscriptionID() string
- type SelfAccessReviewRequestBuilder
- func (b *SelfAccessReviewRequestBuilder) Action(value string) *SelfAccessReviewRequestBuilder
- func (b *SelfAccessReviewRequestBuilder) Build() (object *SelfAccessReviewRequest, err error)
- func (b *SelfAccessReviewRequestBuilder) ClusterID(value string) *SelfAccessReviewRequestBuilder
- func (b *SelfAccessReviewRequestBuilder) ClusterUUID(value string) *SelfAccessReviewRequestBuilder
- func (b *SelfAccessReviewRequestBuilder) Copy(object *SelfAccessReviewRequest) *SelfAccessReviewRequestBuilder
- func (b *SelfAccessReviewRequestBuilder) Empty() bool
- func (b *SelfAccessReviewRequestBuilder) OrganizationID(value string) *SelfAccessReviewRequestBuilder
- func (b *SelfAccessReviewRequestBuilder) ResourceType(value string) *SelfAccessReviewRequestBuilder
- func (b *SelfAccessReviewRequestBuilder) SubscriptionID(value string) *SelfAccessReviewRequestBuilder
- type SelfAccessReviewRequestList
- func (l *SelfAccessReviewRequestList) Each(f func(item *SelfAccessReviewRequest) bool)
- func (l *SelfAccessReviewRequestList) Empty() bool
- func (l *SelfAccessReviewRequestList) Get(i int) *SelfAccessReviewRequest
- func (l *SelfAccessReviewRequestList) Len() int
- func (l *SelfAccessReviewRequestList) Range(f func(index int, item *SelfAccessReviewRequest) bool)
- func (l *SelfAccessReviewRequestList) Slice() []*SelfAccessReviewRequest
- type SelfAccessReviewRequestListBuilder
- func (b *SelfAccessReviewRequestListBuilder) Build() (list *SelfAccessReviewRequestList, err error)
- func (b *SelfAccessReviewRequestListBuilder) Copy(list *SelfAccessReviewRequestList) *SelfAccessReviewRequestListBuilder
- func (b *SelfAccessReviewRequestListBuilder) Empty() bool
- func (b *SelfAccessReviewRequestListBuilder) Items(values ...*SelfAccessReviewRequestBuilder) *SelfAccessReviewRequestListBuilder
- type SelfAccessReviewResponse
- func (o *SelfAccessReviewResponse) Action() string
- func (o *SelfAccessReviewResponse) Allowed() bool
- func (o *SelfAccessReviewResponse) ClusterID() string
- func (o *SelfAccessReviewResponse) ClusterUUID() string
- func (o *SelfAccessReviewResponse) Empty() bool
- func (o *SelfAccessReviewResponse) GetAction() (value string, ok bool)
- func (o *SelfAccessReviewResponse) GetAllowed() (value bool, ok bool)
- func (o *SelfAccessReviewResponse) GetClusterID() (value string, ok bool)
- func (o *SelfAccessReviewResponse) GetClusterUUID() (value string, ok bool)
- func (o *SelfAccessReviewResponse) GetOrganizationID() (value string, ok bool)
- func (o *SelfAccessReviewResponse) GetResourceType() (value string, ok bool)
- func (o *SelfAccessReviewResponse) GetSubscriptionID() (value string, ok bool)
- func (o *SelfAccessReviewResponse) OrganizationID() string
- func (o *SelfAccessReviewResponse) ResourceType() string
- func (o *SelfAccessReviewResponse) SubscriptionID() string
- type SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) Action(value string) *SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) Allowed(value bool) *SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) Build() (object *SelfAccessReviewResponse, err error)
- func (b *SelfAccessReviewResponseBuilder) ClusterID(value string) *SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) ClusterUUID(value string) *SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) Copy(object *SelfAccessReviewResponse) *SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) Empty() bool
- func (b *SelfAccessReviewResponseBuilder) OrganizationID(value string) *SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) ResourceType(value string) *SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) SubscriptionID(value string) *SelfAccessReviewResponseBuilder
- type SelfAccessReviewResponseList
- func (l *SelfAccessReviewResponseList) Each(f func(item *SelfAccessReviewResponse) bool)
- func (l *SelfAccessReviewResponseList) Empty() bool
- func (l *SelfAccessReviewResponseList) Get(i int) *SelfAccessReviewResponse
- func (l *SelfAccessReviewResponseList) Len() int
- func (l *SelfAccessReviewResponseList) Range(f func(index int, item *SelfAccessReviewResponse) bool)
- func (l *SelfAccessReviewResponseList) Slice() []*SelfAccessReviewResponse
- type SelfAccessReviewResponseListBuilder
- func (b *SelfAccessReviewResponseListBuilder) Build() (list *SelfAccessReviewResponseList, err error)
- func (b *SelfAccessReviewResponseListBuilder) Copy(list *SelfAccessReviewResponseList) *SelfAccessReviewResponseListBuilder
- func (b *SelfAccessReviewResponseListBuilder) Empty() bool
- func (b *SelfAccessReviewResponseListBuilder) Items(values ...*SelfAccessReviewResponseBuilder) *SelfAccessReviewResponseListBuilder
- type SelfCapabilityReviewClient
- type SelfCapabilityReviewPostRequest
- func (r *SelfCapabilityReviewPostRequest) Header(name string, value interface{}) *SelfCapabilityReviewPostRequest
- func (r *SelfCapabilityReviewPostRequest) Impersonate(user string) *SelfCapabilityReviewPostRequest
- func (r *SelfCapabilityReviewPostRequest) Parameter(name string, value interface{}) *SelfCapabilityReviewPostRequest
- func (r *SelfCapabilityReviewPostRequest) Request(value *SelfCapabilityReviewRequest) *SelfCapabilityReviewPostRequest
- func (r *SelfCapabilityReviewPostRequest) Send() (result *SelfCapabilityReviewPostResponse, err error)
- func (r *SelfCapabilityReviewPostRequest) SendContext(ctx context.Context) (result *SelfCapabilityReviewPostResponse, err error)
- type SelfCapabilityReviewPostResponse
- func (r *SelfCapabilityReviewPostResponse) Error() *errors.Error
- func (r *SelfCapabilityReviewPostResponse) GetResponse() (value *SelfCapabilityReviewResponse, ok bool)
- func (r *SelfCapabilityReviewPostResponse) Header() http.Header
- func (r *SelfCapabilityReviewPostResponse) Response() *SelfCapabilityReviewResponse
- func (r *SelfCapabilityReviewPostResponse) Status() int
- type SelfCapabilityReviewRequest
- func (o *SelfCapabilityReviewRequest) AccountUsername() string
- func (o *SelfCapabilityReviewRequest) Capability() string
- func (o *SelfCapabilityReviewRequest) ClusterID() string
- func (o *SelfCapabilityReviewRequest) Empty() bool
- func (o *SelfCapabilityReviewRequest) GetAccountUsername() (value string, ok bool)
- func (o *SelfCapabilityReviewRequest) GetCapability() (value string, ok bool)
- func (o *SelfCapabilityReviewRequest) GetClusterID() (value string, ok bool)
- func (o *SelfCapabilityReviewRequest) GetOrganizationID() (value string, ok bool)
- func (o *SelfCapabilityReviewRequest) GetResourceType() (value string, ok bool)
- func (o *SelfCapabilityReviewRequest) GetSubscriptionID() (value string, ok bool)
- func (o *SelfCapabilityReviewRequest) GetType() (value string, ok bool)
- func (o *SelfCapabilityReviewRequest) OrganizationID() string
- func (o *SelfCapabilityReviewRequest) ResourceType() string
- func (o *SelfCapabilityReviewRequest) SubscriptionID() string
- func (o *SelfCapabilityReviewRequest) Type() string
- type SelfCapabilityReviewRequestBuilder
- func (b *SelfCapabilityReviewRequestBuilder) AccountUsername(value string) *SelfCapabilityReviewRequestBuilder
- func (b *SelfCapabilityReviewRequestBuilder) Build() (object *SelfCapabilityReviewRequest, err error)
- func (b *SelfCapabilityReviewRequestBuilder) Capability(value string) *SelfCapabilityReviewRequestBuilder
- func (b *SelfCapabilityReviewRequestBuilder) ClusterID(value string) *SelfCapabilityReviewRequestBuilder
- func (b *SelfCapabilityReviewRequestBuilder) Copy(object *SelfCapabilityReviewRequest) *SelfCapabilityReviewRequestBuilder
- func (b *SelfCapabilityReviewRequestBuilder) Empty() bool
- func (b *SelfCapabilityReviewRequestBuilder) OrganizationID(value string) *SelfCapabilityReviewRequestBuilder
- func (b *SelfCapabilityReviewRequestBuilder) ResourceType(value string) *SelfCapabilityReviewRequestBuilder
- func (b *SelfCapabilityReviewRequestBuilder) SubscriptionID(value string) *SelfCapabilityReviewRequestBuilder
- func (b *SelfCapabilityReviewRequestBuilder) Type(value string) *SelfCapabilityReviewRequestBuilder
- type SelfCapabilityReviewRequestList
- func (l *SelfCapabilityReviewRequestList) Each(f func(item *SelfCapabilityReviewRequest) bool)
- func (l *SelfCapabilityReviewRequestList) Empty() bool
- func (l *SelfCapabilityReviewRequestList) Get(i int) *SelfCapabilityReviewRequest
- func (l *SelfCapabilityReviewRequestList) Len() int
- func (l *SelfCapabilityReviewRequestList) Range(f func(index int, item *SelfCapabilityReviewRequest) bool)
- func (l *SelfCapabilityReviewRequestList) Slice() []*SelfCapabilityReviewRequest
- type SelfCapabilityReviewRequestListBuilder
- func (b *SelfCapabilityReviewRequestListBuilder) Build() (list *SelfCapabilityReviewRequestList, err error)
- func (b *SelfCapabilityReviewRequestListBuilder) Copy(list *SelfCapabilityReviewRequestList) *SelfCapabilityReviewRequestListBuilder
- func (b *SelfCapabilityReviewRequestListBuilder) Empty() bool
- func (b *SelfCapabilityReviewRequestListBuilder) Items(values ...*SelfCapabilityReviewRequestBuilder) *SelfCapabilityReviewRequestListBuilder
- type SelfCapabilityReviewResponse
- type SelfCapabilityReviewResponseBuilder
- func (b *SelfCapabilityReviewResponseBuilder) Build() (object *SelfCapabilityReviewResponse, err error)
- func (b *SelfCapabilityReviewResponseBuilder) Copy(object *SelfCapabilityReviewResponse) *SelfCapabilityReviewResponseBuilder
- func (b *SelfCapabilityReviewResponseBuilder) Empty() bool
- func (b *SelfCapabilityReviewResponseBuilder) Result(value string) *SelfCapabilityReviewResponseBuilder
- type SelfCapabilityReviewResponseList
- func (l *SelfCapabilityReviewResponseList) Each(f func(item *SelfCapabilityReviewResponse) bool)
- func (l *SelfCapabilityReviewResponseList) Empty() bool
- func (l *SelfCapabilityReviewResponseList) Get(i int) *SelfCapabilityReviewResponse
- func (l *SelfCapabilityReviewResponseList) Len() int
- func (l *SelfCapabilityReviewResponseList) Range(f func(index int, item *SelfCapabilityReviewResponse) bool)
- func (l *SelfCapabilityReviewResponseList) Slice() []*SelfCapabilityReviewResponse
- type SelfCapabilityReviewResponseListBuilder
- func (b *SelfCapabilityReviewResponseListBuilder) Build() (list *SelfCapabilityReviewResponseList, err error)
- func (b *SelfCapabilityReviewResponseListBuilder) Copy(list *SelfCapabilityReviewResponseList) *SelfCapabilityReviewResponseListBuilder
- func (b *SelfCapabilityReviewResponseListBuilder) Empty() bool
- func (b *SelfCapabilityReviewResponseListBuilder) Items(values ...*SelfCapabilityReviewResponseBuilder) *SelfCapabilityReviewResponseListBuilder
- type SelfFeatureReviewClient
- type SelfFeatureReviewPostRequest
- func (r *SelfFeatureReviewPostRequest) Header(name string, value interface{}) *SelfFeatureReviewPostRequest
- func (r *SelfFeatureReviewPostRequest) Impersonate(user string) *SelfFeatureReviewPostRequest
- func (r *SelfFeatureReviewPostRequest) Parameter(name string, value interface{}) *SelfFeatureReviewPostRequest
- func (r *SelfFeatureReviewPostRequest) Request(value *SelfFeatureReviewRequest) *SelfFeatureReviewPostRequest
- func (r *SelfFeatureReviewPostRequest) Send() (result *SelfFeatureReviewPostResponse, err error)
- func (r *SelfFeatureReviewPostRequest) SendContext(ctx context.Context) (result *SelfFeatureReviewPostResponse, err error)
- type SelfFeatureReviewPostResponse
- func (r *SelfFeatureReviewPostResponse) Error() *errors.Error
- func (r *SelfFeatureReviewPostResponse) GetRequest() (value *SelfFeatureReviewResponse, ok bool)
- func (r *SelfFeatureReviewPostResponse) Header() http.Header
- func (r *SelfFeatureReviewPostResponse) Request() *SelfFeatureReviewResponse
- func (r *SelfFeatureReviewPostResponse) Status() int
- type SelfFeatureReviewRequest
- type SelfFeatureReviewRequestBuilder
- func (b *SelfFeatureReviewRequestBuilder) Build() (object *SelfFeatureReviewRequest, err error)
- func (b *SelfFeatureReviewRequestBuilder) Copy(object *SelfFeatureReviewRequest) *SelfFeatureReviewRequestBuilder
- func (b *SelfFeatureReviewRequestBuilder) Empty() bool
- func (b *SelfFeatureReviewRequestBuilder) Feature(value string) *SelfFeatureReviewRequestBuilder
- type SelfFeatureReviewRequestList
- func (l *SelfFeatureReviewRequestList) Each(f func(item *SelfFeatureReviewRequest) bool)
- func (l *SelfFeatureReviewRequestList) Empty() bool
- func (l *SelfFeatureReviewRequestList) Get(i int) *SelfFeatureReviewRequest
- func (l *SelfFeatureReviewRequestList) Len() int
- func (l *SelfFeatureReviewRequestList) Range(f func(index int, item *SelfFeatureReviewRequest) bool)
- func (l *SelfFeatureReviewRequestList) Slice() []*SelfFeatureReviewRequest
- type SelfFeatureReviewRequestListBuilder
- func (b *SelfFeatureReviewRequestListBuilder) Build() (list *SelfFeatureReviewRequestList, err error)
- func (b *SelfFeatureReviewRequestListBuilder) Copy(list *SelfFeatureReviewRequestList) *SelfFeatureReviewRequestListBuilder
- func (b *SelfFeatureReviewRequestListBuilder) Empty() bool
- func (b *SelfFeatureReviewRequestListBuilder) Items(values ...*SelfFeatureReviewRequestBuilder) *SelfFeatureReviewRequestListBuilder
- type SelfFeatureReviewResponse
- func (o *SelfFeatureReviewResponse) Empty() bool
- func (o *SelfFeatureReviewResponse) Enabled() bool
- func (o *SelfFeatureReviewResponse) FeatureID() string
- func (o *SelfFeatureReviewResponse) GetEnabled() (value bool, ok bool)
- func (o *SelfFeatureReviewResponse) GetFeatureID() (value string, ok bool)
- type SelfFeatureReviewResponseBuilder
- func (b *SelfFeatureReviewResponseBuilder) Build() (object *SelfFeatureReviewResponse, err error)
- func (b *SelfFeatureReviewResponseBuilder) Copy(object *SelfFeatureReviewResponse) *SelfFeatureReviewResponseBuilder
- func (b *SelfFeatureReviewResponseBuilder) Empty() bool
- func (b *SelfFeatureReviewResponseBuilder) Enabled(value bool) *SelfFeatureReviewResponseBuilder
- func (b *SelfFeatureReviewResponseBuilder) FeatureID(value string) *SelfFeatureReviewResponseBuilder
- type SelfFeatureReviewResponseList
- func (l *SelfFeatureReviewResponseList) Each(f func(item *SelfFeatureReviewResponse) bool)
- func (l *SelfFeatureReviewResponseList) Empty() bool
- func (l *SelfFeatureReviewResponseList) Get(i int) *SelfFeatureReviewResponse
- func (l *SelfFeatureReviewResponseList) Len() int
- func (l *SelfFeatureReviewResponseList) Range(f func(index int, item *SelfFeatureReviewResponse) bool)
- func (l *SelfFeatureReviewResponseList) Slice() []*SelfFeatureReviewResponse
- type SelfFeatureReviewResponseListBuilder
- func (b *SelfFeatureReviewResponseListBuilder) Build() (list *SelfFeatureReviewResponseList, err error)
- func (b *SelfFeatureReviewResponseListBuilder) Copy(list *SelfFeatureReviewResponseList) *SelfFeatureReviewResponseListBuilder
- func (b *SelfFeatureReviewResponseListBuilder) Empty() bool
- func (b *SelfFeatureReviewResponseListBuilder) Items(values ...*SelfFeatureReviewResponseBuilder) *SelfFeatureReviewResponseListBuilder
- type SelfTermsReviewClient
- type SelfTermsReviewPostRequest
- func (r *SelfTermsReviewPostRequest) Header(name string, value interface{}) *SelfTermsReviewPostRequest
- func (r *SelfTermsReviewPostRequest) Impersonate(user string) *SelfTermsReviewPostRequest
- func (r *SelfTermsReviewPostRequest) Parameter(name string, value interface{}) *SelfTermsReviewPostRequest
- func (r *SelfTermsReviewPostRequest) Request(value *SelfTermsReviewRequest) *SelfTermsReviewPostRequest
- func (r *SelfTermsReviewPostRequest) Send() (result *SelfTermsReviewPostResponse, err error)
- func (r *SelfTermsReviewPostRequest) SendContext(ctx context.Context) (result *SelfTermsReviewPostResponse, err error)
- type SelfTermsReviewPostResponse
- func (r *SelfTermsReviewPostResponse) Error() *errors.Error
- func (r *SelfTermsReviewPostResponse) GetResponse() (value *TermsReviewResponse, ok bool)
- func (r *SelfTermsReviewPostResponse) Header() http.Header
- func (r *SelfTermsReviewPostResponse) Response() *TermsReviewResponse
- func (r *SelfTermsReviewPostResponse) Status() int
- type SelfTermsReviewRequest
- type SelfTermsReviewRequestBuilder
- func (b *SelfTermsReviewRequestBuilder) Build() (object *SelfTermsReviewRequest, err error)
- func (b *SelfTermsReviewRequestBuilder) Copy(object *SelfTermsReviewRequest) *SelfTermsReviewRequestBuilder
- func (b *SelfTermsReviewRequestBuilder) Empty() bool
- func (b *SelfTermsReviewRequestBuilder) EventCode(value string) *SelfTermsReviewRequestBuilder
- func (b *SelfTermsReviewRequestBuilder) SiteCode(value string) *SelfTermsReviewRequestBuilder
- type SelfTermsReviewRequestList
- func (l *SelfTermsReviewRequestList) Each(f func(item *SelfTermsReviewRequest) bool)
- func (l *SelfTermsReviewRequestList) Empty() bool
- func (l *SelfTermsReviewRequestList) Get(i int) *SelfTermsReviewRequest
- func (l *SelfTermsReviewRequestList) Len() int
- func (l *SelfTermsReviewRequestList) Range(f func(index int, item *SelfTermsReviewRequest) bool)
- func (l *SelfTermsReviewRequestList) Slice() []*SelfTermsReviewRequest
- type SelfTermsReviewRequestListBuilder
- func (b *SelfTermsReviewRequestListBuilder) Build() (list *SelfTermsReviewRequestList, err error)
- func (b *SelfTermsReviewRequestListBuilder) Copy(list *SelfTermsReviewRequestList) *SelfTermsReviewRequestListBuilder
- func (b *SelfTermsReviewRequestListBuilder) Empty() bool
- func (b *SelfTermsReviewRequestListBuilder) Items(values ...*SelfTermsReviewRequestBuilder) *SelfTermsReviewRequestListBuilder
- type SubscriptionStatus
- type TermsReviewClient
- type TermsReviewPostRequest
- func (r *TermsReviewPostRequest) Header(name string, value interface{}) *TermsReviewPostRequest
- func (r *TermsReviewPostRequest) Impersonate(user string) *TermsReviewPostRequest
- func (r *TermsReviewPostRequest) Parameter(name string, value interface{}) *TermsReviewPostRequest
- func (r *TermsReviewPostRequest) Request(value *TermsReviewRequest) *TermsReviewPostRequest
- func (r *TermsReviewPostRequest) Send() (result *TermsReviewPostResponse, err error)
- func (r *TermsReviewPostRequest) SendContext(ctx context.Context) (result *TermsReviewPostResponse, err error)
- type TermsReviewPostResponse
- func (r *TermsReviewPostResponse) Error() *errors.Error
- func (r *TermsReviewPostResponse) GetResponse() (value *TermsReviewResponse, ok bool)
- func (r *TermsReviewPostResponse) Header() http.Header
- func (r *TermsReviewPostResponse) Response() *TermsReviewResponse
- func (r *TermsReviewPostResponse) Status() int
- type TermsReviewRequest
- func (o *TermsReviewRequest) AccountUsername() string
- func (o *TermsReviewRequest) CheckOptionalTerms() bool
- func (o *TermsReviewRequest) Empty() bool
- func (o *TermsReviewRequest) EventCode() string
- func (o *TermsReviewRequest) GetAccountUsername() (value string, ok bool)
- func (o *TermsReviewRequest) GetCheckOptionalTerms() (value bool, ok bool)
- func (o *TermsReviewRequest) GetEventCode() (value string, ok bool)
- func (o *TermsReviewRequest) GetSiteCode() (value string, ok bool)
- func (o *TermsReviewRequest) SiteCode() string
- type TermsReviewRequestBuilder
- func (b *TermsReviewRequestBuilder) AccountUsername(value string) *TermsReviewRequestBuilder
- func (b *TermsReviewRequestBuilder) Build() (object *TermsReviewRequest, err error)
- func (b *TermsReviewRequestBuilder) CheckOptionalTerms(value bool) *TermsReviewRequestBuilder
- func (b *TermsReviewRequestBuilder) Copy(object *TermsReviewRequest) *TermsReviewRequestBuilder
- func (b *TermsReviewRequestBuilder) Empty() bool
- func (b *TermsReviewRequestBuilder) EventCode(value string) *TermsReviewRequestBuilder
- func (b *TermsReviewRequestBuilder) SiteCode(value string) *TermsReviewRequestBuilder
- type TermsReviewRequestList
- func (l *TermsReviewRequestList) Each(f func(item *TermsReviewRequest) bool)
- func (l *TermsReviewRequestList) Empty() bool
- func (l *TermsReviewRequestList) Get(i int) *TermsReviewRequest
- func (l *TermsReviewRequestList) Len() int
- func (l *TermsReviewRequestList) Range(f func(index int, item *TermsReviewRequest) bool)
- func (l *TermsReviewRequestList) Slice() []*TermsReviewRequest
- type TermsReviewRequestListBuilder
- func (b *TermsReviewRequestListBuilder) Build() (list *TermsReviewRequestList, err error)
- func (b *TermsReviewRequestListBuilder) Copy(list *TermsReviewRequestList) *TermsReviewRequestListBuilder
- func (b *TermsReviewRequestListBuilder) Empty() bool
- func (b *TermsReviewRequestListBuilder) Items(values ...*TermsReviewRequestBuilder) *TermsReviewRequestListBuilder
- type TermsReviewResponse
- func (o *TermsReviewResponse) AccountId() string
- func (o *TermsReviewResponse) Empty() bool
- func (o *TermsReviewResponse) GetAccountId() (value string, ok bool)
- func (o *TermsReviewResponse) GetOrganizationID() (value string, ok bool)
- func (o *TermsReviewResponse) GetRedirectUrl() (value string, ok bool)
- func (o *TermsReviewResponse) GetTermsAvailable() (value bool, ok bool)
- func (o *TermsReviewResponse) GetTermsRequired() (value bool, ok bool)
- func (o *TermsReviewResponse) OrganizationID() string
- func (o *TermsReviewResponse) RedirectUrl() string
- func (o *TermsReviewResponse) TermsAvailable() bool
- func (o *TermsReviewResponse) TermsRequired() bool
- type TermsReviewResponseBuilder
- func (b *TermsReviewResponseBuilder) AccountId(value string) *TermsReviewResponseBuilder
- func (b *TermsReviewResponseBuilder) Build() (object *TermsReviewResponse, err error)
- func (b *TermsReviewResponseBuilder) Copy(object *TermsReviewResponse) *TermsReviewResponseBuilder
- func (b *TermsReviewResponseBuilder) Empty() bool
- func (b *TermsReviewResponseBuilder) OrganizationID(value string) *TermsReviewResponseBuilder
- func (b *TermsReviewResponseBuilder) RedirectUrl(value string) *TermsReviewResponseBuilder
- func (b *TermsReviewResponseBuilder) TermsAvailable(value bool) *TermsReviewResponseBuilder
- func (b *TermsReviewResponseBuilder) TermsRequired(value bool) *TermsReviewResponseBuilder
- type TermsReviewResponseList
- func (l *TermsReviewResponseList) Each(f func(item *TermsReviewResponse) bool)
- func (l *TermsReviewResponseList) Empty() bool
- func (l *TermsReviewResponseList) Get(i int) *TermsReviewResponse
- func (l *TermsReviewResponseList) Len() int
- func (l *TermsReviewResponseList) Range(f func(index int, item *TermsReviewResponse) bool)
- func (l *TermsReviewResponseList) Slice() []*TermsReviewResponse
- type TermsReviewResponseListBuilder
- func (b *TermsReviewResponseListBuilder) Build() (list *TermsReviewResponseList, err error)
- func (b *TermsReviewResponseListBuilder) Copy(list *TermsReviewResponseList) *TermsReviewResponseListBuilder
- func (b *TermsReviewResponseListBuilder) Empty() bool
- func (b *TermsReviewResponseListBuilder) Items(values ...*TermsReviewResponseBuilder) *TermsReviewResponseListBuilder
Constants ¶
const AccessReviewRequestListKind = "AccessReviewRequestList"
AccessReviewRequestListKind is the name of the type used to represent list of objects of type 'access_review_request'.
const AccessReviewRequestListLinkKind = "AccessReviewRequestListLink"
AccessReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'access_review_request'.
const AccessReviewRequestListNilKind = "AccessReviewRequestListNil"
AccessReviewRequestNilKind is the name of the type used to nil lists of objects of type 'access_review_request'.
const AccessReviewResponseListKind = "AccessReviewResponseList"
AccessReviewResponseListKind is the name of the type used to represent list of objects of type 'access_review_response'.
const AccessReviewResponseListLinkKind = "AccessReviewResponseListLink"
AccessReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'access_review_response'.
const AccessReviewResponseListNilKind = "AccessReviewResponseListNil"
AccessReviewResponseNilKind is the name of the type used to nil lists of objects of type 'access_review_response'.
const CapabilityReviewRequestListKind = "CapabilityReviewRequestList"
CapabilityReviewRequestListKind is the name of the type used to represent list of objects of type 'capability_review_request'.
const CapabilityReviewRequestListLinkKind = "CapabilityReviewRequestListLink"
CapabilityReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'capability_review_request'.
const CapabilityReviewRequestListNilKind = "CapabilityReviewRequestListNil"
CapabilityReviewRequestNilKind is the name of the type used to nil lists of objects of type 'capability_review_request'.
const CapabilityReviewResponseListKind = "CapabilityReviewResponseList"
CapabilityReviewResponseListKind is the name of the type used to represent list of objects of type 'capability_review_response'.
const CapabilityReviewResponseListLinkKind = "CapabilityReviewResponseListLink"
CapabilityReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'capability_review_response'.
const CapabilityReviewResponseListNilKind = "CapabilityReviewResponseListNil"
CapabilityReviewResponseNilKind is the name of the type used to nil lists of objects of type 'capability_review_response'.
const ExportControlReviewRequestListKind = "ExportControlReviewRequestList"
ExportControlReviewRequestListKind is the name of the type used to represent list of objects of type 'export_control_review_request'.
const ExportControlReviewRequestListLinkKind = "ExportControlReviewRequestListLink"
ExportControlReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'export_control_review_request'.
const ExportControlReviewRequestListNilKind = "ExportControlReviewRequestListNil"
ExportControlReviewRequestNilKind is the name of the type used to nil lists of objects of type 'export_control_review_request'.
const ExportControlReviewResponseListKind = "ExportControlReviewResponseList"
ExportControlReviewResponseListKind is the name of the type used to represent list of objects of type 'export_control_review_response'.
const ExportControlReviewResponseListLinkKind = "ExportControlReviewResponseListLink"
ExportControlReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'export_control_review_response'.
const ExportControlReviewResponseListNilKind = "ExportControlReviewResponseListNil"
ExportControlReviewResponseNilKind is the name of the type used to nil lists of objects of type 'export_control_review_response'.
const FeatureReviewRequestListKind = "FeatureReviewRequestList"
FeatureReviewRequestListKind is the name of the type used to represent list of objects of type 'feature_review_request'.
const FeatureReviewRequestListLinkKind = "FeatureReviewRequestListLink"
FeatureReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'feature_review_request'.
const FeatureReviewRequestListNilKind = "FeatureReviewRequestListNil"
FeatureReviewRequestNilKind is the name of the type used to nil lists of objects of type 'feature_review_request'.
const FeatureReviewResponseListKind = "FeatureReviewResponseList"
FeatureReviewResponseListKind is the name of the type used to represent list of objects of type 'feature_review_response'.
const FeatureReviewResponseListLinkKind = "FeatureReviewResponseListLink"
FeatureReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'feature_review_response'.
const FeatureReviewResponseListNilKind = "FeatureReviewResponseListNil"
FeatureReviewResponseNilKind is the name of the type used to nil lists of objects of type 'feature_review_response'.
const ResourceReviewListKind = "ResourceReviewList"
ResourceReviewListKind is the name of the type used to represent list of objects of type 'resource_review'.
const ResourceReviewListLinkKind = "ResourceReviewListLink"
ResourceReviewListLinkKind is the name of the type used to represent links to list of objects of type 'resource_review'.
const ResourceReviewListNilKind = "ResourceReviewListNil"
ResourceReviewNilKind is the name of the type used to nil lists of objects of type 'resource_review'.
const ResourceReviewRequestListKind = "ResourceReviewRequestList"
ResourceReviewRequestListKind is the name of the type used to represent list of objects of type 'resource_review_request'.
const ResourceReviewRequestListLinkKind = "ResourceReviewRequestListLink"
ResourceReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'resource_review_request'.
const ResourceReviewRequestListNilKind = "ResourceReviewRequestListNil"
ResourceReviewRequestNilKind is the name of the type used to nil lists of objects of type 'resource_review_request'.
const SelfAccessReviewRequestListKind = "SelfAccessReviewRequestList"
SelfAccessReviewRequestListKind is the name of the type used to represent list of objects of type 'self_access_review_request'.
const SelfAccessReviewRequestListLinkKind = "SelfAccessReviewRequestListLink"
SelfAccessReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'self_access_review_request'.
const SelfAccessReviewRequestListNilKind = "SelfAccessReviewRequestListNil"
SelfAccessReviewRequestNilKind is the name of the type used to nil lists of objects of type 'self_access_review_request'.
const SelfAccessReviewResponseListKind = "SelfAccessReviewResponseList"
SelfAccessReviewResponseListKind is the name of the type used to represent list of objects of type 'self_access_review_response'.
const SelfAccessReviewResponseListLinkKind = "SelfAccessReviewResponseListLink"
SelfAccessReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'self_access_review_response'.
const SelfAccessReviewResponseListNilKind = "SelfAccessReviewResponseListNil"
SelfAccessReviewResponseNilKind is the name of the type used to nil lists of objects of type 'self_access_review_response'.
const SelfCapabilityReviewRequestListKind = "SelfCapabilityReviewRequestList"
SelfCapabilityReviewRequestListKind is the name of the type used to represent list of objects of type 'self_capability_review_request'.
const SelfCapabilityReviewRequestListLinkKind = "SelfCapabilityReviewRequestListLink"
SelfCapabilityReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'self_capability_review_request'.
const SelfCapabilityReviewRequestListNilKind = "SelfCapabilityReviewRequestListNil"
SelfCapabilityReviewRequestNilKind is the name of the type used to nil lists of objects of type 'self_capability_review_request'.
const SelfCapabilityReviewResponseListKind = "SelfCapabilityReviewResponseList"
SelfCapabilityReviewResponseListKind is the name of the type used to represent list of objects of type 'self_capability_review_response'.
const SelfCapabilityReviewResponseListLinkKind = "SelfCapabilityReviewResponseListLink"
SelfCapabilityReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'self_capability_review_response'.
const SelfCapabilityReviewResponseListNilKind = "SelfCapabilityReviewResponseListNil"
SelfCapabilityReviewResponseNilKind is the name of the type used to nil lists of objects of type 'self_capability_review_response'.
const SelfFeatureReviewRequestListKind = "SelfFeatureReviewRequestList"
SelfFeatureReviewRequestListKind is the name of the type used to represent list of objects of type 'self_feature_review_request'.
const SelfFeatureReviewRequestListLinkKind = "SelfFeatureReviewRequestListLink"
SelfFeatureReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'self_feature_review_request'.
const SelfFeatureReviewRequestListNilKind = "SelfFeatureReviewRequestListNil"
SelfFeatureReviewRequestNilKind is the name of the type used to nil lists of objects of type 'self_feature_review_request'.
const SelfFeatureReviewResponseListKind = "SelfFeatureReviewResponseList"
SelfFeatureReviewResponseListKind is the name of the type used to represent list of objects of type 'self_feature_review_response'.
const SelfFeatureReviewResponseListLinkKind = "SelfFeatureReviewResponseListLink"
SelfFeatureReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'self_feature_review_response'.
const SelfFeatureReviewResponseListNilKind = "SelfFeatureReviewResponseListNil"
SelfFeatureReviewResponseNilKind is the name of the type used to nil lists of objects of type 'self_feature_review_response'.
const SelfTermsReviewRequestListKind = "SelfTermsReviewRequestList"
SelfTermsReviewRequestListKind is the name of the type used to represent list of objects of type 'self_terms_review_request'.
const SelfTermsReviewRequestListLinkKind = "SelfTermsReviewRequestListLink"
SelfTermsReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'self_terms_review_request'.
const SelfTermsReviewRequestListNilKind = "SelfTermsReviewRequestListNil"
SelfTermsReviewRequestNilKind is the name of the type used to nil lists of objects of type 'self_terms_review_request'.
const TermsReviewRequestListKind = "TermsReviewRequestList"
TermsReviewRequestListKind is the name of the type used to represent list of objects of type 'terms_review_request'.
const TermsReviewRequestListLinkKind = "TermsReviewRequestListLink"
TermsReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'terms_review_request'.
const TermsReviewRequestListNilKind = "TermsReviewRequestListNil"
TermsReviewRequestNilKind is the name of the type used to nil lists of objects of type 'terms_review_request'.
const TermsReviewResponseListKind = "TermsReviewResponseList"
TermsReviewResponseListKind is the name of the type used to represent list of objects of type 'terms_review_response'.
const TermsReviewResponseListLinkKind = "TermsReviewResponseListLink"
TermsReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'terms_review_response'.
const TermsReviewResponseListNilKind = "TermsReviewResponseListNil"
TermsReviewResponseNilKind is the name of the type used to nil lists of objects of type 'terms_review_response'.
Variables ¶
var OpenAPI = []byte{}/* 28380 elements not displayed */
OpenAPI contains the OpenAPI specification of the service in JSON.
Functions ¶
func MarshalAccessReviewRequest ¶
func MarshalAccessReviewRequest(object *AccessReviewRequest, writer io.Writer) error
MarshalAccessReviewRequest writes a value of the 'access_review_request' type to the given writer.
func MarshalAccessReviewRequestList ¶
func MarshalAccessReviewRequestList(list []*AccessReviewRequest, writer io.Writer) error
MarshalAccessReviewRequestList writes a list of values of the 'access_review_request' type to the given writer.
func MarshalAccessReviewResponse ¶
func MarshalAccessReviewResponse(object *AccessReviewResponse, writer io.Writer) error
MarshalAccessReviewResponse writes a value of the 'access_review_response' type to the given writer.
func MarshalAccessReviewResponseList ¶
func MarshalAccessReviewResponseList(list []*AccessReviewResponse, writer io.Writer) error
MarshalAccessReviewResponseList writes a list of values of the 'access_review_response' type to the given writer.
func MarshalBooleanList ¶
MarshalBooleanList writes a list of values of the 'boolean' type to the given writer.
func MarshalCapabilityReviewRequest ¶
func MarshalCapabilityReviewRequest(object *CapabilityReviewRequest, writer io.Writer) error
MarshalCapabilityReviewRequest writes a value of the 'capability_review_request' type to the given writer.
func MarshalCapabilityReviewRequestList ¶
func MarshalCapabilityReviewRequestList(list []*CapabilityReviewRequest, writer io.Writer) error
MarshalCapabilityReviewRequestList writes a list of values of the 'capability_review_request' type to the given writer.
func MarshalCapabilityReviewResponse ¶
func MarshalCapabilityReviewResponse(object *CapabilityReviewResponse, writer io.Writer) error
MarshalCapabilityReviewResponse writes a value of the 'capability_review_response' type to the given writer.
func MarshalCapabilityReviewResponseList ¶
func MarshalCapabilityReviewResponseList(list []*CapabilityReviewResponse, writer io.Writer) error
MarshalCapabilityReviewResponseList writes a list of values of the 'capability_review_response' type to the given writer.
func MarshalDateList ¶
MarshalDateList writes a list of values of the 'date' type to the given writer.
func MarshalExportControlReviewRequest ¶
func MarshalExportControlReviewRequest(object *ExportControlReviewRequest, writer io.Writer) error
MarshalExportControlReviewRequest writes a value of the 'export_control_review_request' type to the given writer.
func MarshalExportControlReviewRequestList ¶
func MarshalExportControlReviewRequestList(list []*ExportControlReviewRequest, writer io.Writer) error
MarshalExportControlReviewRequestList writes a list of values of the 'export_control_review_request' type to the given writer.
func MarshalExportControlReviewResponse ¶
func MarshalExportControlReviewResponse(object *ExportControlReviewResponse, writer io.Writer) error
MarshalExportControlReviewResponse writes a value of the 'export_control_review_response' type to the given writer.
func MarshalExportControlReviewResponseList ¶
func MarshalExportControlReviewResponseList(list []*ExportControlReviewResponse, writer io.Writer) error
MarshalExportControlReviewResponseList writes a list of values of the 'export_control_review_response' type to the given writer.
func MarshalFeatureReviewRequest ¶ added in v0.0.329
func MarshalFeatureReviewRequest(object *FeatureReviewRequest, writer io.Writer) error
MarshalFeatureReviewRequest writes a value of the 'feature_review_request' type to the given writer.
func MarshalFeatureReviewRequestList ¶ added in v0.0.329
func MarshalFeatureReviewRequestList(list []*FeatureReviewRequest, writer io.Writer) error
MarshalFeatureReviewRequestList writes a list of values of the 'feature_review_request' type to the given writer.
func MarshalFeatureReviewResponse ¶ added in v0.0.329
func MarshalFeatureReviewResponse(object *FeatureReviewResponse, writer io.Writer) error
MarshalFeatureReviewResponse writes a value of the 'feature_review_response' type to the given writer.
func MarshalFeatureReviewResponseList ¶ added in v0.0.329
func MarshalFeatureReviewResponseList(list []*FeatureReviewResponse, writer io.Writer) error
MarshalFeatureReviewResponseList writes a list of values of the 'feature_review_response' type to the given writer.
func MarshalFloatList ¶
MarshalFloatList writes a list of values of the 'float' type to the given writer.
func MarshalIntegerList ¶
MarshalIntegerList writes a list of values of the 'integer' type to the given writer.
func MarshalInterfaceList ¶
MarshalInterfaceList writes a list of values of the 'interface' type to the given writer.
func MarshalLongList ¶
MarshalLongList writes a list of values of the 'long' type to the given writer.
func MarshalMetadata ¶
MarshalMetadata writes a value of the metadata type to the given target, which can be a writer or a JSON encoder.
func MarshalResourceReview ¶
func MarshalResourceReview(object *ResourceReview, writer io.Writer) error
MarshalResourceReview writes a value of the 'resource_review' type to the given writer.
func MarshalResourceReviewList ¶
func MarshalResourceReviewList(list []*ResourceReview, writer io.Writer) error
MarshalResourceReviewList writes a list of values of the 'resource_review' type to the given writer.
func MarshalResourceReviewRequest ¶
func MarshalResourceReviewRequest(object *ResourceReviewRequest, writer io.Writer) error
MarshalResourceReviewRequest writes a value of the 'resource_review_request' type to the given writer.
func MarshalResourceReviewRequestList ¶
func MarshalResourceReviewRequestList(list []*ResourceReviewRequest, writer io.Writer) error
MarshalResourceReviewRequestList writes a list of values of the 'resource_review_request' type to the given writer.
func MarshalSelfAccessReviewRequest ¶
func MarshalSelfAccessReviewRequest(object *SelfAccessReviewRequest, writer io.Writer) error
MarshalSelfAccessReviewRequest writes a value of the 'self_access_review_request' type to the given writer.
func MarshalSelfAccessReviewRequestList ¶
func MarshalSelfAccessReviewRequestList(list []*SelfAccessReviewRequest, writer io.Writer) error
MarshalSelfAccessReviewRequestList writes a list of values of the 'self_access_review_request' type to the given writer.
func MarshalSelfAccessReviewResponse ¶
func MarshalSelfAccessReviewResponse(object *SelfAccessReviewResponse, writer io.Writer) error
MarshalSelfAccessReviewResponse writes a value of the 'self_access_review_response' type to the given writer.
func MarshalSelfAccessReviewResponseList ¶
func MarshalSelfAccessReviewResponseList(list []*SelfAccessReviewResponse, writer io.Writer) error
MarshalSelfAccessReviewResponseList writes a list of values of the 'self_access_review_response' type to the given writer.
func MarshalSelfCapabilityReviewRequest ¶
func MarshalSelfCapabilityReviewRequest(object *SelfCapabilityReviewRequest, writer io.Writer) error
MarshalSelfCapabilityReviewRequest writes a value of the 'self_capability_review_request' type to the given writer.
func MarshalSelfCapabilityReviewRequestList ¶
func MarshalSelfCapabilityReviewRequestList(list []*SelfCapabilityReviewRequest, writer io.Writer) error
MarshalSelfCapabilityReviewRequestList writes a list of values of the 'self_capability_review_request' type to the given writer.
func MarshalSelfCapabilityReviewResponse ¶
func MarshalSelfCapabilityReviewResponse(object *SelfCapabilityReviewResponse, writer io.Writer) error
MarshalSelfCapabilityReviewResponse writes a value of the 'self_capability_review_response' type to the given writer.
func MarshalSelfCapabilityReviewResponseList ¶
func MarshalSelfCapabilityReviewResponseList(list []*SelfCapabilityReviewResponse, writer io.Writer) error
MarshalSelfCapabilityReviewResponseList writes a list of values of the 'self_capability_review_response' type to the given writer.
func MarshalSelfFeatureReviewRequest ¶ added in v0.0.329
func MarshalSelfFeatureReviewRequest(object *SelfFeatureReviewRequest, writer io.Writer) error
MarshalSelfFeatureReviewRequest writes a value of the 'self_feature_review_request' type to the given writer.
func MarshalSelfFeatureReviewRequestList ¶ added in v0.0.329
func MarshalSelfFeatureReviewRequestList(list []*SelfFeatureReviewRequest, writer io.Writer) error
MarshalSelfFeatureReviewRequestList writes a list of values of the 'self_feature_review_request' type to the given writer.
func MarshalSelfFeatureReviewResponse ¶ added in v0.0.329
func MarshalSelfFeatureReviewResponse(object *SelfFeatureReviewResponse, writer io.Writer) error
MarshalSelfFeatureReviewResponse writes a value of the 'self_feature_review_response' type to the given writer.
func MarshalSelfFeatureReviewResponseList ¶ added in v0.0.329
func MarshalSelfFeatureReviewResponseList(list []*SelfFeatureReviewResponse, writer io.Writer) error
MarshalSelfFeatureReviewResponseList writes a list of values of the 'self_feature_review_response' type to the given writer.
func MarshalSelfTermsReviewRequest ¶ added in v0.0.329
func MarshalSelfTermsReviewRequest(object *SelfTermsReviewRequest, writer io.Writer) error
MarshalSelfTermsReviewRequest writes a value of the 'self_terms_review_request' type to the given writer.
func MarshalSelfTermsReviewRequestList ¶ added in v0.0.329
func MarshalSelfTermsReviewRequestList(list []*SelfTermsReviewRequest, writer io.Writer) error
MarshalSelfTermsReviewRequestList writes a list of values of the 'self_terms_review_request' type to the given writer.
func MarshalStringList ¶
MarshalStringList writes a list of values of the 'string' type to the given writer.
func MarshalSubscriptionStatusList ¶ added in v0.0.329
func MarshalSubscriptionStatusList(list []SubscriptionStatus, writer io.Writer) error
MarshalSubscriptionStatusList writes a list of values of the 'subscription_status' type to the given writer.
func MarshalTermsReviewRequest ¶ added in v0.0.329
func MarshalTermsReviewRequest(object *TermsReviewRequest, writer io.Writer) error
MarshalTermsReviewRequest writes a value of the 'terms_review_request' type to the given writer.
func MarshalTermsReviewRequestList ¶ added in v0.0.329
func MarshalTermsReviewRequestList(list []*TermsReviewRequest, writer io.Writer) error
MarshalTermsReviewRequestList writes a list of values of the 'terms_review_request' type to the given writer.
func MarshalTermsReviewResponse ¶ added in v0.0.329
func MarshalTermsReviewResponse(object *TermsReviewResponse, writer io.Writer) error
MarshalTermsReviewResponse writes a value of the 'terms_review_response' type to the given writer.
func MarshalTermsReviewResponseList ¶ added in v0.0.329
func MarshalTermsReviewResponseList(list []*TermsReviewResponse, writer io.Writer) error
MarshalTermsReviewResponseList writes a list of values of the 'terms_review_response' type to the given writer.
func UnmarshalBooleanList ¶
UnmarshalBooleanList reads a list of values of the 'boolean' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalDateList ¶
UnmarshalDateList reads a list of values of the 'date' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalFloatList ¶
UnmarshalFloatList reads a list of values of the 'float' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalIntegerList ¶
UnmarshalIntegerList reads a list of values of the 'integer' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalInterfaceList ¶
func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)
UnmarshalInterfaceList reads a list of values of the 'interface' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalLongList ¶
UnmarshalLongList reads a list of values of the 'long' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalStringList ¶
UnmarshalStringList reads a list of values of the 'string' type from the given source, which can be a slice of bytes, a string or a reader.
Types ¶
type AccessReviewClient ¶
type AccessReviewClient struct {
// contains filtered or unexported fields
}
AccessReviewClient is the client of the 'access_review' resource.
Manages access review.
func NewAccessReviewClient ¶
func NewAccessReviewClient(transport http.RoundTripper, path string) *AccessReviewClient
NewAccessReviewClient creates a new client for the 'access_review' resource using the given transport to send the requests and receive the responses.
func (*AccessReviewClient) Post ¶
func (c *AccessReviewClient) Post() *AccessReviewPostRequest
Post creates a request for the 'post' method.
Reviews a user's access to a resource
type AccessReviewPostRequest ¶
type AccessReviewPostRequest struct {
// contains filtered or unexported fields
}
AccessReviewPostRequest is the request for the 'post' method.
func (*AccessReviewPostRequest) Header ¶
func (r *AccessReviewPostRequest) Header(name string, value interface{}) *AccessReviewPostRequest
Header adds a request header.
func (*AccessReviewPostRequest) Impersonate ¶ added in v0.0.329
func (r *AccessReviewPostRequest) Impersonate(user string) *AccessReviewPostRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*AccessReviewPostRequest) Parameter ¶
func (r *AccessReviewPostRequest) Parameter(name string, value interface{}) *AccessReviewPostRequest
Parameter adds a query parameter.
func (*AccessReviewPostRequest) Request ¶
func (r *AccessReviewPostRequest) Request(value *AccessReviewRequest) *AccessReviewPostRequest
Request sets the value of the 'request' parameter.
func (*AccessReviewPostRequest) Send ¶
func (r *AccessReviewPostRequest) Send() (result *AccessReviewPostResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*AccessReviewPostRequest) SendContext ¶
func (r *AccessReviewPostRequest) SendContext(ctx context.Context) (result *AccessReviewPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AccessReviewPostResponse ¶
type AccessReviewPostResponse struct {
// contains filtered or unexported fields
}
AccessReviewPostResponse is the response for the 'post' method.
func (*AccessReviewPostResponse) Error ¶
func (r *AccessReviewPostResponse) Error() *errors.Error
Error returns the response error.
func (*AccessReviewPostResponse) GetResponse ¶
func (r *AccessReviewPostResponse) GetResponse() (value *AccessReviewResponse, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*AccessReviewPostResponse) Header ¶
func (r *AccessReviewPostResponse) Header() http.Header
Header returns header of the response.
func (*AccessReviewPostResponse) Response ¶
func (r *AccessReviewPostResponse) Response() *AccessReviewResponse
Response returns the value of the 'response' parameter.
func (*AccessReviewPostResponse) Status ¶
func (r *AccessReviewPostResponse) Status() int
Status returns the response status code.
type AccessReviewRequest ¶
type AccessReviewRequest struct {
// contains filtered or unexported fields
}
AccessReviewRequest represents the values of the 'access_review_request' type.
Representation of an access review
func UnmarshalAccessReviewRequest ¶
func UnmarshalAccessReviewRequest(source interface{}) (object *AccessReviewRequest, err error)
UnmarshalAccessReviewRequest reads a value of the 'access_review_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAccessReviewRequestList ¶
func UnmarshalAccessReviewRequestList(source interface{}) (items []*AccessReviewRequest, err error)
UnmarshalAccessReviewRequestList reads a list of values of the 'access_review_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AccessReviewRequest) AccountUsername ¶
func (o *AccessReviewRequest) AccountUsername() string
AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines the username of the account of which access is being reviewed
func (*AccessReviewRequest) Action ¶
func (o *AccessReviewRequest) Action() string
Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*AccessReviewRequest) ClusterID ¶
func (o *AccessReviewRequest) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*AccessReviewRequest) ClusterUUID ¶
func (o *AccessReviewRequest) ClusterUUID() string
ClusterUUID returns the value of the 'cluster_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (external id) the resource type belongs to
func (*AccessReviewRequest) Empty ¶
func (o *AccessReviewRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AccessReviewRequest) GetAccountUsername ¶
func (o *AccessReviewRequest) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
Defines the username of the account of which access is being reviewed
func (*AccessReviewRequest) GetAction ¶
func (o *AccessReviewRequest) GetAction() (value string, ok bool)
GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*AccessReviewRequest) GetClusterID ¶
func (o *AccessReviewRequest) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*AccessReviewRequest) GetClusterUUID ¶
func (o *AccessReviewRequest) GetClusterUUID() (value string, ok bool)
GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (external id) the resource type belongs to
func (*AccessReviewRequest) GetOrganizationID ¶
func (o *AccessReviewRequest) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Organization the resource type belongs to
func (*AccessReviewRequest) GetResourceType ¶
func (o *AccessReviewRequest) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*AccessReviewRequest) GetSubscriptionID ¶
func (o *AccessReviewRequest) GetSubscriptionID() (value string, ok bool)
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Subscription the resource type belongs to
func (*AccessReviewRequest) OrganizationID ¶
func (o *AccessReviewRequest) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Organization the resource type belongs to
func (*AccessReviewRequest) ResourceType ¶
func (o *AccessReviewRequest) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*AccessReviewRequest) SubscriptionID ¶
func (o *AccessReviewRequest) SubscriptionID() string
SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Subscription the resource type belongs to
type AccessReviewRequestBuilder ¶
type AccessReviewRequestBuilder struct {
// contains filtered or unexported fields
}
AccessReviewRequestBuilder contains the data and logic needed to build 'access_review_request' objects.
Representation of an access review
func NewAccessReviewRequest ¶
func NewAccessReviewRequest() *AccessReviewRequestBuilder
NewAccessReviewRequest creates a new builder of 'access_review_request' objects.
func (*AccessReviewRequestBuilder) AccountUsername ¶
func (b *AccessReviewRequestBuilder) AccountUsername(value string) *AccessReviewRequestBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*AccessReviewRequestBuilder) Action ¶
func (b *AccessReviewRequestBuilder) Action(value string) *AccessReviewRequestBuilder
Action sets the value of the 'action' attribute to the given value.
func (*AccessReviewRequestBuilder) Build ¶
func (b *AccessReviewRequestBuilder) Build() (object *AccessReviewRequest, err error)
Build creates a 'access_review_request' object using the configuration stored in the builder.
func (*AccessReviewRequestBuilder) ClusterID ¶
func (b *AccessReviewRequestBuilder) ClusterID(value string) *AccessReviewRequestBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*AccessReviewRequestBuilder) ClusterUUID ¶
func (b *AccessReviewRequestBuilder) ClusterUUID(value string) *AccessReviewRequestBuilder
ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.
func (*AccessReviewRequestBuilder) Copy ¶
func (b *AccessReviewRequestBuilder) Copy(object *AccessReviewRequest) *AccessReviewRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AccessReviewRequestBuilder) Empty ¶ added in v0.0.329
func (b *AccessReviewRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*AccessReviewRequestBuilder) OrganizationID ¶
func (b *AccessReviewRequestBuilder) OrganizationID(value string) *AccessReviewRequestBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*AccessReviewRequestBuilder) ResourceType ¶
func (b *AccessReviewRequestBuilder) ResourceType(value string) *AccessReviewRequestBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*AccessReviewRequestBuilder) SubscriptionID ¶
func (b *AccessReviewRequestBuilder) SubscriptionID(value string) *AccessReviewRequestBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
type AccessReviewRequestList ¶
type AccessReviewRequestList struct {
// contains filtered or unexported fields
}
AccessReviewRequestList is a list of values of the 'access_review_request' type.
func (*AccessReviewRequestList) Each ¶
func (l *AccessReviewRequestList) Each(f func(item *AccessReviewRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AccessReviewRequestList) Empty ¶
func (l *AccessReviewRequestList) Empty() bool
Empty returns true if the list is empty.
func (*AccessReviewRequestList) Get ¶
func (l *AccessReviewRequestList) Get(i int) *AccessReviewRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AccessReviewRequestList) Len ¶
func (l *AccessReviewRequestList) Len() int
Len returns the length of the list.
func (*AccessReviewRequestList) Range ¶
func (l *AccessReviewRequestList) Range(f func(index int, item *AccessReviewRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AccessReviewRequestList) Slice ¶
func (l *AccessReviewRequestList) Slice() []*AccessReviewRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AccessReviewRequestListBuilder ¶
type AccessReviewRequestListBuilder struct {
// contains filtered or unexported fields
}
AccessReviewRequestListBuilder contains the data and logic needed to build 'access_review_request' objects.
func NewAccessReviewRequestList ¶
func NewAccessReviewRequestList() *AccessReviewRequestListBuilder
NewAccessReviewRequestList creates a new builder of 'access_review_request' objects.
func (*AccessReviewRequestListBuilder) Build ¶
func (b *AccessReviewRequestListBuilder) Build() (list *AccessReviewRequestList, err error)
Build creates a list of 'access_review_request' objects using the configuration stored in the builder.
func (*AccessReviewRequestListBuilder) Copy ¶
func (b *AccessReviewRequestListBuilder) Copy(list *AccessReviewRequestList) *AccessReviewRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AccessReviewRequestListBuilder) Empty ¶ added in v0.0.329
func (b *AccessReviewRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*AccessReviewRequestListBuilder) Items ¶
func (b *AccessReviewRequestListBuilder) Items(values ...*AccessReviewRequestBuilder) *AccessReviewRequestListBuilder
Items sets the items of the list.
type AccessReviewResponse ¶
type AccessReviewResponse struct {
// contains filtered or unexported fields
}
AccessReviewResponse represents the values of the 'access_review_response' type.
Representation of an access review response
func UnmarshalAccessReviewResponse ¶
func UnmarshalAccessReviewResponse(source interface{}) (object *AccessReviewResponse, err error)
UnmarshalAccessReviewResponse reads a value of the 'access_review_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAccessReviewResponseList ¶
func UnmarshalAccessReviewResponseList(source interface{}) (items []*AccessReviewResponse, err error)
UnmarshalAccessReviewResponseList reads a list of values of the 'access_review_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AccessReviewResponse) AccountUsername ¶
func (o *AccessReviewResponse) AccountUsername() string
AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines the username of the account of which access is being reviewed
func (*AccessReviewResponse) Action ¶
func (o *AccessReviewResponse) Action() string
Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*AccessReviewResponse) Allowed ¶
func (o *AccessReviewResponse) Allowed() bool
Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines whether the action on the specified resource type is allowed
func (*AccessReviewResponse) ClusterID ¶
func (o *AccessReviewResponse) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*AccessReviewResponse) ClusterUUID ¶
func (o *AccessReviewResponse) ClusterUUID() string
ClusterUUID returns the value of the 'cluster_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (external id) the resource type belongs to
func (*AccessReviewResponse) Empty ¶
func (o *AccessReviewResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AccessReviewResponse) GetAccountUsername ¶
func (o *AccessReviewResponse) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
Defines the username of the account of which access is being reviewed
func (*AccessReviewResponse) GetAction ¶
func (o *AccessReviewResponse) GetAction() (value string, ok bool)
GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*AccessReviewResponse) GetAllowed ¶
func (o *AccessReviewResponse) GetAllowed() (value bool, ok bool)
GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.
Defines whether the action on the specified resource type is allowed
func (*AccessReviewResponse) GetClusterID ¶
func (o *AccessReviewResponse) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*AccessReviewResponse) GetClusterUUID ¶
func (o *AccessReviewResponse) GetClusterUUID() (value string, ok bool)
GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (external id) the resource type belongs to
func (*AccessReviewResponse) GetOrganizationID ¶
func (o *AccessReviewResponse) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Organization the resource type belongs to
func (*AccessReviewResponse) GetResourceType ¶
func (o *AccessReviewResponse) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*AccessReviewResponse) GetSubscriptionID ¶
func (o *AccessReviewResponse) GetSubscriptionID() (value string, ok bool)
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Subscription the resource type belongs to
func (*AccessReviewResponse) OrganizationID ¶
func (o *AccessReviewResponse) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Organization the resource type belongs to
func (*AccessReviewResponse) ResourceType ¶
func (o *AccessReviewResponse) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*AccessReviewResponse) SubscriptionID ¶
func (o *AccessReviewResponse) SubscriptionID() string
SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Subscription the resource type belongs to
type AccessReviewResponseBuilder ¶
type AccessReviewResponseBuilder struct {
// contains filtered or unexported fields
}
AccessReviewResponseBuilder contains the data and logic needed to build 'access_review_response' objects.
Representation of an access review response
func NewAccessReviewResponse ¶
func NewAccessReviewResponse() *AccessReviewResponseBuilder
NewAccessReviewResponse creates a new builder of 'access_review_response' objects.
func (*AccessReviewResponseBuilder) AccountUsername ¶
func (b *AccessReviewResponseBuilder) AccountUsername(value string) *AccessReviewResponseBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*AccessReviewResponseBuilder) Action ¶
func (b *AccessReviewResponseBuilder) Action(value string) *AccessReviewResponseBuilder
Action sets the value of the 'action' attribute to the given value.
func (*AccessReviewResponseBuilder) Allowed ¶
func (b *AccessReviewResponseBuilder) Allowed(value bool) *AccessReviewResponseBuilder
Allowed sets the value of the 'allowed' attribute to the given value.
func (*AccessReviewResponseBuilder) Build ¶
func (b *AccessReviewResponseBuilder) Build() (object *AccessReviewResponse, err error)
Build creates a 'access_review_response' object using the configuration stored in the builder.
func (*AccessReviewResponseBuilder) ClusterID ¶
func (b *AccessReviewResponseBuilder) ClusterID(value string) *AccessReviewResponseBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*AccessReviewResponseBuilder) ClusterUUID ¶
func (b *AccessReviewResponseBuilder) ClusterUUID(value string) *AccessReviewResponseBuilder
ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.
func (*AccessReviewResponseBuilder) Copy ¶
func (b *AccessReviewResponseBuilder) Copy(object *AccessReviewResponse) *AccessReviewResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AccessReviewResponseBuilder) Empty ¶ added in v0.0.329
func (b *AccessReviewResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*AccessReviewResponseBuilder) OrganizationID ¶
func (b *AccessReviewResponseBuilder) OrganizationID(value string) *AccessReviewResponseBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*AccessReviewResponseBuilder) ResourceType ¶
func (b *AccessReviewResponseBuilder) ResourceType(value string) *AccessReviewResponseBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*AccessReviewResponseBuilder) SubscriptionID ¶
func (b *AccessReviewResponseBuilder) SubscriptionID(value string) *AccessReviewResponseBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
type AccessReviewResponseList ¶
type AccessReviewResponseList struct {
// contains filtered or unexported fields
}
AccessReviewResponseList is a list of values of the 'access_review_response' type.
func (*AccessReviewResponseList) Each ¶
func (l *AccessReviewResponseList) Each(f func(item *AccessReviewResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AccessReviewResponseList) Empty ¶
func (l *AccessReviewResponseList) Empty() bool
Empty returns true if the list is empty.
func (*AccessReviewResponseList) Get ¶
func (l *AccessReviewResponseList) Get(i int) *AccessReviewResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AccessReviewResponseList) Len ¶
func (l *AccessReviewResponseList) Len() int
Len returns the length of the list.
func (*AccessReviewResponseList) Range ¶
func (l *AccessReviewResponseList) Range(f func(index int, item *AccessReviewResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AccessReviewResponseList) Slice ¶
func (l *AccessReviewResponseList) Slice() []*AccessReviewResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AccessReviewResponseListBuilder ¶
type AccessReviewResponseListBuilder struct {
// contains filtered or unexported fields
}
AccessReviewResponseListBuilder contains the data and logic needed to build 'access_review_response' objects.
func NewAccessReviewResponseList ¶
func NewAccessReviewResponseList() *AccessReviewResponseListBuilder
NewAccessReviewResponseList creates a new builder of 'access_review_response' objects.
func (*AccessReviewResponseListBuilder) Build ¶
func (b *AccessReviewResponseListBuilder) Build() (list *AccessReviewResponseList, err error)
Build creates a list of 'access_review_response' objects using the configuration stored in the builder.
func (*AccessReviewResponseListBuilder) Copy ¶
func (b *AccessReviewResponseListBuilder) Copy(list *AccessReviewResponseList) *AccessReviewResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AccessReviewResponseListBuilder) Empty ¶ added in v0.0.329
func (b *AccessReviewResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*AccessReviewResponseListBuilder) Items ¶
func (b *AccessReviewResponseListBuilder) Items(values ...*AccessReviewResponseBuilder) *AccessReviewResponseListBuilder
Items sets the items of the list.
type CapabilityReviewClient ¶
type CapabilityReviewClient struct {
// contains filtered or unexported fields
}
CapabilityReviewClient is the client of the 'capability_review' resource.
Manages capability review.
func NewCapabilityReviewClient ¶
func NewCapabilityReviewClient(transport http.RoundTripper, path string) *CapabilityReviewClient
NewCapabilityReviewClient creates a new client for the 'capability_review' resource using the given transport to send the requests and receive the responses.
func (*CapabilityReviewClient) Post ¶
func (c *CapabilityReviewClient) Post() *CapabilityReviewPostRequest
Post creates a request for the 'post' method.
Reviews a user's capability to a resource.
type CapabilityReviewPostRequest ¶
type CapabilityReviewPostRequest struct {
// contains filtered or unexported fields
}
CapabilityReviewPostRequest is the request for the 'post' method.
func (*CapabilityReviewPostRequest) Header ¶
func (r *CapabilityReviewPostRequest) Header(name string, value interface{}) *CapabilityReviewPostRequest
Header adds a request header.
func (*CapabilityReviewPostRequest) Impersonate ¶ added in v0.0.329
func (r *CapabilityReviewPostRequest) Impersonate(user string) *CapabilityReviewPostRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*CapabilityReviewPostRequest) Parameter ¶
func (r *CapabilityReviewPostRequest) Parameter(name string, value interface{}) *CapabilityReviewPostRequest
Parameter adds a query parameter.
func (*CapabilityReviewPostRequest) Request ¶
func (r *CapabilityReviewPostRequest) Request(value *CapabilityReviewRequest) *CapabilityReviewPostRequest
Request sets the value of the 'request' parameter.
func (*CapabilityReviewPostRequest) Send ¶
func (r *CapabilityReviewPostRequest) Send() (result *CapabilityReviewPostResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*CapabilityReviewPostRequest) SendContext ¶
func (r *CapabilityReviewPostRequest) SendContext(ctx context.Context) (result *CapabilityReviewPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type CapabilityReviewPostResponse ¶
type CapabilityReviewPostResponse struct {
// contains filtered or unexported fields
}
CapabilityReviewPostResponse is the response for the 'post' method.
func (*CapabilityReviewPostResponse) Error ¶
func (r *CapabilityReviewPostResponse) Error() *errors.Error
Error returns the response error.
func (*CapabilityReviewPostResponse) GetResponse ¶
func (r *CapabilityReviewPostResponse) GetResponse() (value *CapabilityReviewResponse, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*CapabilityReviewPostResponse) Header ¶
func (r *CapabilityReviewPostResponse) Header() http.Header
Header returns header of the response.
func (*CapabilityReviewPostResponse) Response ¶
func (r *CapabilityReviewPostResponse) Response() *CapabilityReviewResponse
Response returns the value of the 'response' parameter.
func (*CapabilityReviewPostResponse) Status ¶
func (r *CapabilityReviewPostResponse) Status() int
Status returns the response status code.
type CapabilityReviewRequest ¶
type CapabilityReviewRequest struct {
// contains filtered or unexported fields
}
CapabilityReviewRequest represents the values of the 'capability_review_request' type.
Representation of a capability review.
func UnmarshalCapabilityReviewRequest ¶
func UnmarshalCapabilityReviewRequest(source interface{}) (object *CapabilityReviewRequest, err error)
UnmarshalCapabilityReviewRequest reads a value of the 'capability_review_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalCapabilityReviewRequestList ¶
func UnmarshalCapabilityReviewRequestList(source interface{}) (items []*CapabilityReviewRequest, err error)
UnmarshalCapabilityReviewRequestList reads a list of values of the 'capability_review_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*CapabilityReviewRequest) AccountUsername ¶
func (o *CapabilityReviewRequest) AccountUsername() string
AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines the username of the account of which capability is being reviewed.
func (*CapabilityReviewRequest) Capability ¶
func (o *CapabilityReviewRequest) Capability() string
Capability returns the value of the 'capability' attribute, or the zero value of the type if the attribute doesn't have a value.
Capability to review [manage_cluster_admin].
func (*CapabilityReviewRequest) ClusterID ¶
func (o *CapabilityReviewRequest) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (internal id) the resource type belongs to.
func (*CapabilityReviewRequest) Empty ¶
func (o *CapabilityReviewRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*CapabilityReviewRequest) GetAccountUsername ¶
func (o *CapabilityReviewRequest) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
Defines the username of the account of which capability is being reviewed.
func (*CapabilityReviewRequest) GetCapability ¶
func (o *CapabilityReviewRequest) GetCapability() (value string, ok bool)
GetCapability returns the value of the 'capability' attribute and a flag indicating if the attribute has a value.
Capability to review [manage_cluster_admin].
func (*CapabilityReviewRequest) GetClusterID ¶
func (o *CapabilityReviewRequest) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (internal id) the resource type belongs to.
func (*CapabilityReviewRequest) GetOrganizationID ¶
func (o *CapabilityReviewRequest) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Organization the resource type belongs to.
func (*CapabilityReviewRequest) GetResourceType ¶
func (o *CapabilityReviewRequest) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
Indicates the type of the resource. See uhc-account-manager/openapi/openapi.yaml for a list of possible values.
func (*CapabilityReviewRequest) GetSubscriptionID ¶
func (o *CapabilityReviewRequest) GetSubscriptionID() (value string, ok bool)
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Subscription the resource type belongs to.
func (*CapabilityReviewRequest) GetType ¶
func (o *CapabilityReviewRequest) GetType() (value string, ok bool)
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
Type of capability [Cluster].
func (*CapabilityReviewRequest) OrganizationID ¶
func (o *CapabilityReviewRequest) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Organization the resource type belongs to.
func (*CapabilityReviewRequest) ResourceType ¶
func (o *CapabilityReviewRequest) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the type of the resource. See uhc-account-manager/openapi/openapi.yaml for a list of possible values.
func (*CapabilityReviewRequest) SubscriptionID ¶
func (o *CapabilityReviewRequest) SubscriptionID() string
SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Subscription the resource type belongs to.
func (*CapabilityReviewRequest) Type ¶
func (o *CapabilityReviewRequest) Type() string
Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.
Type of capability [Cluster].
type CapabilityReviewRequestBuilder ¶
type CapabilityReviewRequestBuilder struct {
// contains filtered or unexported fields
}
CapabilityReviewRequestBuilder contains the data and logic needed to build 'capability_review_request' objects.
Representation of a capability review.
func NewCapabilityReviewRequest ¶
func NewCapabilityReviewRequest() *CapabilityReviewRequestBuilder
NewCapabilityReviewRequest creates a new builder of 'capability_review_request' objects.
func (*CapabilityReviewRequestBuilder) AccountUsername ¶
func (b *CapabilityReviewRequestBuilder) AccountUsername(value string) *CapabilityReviewRequestBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*CapabilityReviewRequestBuilder) Build ¶
func (b *CapabilityReviewRequestBuilder) Build() (object *CapabilityReviewRequest, err error)
Build creates a 'capability_review_request' object using the configuration stored in the builder.
func (*CapabilityReviewRequestBuilder) Capability ¶
func (b *CapabilityReviewRequestBuilder) Capability(value string) *CapabilityReviewRequestBuilder
Capability sets the value of the 'capability' attribute to the given value.
func (*CapabilityReviewRequestBuilder) ClusterID ¶
func (b *CapabilityReviewRequestBuilder) ClusterID(value string) *CapabilityReviewRequestBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*CapabilityReviewRequestBuilder) Copy ¶
func (b *CapabilityReviewRequestBuilder) Copy(object *CapabilityReviewRequest) *CapabilityReviewRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*CapabilityReviewRequestBuilder) Empty ¶ added in v0.0.329
func (b *CapabilityReviewRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*CapabilityReviewRequestBuilder) OrganizationID ¶
func (b *CapabilityReviewRequestBuilder) OrganizationID(value string) *CapabilityReviewRequestBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*CapabilityReviewRequestBuilder) ResourceType ¶
func (b *CapabilityReviewRequestBuilder) ResourceType(value string) *CapabilityReviewRequestBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*CapabilityReviewRequestBuilder) SubscriptionID ¶
func (b *CapabilityReviewRequestBuilder) SubscriptionID(value string) *CapabilityReviewRequestBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
func (*CapabilityReviewRequestBuilder) Type ¶
func (b *CapabilityReviewRequestBuilder) Type(value string) *CapabilityReviewRequestBuilder
Type sets the value of the 'type' attribute to the given value.
type CapabilityReviewRequestList ¶
type CapabilityReviewRequestList struct {
// contains filtered or unexported fields
}
CapabilityReviewRequestList is a list of values of the 'capability_review_request' type.
func (*CapabilityReviewRequestList) Each ¶
func (l *CapabilityReviewRequestList) Each(f func(item *CapabilityReviewRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CapabilityReviewRequestList) Empty ¶
func (l *CapabilityReviewRequestList) Empty() bool
Empty returns true if the list is empty.
func (*CapabilityReviewRequestList) Get ¶
func (l *CapabilityReviewRequestList) Get(i int) *CapabilityReviewRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*CapabilityReviewRequestList) Len ¶
func (l *CapabilityReviewRequestList) Len() int
Len returns the length of the list.
func (*CapabilityReviewRequestList) Range ¶
func (l *CapabilityReviewRequestList) Range(f func(index int, item *CapabilityReviewRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CapabilityReviewRequestList) Slice ¶
func (l *CapabilityReviewRequestList) Slice() []*CapabilityReviewRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type CapabilityReviewRequestListBuilder ¶
type CapabilityReviewRequestListBuilder struct {
// contains filtered or unexported fields
}
CapabilityReviewRequestListBuilder contains the data and logic needed to build 'capability_review_request' objects.
func NewCapabilityReviewRequestList ¶
func NewCapabilityReviewRequestList() *CapabilityReviewRequestListBuilder
NewCapabilityReviewRequestList creates a new builder of 'capability_review_request' objects.
func (*CapabilityReviewRequestListBuilder) Build ¶
func (b *CapabilityReviewRequestListBuilder) Build() (list *CapabilityReviewRequestList, err error)
Build creates a list of 'capability_review_request' objects using the configuration stored in the builder.
func (*CapabilityReviewRequestListBuilder) Copy ¶
func (b *CapabilityReviewRequestListBuilder) Copy(list *CapabilityReviewRequestList) *CapabilityReviewRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*CapabilityReviewRequestListBuilder) Empty ¶ added in v0.0.329
func (b *CapabilityReviewRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*CapabilityReviewRequestListBuilder) Items ¶
func (b *CapabilityReviewRequestListBuilder) Items(values ...*CapabilityReviewRequestBuilder) *CapabilityReviewRequestListBuilder
Items sets the items of the list.
type CapabilityReviewResponse ¶
type CapabilityReviewResponse struct {
// contains filtered or unexported fields
}
CapabilityReviewResponse represents the values of the 'capability_review_response' type.
Representation of a capability review response.
func UnmarshalCapabilityReviewResponse ¶
func UnmarshalCapabilityReviewResponse(source interface{}) (object *CapabilityReviewResponse, err error)
UnmarshalCapabilityReviewResponse reads a value of the 'capability_review_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalCapabilityReviewResponseList ¶
func UnmarshalCapabilityReviewResponseList(source interface{}) (items []*CapabilityReviewResponse, err error)
UnmarshalCapabilityReviewResponseList reads a list of values of the 'capability_review_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*CapabilityReviewResponse) Empty ¶
func (o *CapabilityReviewResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*CapabilityReviewResponse) GetResult ¶
func (o *CapabilityReviewResponse) GetResult() (value string, ok bool)
GetResult returns the value of the 'result' attribute and a flag indicating if the attribute has a value.
func (*CapabilityReviewResponse) Result ¶
func (o *CapabilityReviewResponse) Result() string
Result returns the value of the 'result' attribute, or the zero value of the type if the attribute doesn't have a value.
type CapabilityReviewResponseBuilder ¶
type CapabilityReviewResponseBuilder struct {
// contains filtered or unexported fields
}
CapabilityReviewResponseBuilder contains the data and logic needed to build 'capability_review_response' objects.
Representation of a capability review response.
func NewCapabilityReviewResponse ¶
func NewCapabilityReviewResponse() *CapabilityReviewResponseBuilder
NewCapabilityReviewResponse creates a new builder of 'capability_review_response' objects.
func (*CapabilityReviewResponseBuilder) Build ¶
func (b *CapabilityReviewResponseBuilder) Build() (object *CapabilityReviewResponse, err error)
Build creates a 'capability_review_response' object using the configuration stored in the builder.
func (*CapabilityReviewResponseBuilder) Copy ¶
func (b *CapabilityReviewResponseBuilder) Copy(object *CapabilityReviewResponse) *CapabilityReviewResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*CapabilityReviewResponseBuilder) Empty ¶ added in v0.0.329
func (b *CapabilityReviewResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*CapabilityReviewResponseBuilder) Result ¶
func (b *CapabilityReviewResponseBuilder) Result(value string) *CapabilityReviewResponseBuilder
Result sets the value of the 'result' attribute to the given value.
type CapabilityReviewResponseList ¶
type CapabilityReviewResponseList struct {
// contains filtered or unexported fields
}
CapabilityReviewResponseList is a list of values of the 'capability_review_response' type.
func (*CapabilityReviewResponseList) Each ¶
func (l *CapabilityReviewResponseList) Each(f func(item *CapabilityReviewResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CapabilityReviewResponseList) Empty ¶
func (l *CapabilityReviewResponseList) Empty() bool
Empty returns true if the list is empty.
func (*CapabilityReviewResponseList) Get ¶
func (l *CapabilityReviewResponseList) Get(i int) *CapabilityReviewResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*CapabilityReviewResponseList) Len ¶
func (l *CapabilityReviewResponseList) Len() int
Len returns the length of the list.
func (*CapabilityReviewResponseList) Range ¶
func (l *CapabilityReviewResponseList) Range(f func(index int, item *CapabilityReviewResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CapabilityReviewResponseList) Slice ¶
func (l *CapabilityReviewResponseList) Slice() []*CapabilityReviewResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type CapabilityReviewResponseListBuilder ¶
type CapabilityReviewResponseListBuilder struct {
// contains filtered or unexported fields
}
CapabilityReviewResponseListBuilder contains the data and logic needed to build 'capability_review_response' objects.
func NewCapabilityReviewResponseList ¶
func NewCapabilityReviewResponseList() *CapabilityReviewResponseListBuilder
NewCapabilityReviewResponseList creates a new builder of 'capability_review_response' objects.
func (*CapabilityReviewResponseListBuilder) Build ¶
func (b *CapabilityReviewResponseListBuilder) Build() (list *CapabilityReviewResponseList, err error)
Build creates a list of 'capability_review_response' objects using the configuration stored in the builder.
func (*CapabilityReviewResponseListBuilder) Copy ¶
func (b *CapabilityReviewResponseListBuilder) Copy(list *CapabilityReviewResponseList) *CapabilityReviewResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*CapabilityReviewResponseListBuilder) Empty ¶ added in v0.0.329
func (b *CapabilityReviewResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*CapabilityReviewResponseListBuilder) Items ¶
func (b *CapabilityReviewResponseListBuilder) Items(values ...*CapabilityReviewResponseBuilder) *CapabilityReviewResponseListBuilder
Items sets the items of the list.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the client of the 'root' resource.
Root of the tree of resources of the authorization service.
func NewClient ¶
func NewClient(transport http.RoundTripper, path string) *Client
NewClient creates a new client for the 'root' resource using the given transport to send the requests and receive the responses.
func (*Client) AccessReview ¶
func (c *Client) AccessReview() *AccessReviewClient
AccessReview returns the target 'access_review' resource.
Reference to the resource that is used to submit access review requests.
func (*Client) CapabilityReview ¶
func (c *Client) CapabilityReview() *CapabilityReviewClient
CapabilityReview returns the target 'capability_review' resource.
Reference to the resource that is used to submit capability review requests.
func (*Client) ExportControlReview ¶
func (c *Client) ExportControlReview() *ExportControlReviewClient
ExportControlReview returns the target 'export_control_review' resource.
Reference to the resource that is used to submit export control review requests.
func (*Client) FeatureReview ¶ added in v0.0.329
func (c *Client) FeatureReview() *FeatureReviewClient
FeatureReview returns the target 'feature_review' resource.
Reference to the resource that is used to submit feature review requests.
func (*Client) Get ¶
func (c *Client) Get() *MetadataRequest
Creates a new request for the method that retrieves the metadata.
func (*Client) ResourceReview ¶
func (c *Client) ResourceReview() *ResourceReviewClient
ResourceReview returns the target 'resource_review' resource.
Reference to the resource that is used to submit resource review requests.
func (*Client) SelfAccessReview ¶
func (c *Client) SelfAccessReview() *SelfAccessReviewClient
SelfAccessReview returns the target 'self_access_review' resource.
Reference to the resource that is used to submit self access review requests.
func (*Client) SelfCapabilityReview ¶
func (c *Client) SelfCapabilityReview() *SelfCapabilityReviewClient
SelfCapabilityReview returns the target 'self_capability_review' resource.
Reference to the resource that is used to submit self capability review requests.
func (*Client) SelfFeatureReview ¶ added in v0.0.329
func (c *Client) SelfFeatureReview() *SelfFeatureReviewClient
SelfFeatureReview returns the target 'self_feature_review' resource.
Reference to the resource that is used to submit self feature review requests.
func (*Client) SelfTermsReview ¶ added in v0.0.329
func (c *Client) SelfTermsReview() *SelfTermsReviewClient
SelfTermsReview returns the target 'self_terms_review' resource.
Reference to the resource that is used to submit Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift self-review requests.
func (*Client) TermsReview ¶ added in v0.0.329
func (c *Client) TermsReview() *TermsReviewClient
TermsReview returns the target 'terms_review' resource.
Reference to the resource that is used to submit Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift review requests.
type ExportControlReviewClient ¶
type ExportControlReviewClient struct {
// contains filtered or unexported fields
}
ExportControlReviewClient is the client of the 'export_control_review' resource.
Manages export control review.
func NewExportControlReviewClient ¶
func NewExportControlReviewClient(transport http.RoundTripper, path string) *ExportControlReviewClient
NewExportControlReviewClient creates a new client for the 'export_control_review' resource using the given transport to send the requests and receive the responses.
func (*ExportControlReviewClient) Post ¶
func (c *ExportControlReviewClient) Post() *ExportControlReviewPostRequest
Post creates a request for the 'post' method.
Screens a user by account user name.
type ExportControlReviewPostRequest ¶
type ExportControlReviewPostRequest struct {
// contains filtered or unexported fields
}
ExportControlReviewPostRequest is the request for the 'post' method.
func (*ExportControlReviewPostRequest) Header ¶
func (r *ExportControlReviewPostRequest) Header(name string, value interface{}) *ExportControlReviewPostRequest
Header adds a request header.
func (*ExportControlReviewPostRequest) Impersonate ¶ added in v0.0.329
func (r *ExportControlReviewPostRequest) Impersonate(user string) *ExportControlReviewPostRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ExportControlReviewPostRequest) Parameter ¶
func (r *ExportControlReviewPostRequest) Parameter(name string, value interface{}) *ExportControlReviewPostRequest
Parameter adds a query parameter.
func (*ExportControlReviewPostRequest) Request ¶
func (r *ExportControlReviewPostRequest) Request(value *ExportControlReviewRequest) *ExportControlReviewPostRequest
Request sets the value of the 'request' parameter.
func (*ExportControlReviewPostRequest) Send ¶
func (r *ExportControlReviewPostRequest) Send() (result *ExportControlReviewPostResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ExportControlReviewPostRequest) SendContext ¶
func (r *ExportControlReviewPostRequest) SendContext(ctx context.Context) (result *ExportControlReviewPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ExportControlReviewPostResponse ¶
type ExportControlReviewPostResponse struct {
// contains filtered or unexported fields
}
ExportControlReviewPostResponse is the response for the 'post' method.
func (*ExportControlReviewPostResponse) Error ¶
func (r *ExportControlReviewPostResponse) Error() *errors.Error
Error returns the response error.
func (*ExportControlReviewPostResponse) GetResponse ¶
func (r *ExportControlReviewPostResponse) GetResponse() (value *ExportControlReviewResponse, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*ExportControlReviewPostResponse) Header ¶
func (r *ExportControlReviewPostResponse) Header() http.Header
Header returns header of the response.
func (*ExportControlReviewPostResponse) Response ¶
func (r *ExportControlReviewPostResponse) Response() *ExportControlReviewResponse
Response returns the value of the 'response' parameter.
func (*ExportControlReviewPostResponse) Status ¶
func (r *ExportControlReviewPostResponse) Status() int
Status returns the response status code.
type ExportControlReviewRequest ¶
type ExportControlReviewRequest struct {
// contains filtered or unexported fields
}
ExportControlReviewRequest represents the values of the 'export_control_review_request' type.
func UnmarshalExportControlReviewRequest ¶
func UnmarshalExportControlReviewRequest(source interface{}) (object *ExportControlReviewRequest, err error)
UnmarshalExportControlReviewRequest reads a value of the 'export_control_review_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalExportControlReviewRequestList ¶
func UnmarshalExportControlReviewRequestList(source interface{}) (items []*ExportControlReviewRequest, err error)
UnmarshalExportControlReviewRequestList reads a list of values of the 'export_control_review_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ExportControlReviewRequest) AccountUsername ¶
func (o *ExportControlReviewRequest) AccountUsername() string
AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ExportControlReviewRequest) Empty ¶
func (o *ExportControlReviewRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ExportControlReviewRequest) GetAccountUsername ¶
func (o *ExportControlReviewRequest) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
type ExportControlReviewRequestBuilder ¶
type ExportControlReviewRequestBuilder struct {
// contains filtered or unexported fields
}
ExportControlReviewRequestBuilder contains the data and logic needed to build 'export_control_review_request' objects.
func NewExportControlReviewRequest ¶
func NewExportControlReviewRequest() *ExportControlReviewRequestBuilder
NewExportControlReviewRequest creates a new builder of 'export_control_review_request' objects.
func (*ExportControlReviewRequestBuilder) AccountUsername ¶
func (b *ExportControlReviewRequestBuilder) AccountUsername(value string) *ExportControlReviewRequestBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*ExportControlReviewRequestBuilder) Build ¶
func (b *ExportControlReviewRequestBuilder) Build() (object *ExportControlReviewRequest, err error)
Build creates a 'export_control_review_request' object using the configuration stored in the builder.
func (*ExportControlReviewRequestBuilder) Copy ¶
func (b *ExportControlReviewRequestBuilder) Copy(object *ExportControlReviewRequest) *ExportControlReviewRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ExportControlReviewRequestBuilder) Empty ¶ added in v0.0.329
func (b *ExportControlReviewRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
type ExportControlReviewRequestList ¶
type ExportControlReviewRequestList struct {
// contains filtered or unexported fields
}
ExportControlReviewRequestList is a list of values of the 'export_control_review_request' type.
func (*ExportControlReviewRequestList) Each ¶
func (l *ExportControlReviewRequestList) Each(f func(item *ExportControlReviewRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ExportControlReviewRequestList) Empty ¶
func (l *ExportControlReviewRequestList) Empty() bool
Empty returns true if the list is empty.
func (*ExportControlReviewRequestList) Get ¶
func (l *ExportControlReviewRequestList) Get(i int) *ExportControlReviewRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ExportControlReviewRequestList) Len ¶
func (l *ExportControlReviewRequestList) Len() int
Len returns the length of the list.
func (*ExportControlReviewRequestList) Range ¶
func (l *ExportControlReviewRequestList) Range(f func(index int, item *ExportControlReviewRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ExportControlReviewRequestList) Slice ¶
func (l *ExportControlReviewRequestList) Slice() []*ExportControlReviewRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ExportControlReviewRequestListBuilder ¶
type ExportControlReviewRequestListBuilder struct {
// contains filtered or unexported fields
}
ExportControlReviewRequestListBuilder contains the data and logic needed to build 'export_control_review_request' objects.
func NewExportControlReviewRequestList ¶
func NewExportControlReviewRequestList() *ExportControlReviewRequestListBuilder
NewExportControlReviewRequestList creates a new builder of 'export_control_review_request' objects.
func (*ExportControlReviewRequestListBuilder) Build ¶
func (b *ExportControlReviewRequestListBuilder) Build() (list *ExportControlReviewRequestList, err error)
Build creates a list of 'export_control_review_request' objects using the configuration stored in the builder.
func (*ExportControlReviewRequestListBuilder) Copy ¶
func (b *ExportControlReviewRequestListBuilder) Copy(list *ExportControlReviewRequestList) *ExportControlReviewRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ExportControlReviewRequestListBuilder) Empty ¶ added in v0.0.329
func (b *ExportControlReviewRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ExportControlReviewRequestListBuilder) Items ¶
func (b *ExportControlReviewRequestListBuilder) Items(values ...*ExportControlReviewRequestBuilder) *ExportControlReviewRequestListBuilder
Items sets the items of the list.
type ExportControlReviewResponse ¶
type ExportControlReviewResponse struct {
// contains filtered or unexported fields
}
ExportControlReviewResponse represents the values of the 'export_control_review_response' type.
func UnmarshalExportControlReviewResponse ¶
func UnmarshalExportControlReviewResponse(source interface{}) (object *ExportControlReviewResponse, err error)
UnmarshalExportControlReviewResponse reads a value of the 'export_control_review_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalExportControlReviewResponseList ¶
func UnmarshalExportControlReviewResponseList(source interface{}) (items []*ExportControlReviewResponse, err error)
UnmarshalExportControlReviewResponseList reads a list of values of the 'export_control_review_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ExportControlReviewResponse) Empty ¶
func (o *ExportControlReviewResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ExportControlReviewResponse) GetRestricted ¶
func (o *ExportControlReviewResponse) GetRestricted() (value bool, ok bool)
GetRestricted returns the value of the 'restricted' attribute and a flag indicating if the attribute has a value.
func (*ExportControlReviewResponse) Restricted ¶
func (o *ExportControlReviewResponse) Restricted() bool
Restricted returns the value of the 'restricted' attribute, or the zero value of the type if the attribute doesn't have a value.
type ExportControlReviewResponseBuilder ¶
type ExportControlReviewResponseBuilder struct {
// contains filtered or unexported fields
}
ExportControlReviewResponseBuilder contains the data and logic needed to build 'export_control_review_response' objects.
func NewExportControlReviewResponse ¶
func NewExportControlReviewResponse() *ExportControlReviewResponseBuilder
NewExportControlReviewResponse creates a new builder of 'export_control_review_response' objects.
func (*ExportControlReviewResponseBuilder) Build ¶
func (b *ExportControlReviewResponseBuilder) Build() (object *ExportControlReviewResponse, err error)
Build creates a 'export_control_review_response' object using the configuration stored in the builder.
func (*ExportControlReviewResponseBuilder) Copy ¶
func (b *ExportControlReviewResponseBuilder) Copy(object *ExportControlReviewResponse) *ExportControlReviewResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ExportControlReviewResponseBuilder) Empty ¶ added in v0.0.329
func (b *ExportControlReviewResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ExportControlReviewResponseBuilder) Restricted ¶
func (b *ExportControlReviewResponseBuilder) Restricted(value bool) *ExportControlReviewResponseBuilder
Restricted sets the value of the 'restricted' attribute to the given value.
type ExportControlReviewResponseList ¶
type ExportControlReviewResponseList struct {
// contains filtered or unexported fields
}
ExportControlReviewResponseList is a list of values of the 'export_control_review_response' type.
func (*ExportControlReviewResponseList) Each ¶
func (l *ExportControlReviewResponseList) Each(f func(item *ExportControlReviewResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ExportControlReviewResponseList) Empty ¶
func (l *ExportControlReviewResponseList) Empty() bool
Empty returns true if the list is empty.
func (*ExportControlReviewResponseList) Get ¶
func (l *ExportControlReviewResponseList) Get(i int) *ExportControlReviewResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ExportControlReviewResponseList) Len ¶
func (l *ExportControlReviewResponseList) Len() int
Len returns the length of the list.
func (*ExportControlReviewResponseList) Range ¶
func (l *ExportControlReviewResponseList) Range(f func(index int, item *ExportControlReviewResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ExportControlReviewResponseList) Slice ¶
func (l *ExportControlReviewResponseList) Slice() []*ExportControlReviewResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ExportControlReviewResponseListBuilder ¶
type ExportControlReviewResponseListBuilder struct {
// contains filtered or unexported fields
}
ExportControlReviewResponseListBuilder contains the data and logic needed to build 'export_control_review_response' objects.
func NewExportControlReviewResponseList ¶
func NewExportControlReviewResponseList() *ExportControlReviewResponseListBuilder
NewExportControlReviewResponseList creates a new builder of 'export_control_review_response' objects.
func (*ExportControlReviewResponseListBuilder) Build ¶
func (b *ExportControlReviewResponseListBuilder) Build() (list *ExportControlReviewResponseList, err error)
Build creates a list of 'export_control_review_response' objects using the configuration stored in the builder.
func (*ExportControlReviewResponseListBuilder) Copy ¶
func (b *ExportControlReviewResponseListBuilder) Copy(list *ExportControlReviewResponseList) *ExportControlReviewResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ExportControlReviewResponseListBuilder) Empty ¶ added in v0.0.329
func (b *ExportControlReviewResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ExportControlReviewResponseListBuilder) Items ¶
func (b *ExportControlReviewResponseListBuilder) Items(values ...*ExportControlReviewResponseBuilder) *ExportControlReviewResponseListBuilder
Items sets the items of the list.
type FeatureReviewClient ¶ added in v0.0.329
type FeatureReviewClient struct {
// contains filtered or unexported fields
}
FeatureReviewClient is the client of the 'feature_review' resource.
Manages feature review
func NewFeatureReviewClient ¶ added in v0.0.329
func NewFeatureReviewClient(transport http.RoundTripper, path string) *FeatureReviewClient
NewFeatureReviewClient creates a new client for the 'feature_review' resource using the given transport to send the requests and receive the responses.
func (*FeatureReviewClient) Post ¶ added in v0.0.329
func (c *FeatureReviewClient) Post() *FeatureReviewPostRequest
Post creates a request for the 'post' method.
Reviews a user's ability to toggle a feature
type FeatureReviewPostRequest ¶ added in v0.0.329
type FeatureReviewPostRequest struct {
// contains filtered or unexported fields
}
FeatureReviewPostRequest is the request for the 'post' method.
func (*FeatureReviewPostRequest) Header ¶ added in v0.0.329
func (r *FeatureReviewPostRequest) Header(name string, value interface{}) *FeatureReviewPostRequest
Header adds a request header.
func (*FeatureReviewPostRequest) Impersonate ¶ added in v0.0.329
func (r *FeatureReviewPostRequest) Impersonate(user string) *FeatureReviewPostRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*FeatureReviewPostRequest) Parameter ¶ added in v0.0.329
func (r *FeatureReviewPostRequest) Parameter(name string, value interface{}) *FeatureReviewPostRequest
Parameter adds a query parameter.
func (*FeatureReviewPostRequest) Request ¶ added in v0.0.329
func (r *FeatureReviewPostRequest) Request(value *FeatureReviewRequest) *FeatureReviewPostRequest
Request sets the value of the 'request' parameter.
func (*FeatureReviewPostRequest) Send ¶ added in v0.0.329
func (r *FeatureReviewPostRequest) Send() (result *FeatureReviewPostResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*FeatureReviewPostRequest) SendContext ¶ added in v0.0.329
func (r *FeatureReviewPostRequest) SendContext(ctx context.Context) (result *FeatureReviewPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type FeatureReviewPostResponse ¶ added in v0.0.329
type FeatureReviewPostResponse struct {
// contains filtered or unexported fields
}
FeatureReviewPostResponse is the response for the 'post' method.
func (*FeatureReviewPostResponse) Error ¶ added in v0.0.329
func (r *FeatureReviewPostResponse) Error() *errors.Error
Error returns the response error.
func (*FeatureReviewPostResponse) GetRequest ¶ added in v0.0.329
func (r *FeatureReviewPostResponse) GetRequest() (value *FeatureReviewResponse, ok bool)
GetRequest returns the value of the 'request' parameter and a flag indicating if the parameter has a value.
func (*FeatureReviewPostResponse) Header ¶ added in v0.0.329
func (r *FeatureReviewPostResponse) Header() http.Header
Header returns header of the response.
func (*FeatureReviewPostResponse) Request ¶ added in v0.0.329
func (r *FeatureReviewPostResponse) Request() *FeatureReviewResponse
Request returns the value of the 'request' parameter.
func (*FeatureReviewPostResponse) Status ¶ added in v0.0.329
func (r *FeatureReviewPostResponse) Status() int
Status returns the response status code.
type FeatureReviewRequest ¶ added in v0.0.329
type FeatureReviewRequest struct {
// contains filtered or unexported fields
}
FeatureReviewRequest represents the values of the 'feature_review_request' type.
Representation of a feature review
func UnmarshalFeatureReviewRequest ¶ added in v0.0.329
func UnmarshalFeatureReviewRequest(source interface{}) (object *FeatureReviewRequest, err error)
UnmarshalFeatureReviewRequest reads a value of the 'feature_review_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalFeatureReviewRequestList ¶ added in v0.0.329
func UnmarshalFeatureReviewRequestList(source interface{}) (items []*FeatureReviewRequest, err error)
UnmarshalFeatureReviewRequestList reads a list of values of the 'feature_review_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*FeatureReviewRequest) AccountUsername ¶ added in v0.0.329
func (o *FeatureReviewRequest) AccountUsername() string
AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines the username of the account of which access is being reviewed
func (*FeatureReviewRequest) Empty ¶ added in v0.0.329
func (o *FeatureReviewRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*FeatureReviewRequest) Feature ¶ added in v0.0.329
func (o *FeatureReviewRequest) Feature() string
Feature returns the value of the 'feature' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the feature which can be toggled
func (*FeatureReviewRequest) GetAccountUsername ¶ added in v0.0.329
func (o *FeatureReviewRequest) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
Defines the username of the account of which access is being reviewed
func (*FeatureReviewRequest) GetFeature ¶ added in v0.0.329
func (o *FeatureReviewRequest) GetFeature() (value string, ok bool)
GetFeature returns the value of the 'feature' attribute and a flag indicating if the attribute has a value.
Indicates the feature which can be toggled
type FeatureReviewRequestBuilder ¶ added in v0.0.329
type FeatureReviewRequestBuilder struct {
// contains filtered or unexported fields
}
FeatureReviewRequestBuilder contains the data and logic needed to build 'feature_review_request' objects.
Representation of a feature review
func NewFeatureReviewRequest ¶ added in v0.0.329
func NewFeatureReviewRequest() *FeatureReviewRequestBuilder
NewFeatureReviewRequest creates a new builder of 'feature_review_request' objects.
func (*FeatureReviewRequestBuilder) AccountUsername ¶ added in v0.0.329
func (b *FeatureReviewRequestBuilder) AccountUsername(value string) *FeatureReviewRequestBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*FeatureReviewRequestBuilder) Build ¶ added in v0.0.329
func (b *FeatureReviewRequestBuilder) Build() (object *FeatureReviewRequest, err error)
Build creates a 'feature_review_request' object using the configuration stored in the builder.
func (*FeatureReviewRequestBuilder) Copy ¶ added in v0.0.329
func (b *FeatureReviewRequestBuilder) Copy(object *FeatureReviewRequest) *FeatureReviewRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*FeatureReviewRequestBuilder) Empty ¶ added in v0.0.329
func (b *FeatureReviewRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*FeatureReviewRequestBuilder) Feature ¶ added in v0.0.329
func (b *FeatureReviewRequestBuilder) Feature(value string) *FeatureReviewRequestBuilder
Feature sets the value of the 'feature' attribute to the given value.
type FeatureReviewRequestList ¶ added in v0.0.329
type FeatureReviewRequestList struct {
// contains filtered or unexported fields
}
FeatureReviewRequestList is a list of values of the 'feature_review_request' type.
func (*FeatureReviewRequestList) Each ¶ added in v0.0.329
func (l *FeatureReviewRequestList) Each(f func(item *FeatureReviewRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*FeatureReviewRequestList) Empty ¶ added in v0.0.329
func (l *FeatureReviewRequestList) Empty() bool
Empty returns true if the list is empty.
func (*FeatureReviewRequestList) Get ¶ added in v0.0.329
func (l *FeatureReviewRequestList) Get(i int) *FeatureReviewRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*FeatureReviewRequestList) Len ¶ added in v0.0.329
func (l *FeatureReviewRequestList) Len() int
Len returns the length of the list.
func (*FeatureReviewRequestList) Range ¶ added in v0.0.329
func (l *FeatureReviewRequestList) Range(f func(index int, item *FeatureReviewRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*FeatureReviewRequestList) Slice ¶ added in v0.0.329
func (l *FeatureReviewRequestList) Slice() []*FeatureReviewRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type FeatureReviewRequestListBuilder ¶ added in v0.0.329
type FeatureReviewRequestListBuilder struct {
// contains filtered or unexported fields
}
FeatureReviewRequestListBuilder contains the data and logic needed to build 'feature_review_request' objects.
func NewFeatureReviewRequestList ¶ added in v0.0.329
func NewFeatureReviewRequestList() *FeatureReviewRequestListBuilder
NewFeatureReviewRequestList creates a new builder of 'feature_review_request' objects.
func (*FeatureReviewRequestListBuilder) Build ¶ added in v0.0.329
func (b *FeatureReviewRequestListBuilder) Build() (list *FeatureReviewRequestList, err error)
Build creates a list of 'feature_review_request' objects using the configuration stored in the builder.
func (*FeatureReviewRequestListBuilder) Copy ¶ added in v0.0.329
func (b *FeatureReviewRequestListBuilder) Copy(list *FeatureReviewRequestList) *FeatureReviewRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*FeatureReviewRequestListBuilder) Empty ¶ added in v0.0.329
func (b *FeatureReviewRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*FeatureReviewRequestListBuilder) Items ¶ added in v0.0.329
func (b *FeatureReviewRequestListBuilder) Items(values ...*FeatureReviewRequestBuilder) *FeatureReviewRequestListBuilder
Items sets the items of the list.
type FeatureReviewResponse ¶ added in v0.0.329
type FeatureReviewResponse struct {
// contains filtered or unexported fields
}
FeatureReviewResponse represents the values of the 'feature_review_response' type.
Representation of a feature review response
func UnmarshalFeatureReviewResponse ¶ added in v0.0.329
func UnmarshalFeatureReviewResponse(source interface{}) (object *FeatureReviewResponse, err error)
UnmarshalFeatureReviewResponse reads a value of the 'feature_review_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalFeatureReviewResponseList ¶ added in v0.0.329
func UnmarshalFeatureReviewResponseList(source interface{}) (items []*FeatureReviewResponse, err error)
UnmarshalFeatureReviewResponseList reads a list of values of the 'feature_review_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*FeatureReviewResponse) Empty ¶ added in v0.0.329
func (o *FeatureReviewResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*FeatureReviewResponse) Enabled ¶ added in v0.0.329
func (o *FeatureReviewResponse) Enabled() bool
Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines whether the feature can be toggled
func (*FeatureReviewResponse) FeatureID ¶ added in v0.0.329
func (o *FeatureReviewResponse) FeatureID() string
FeatureID returns the value of the 'feature_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines the feature id which can be toggled
func (*FeatureReviewResponse) GetEnabled ¶ added in v0.0.329
func (o *FeatureReviewResponse) GetEnabled() (value bool, ok bool)
GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.
Defines whether the feature can be toggled
func (*FeatureReviewResponse) GetFeatureID ¶ added in v0.0.329
func (o *FeatureReviewResponse) GetFeatureID() (value string, ok bool)
GetFeatureID returns the value of the 'feature_ID' attribute and a flag indicating if the attribute has a value.
Defines the feature id which can be toggled
type FeatureReviewResponseBuilder ¶ added in v0.0.329
type FeatureReviewResponseBuilder struct {
// contains filtered or unexported fields
}
FeatureReviewResponseBuilder contains the data and logic needed to build 'feature_review_response' objects.
Representation of a feature review response
func NewFeatureReviewResponse ¶ added in v0.0.329
func NewFeatureReviewResponse() *FeatureReviewResponseBuilder
NewFeatureReviewResponse creates a new builder of 'feature_review_response' objects.
func (*FeatureReviewResponseBuilder) Build ¶ added in v0.0.329
func (b *FeatureReviewResponseBuilder) Build() (object *FeatureReviewResponse, err error)
Build creates a 'feature_review_response' object using the configuration stored in the builder.
func (*FeatureReviewResponseBuilder) Copy ¶ added in v0.0.329
func (b *FeatureReviewResponseBuilder) Copy(object *FeatureReviewResponse) *FeatureReviewResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*FeatureReviewResponseBuilder) Empty ¶ added in v0.0.329
func (b *FeatureReviewResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*FeatureReviewResponseBuilder) Enabled ¶ added in v0.0.329
func (b *FeatureReviewResponseBuilder) Enabled(value bool) *FeatureReviewResponseBuilder
Enabled sets the value of the 'enabled' attribute to the given value.
func (*FeatureReviewResponseBuilder) FeatureID ¶ added in v0.0.329
func (b *FeatureReviewResponseBuilder) FeatureID(value string) *FeatureReviewResponseBuilder
FeatureID sets the value of the 'feature_ID' attribute to the given value.
type FeatureReviewResponseList ¶ added in v0.0.329
type FeatureReviewResponseList struct {
// contains filtered or unexported fields
}
FeatureReviewResponseList is a list of values of the 'feature_review_response' type.
func (*FeatureReviewResponseList) Each ¶ added in v0.0.329
func (l *FeatureReviewResponseList) Each(f func(item *FeatureReviewResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*FeatureReviewResponseList) Empty ¶ added in v0.0.329
func (l *FeatureReviewResponseList) Empty() bool
Empty returns true if the list is empty.
func (*FeatureReviewResponseList) Get ¶ added in v0.0.329
func (l *FeatureReviewResponseList) Get(i int) *FeatureReviewResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*FeatureReviewResponseList) Len ¶ added in v0.0.329
func (l *FeatureReviewResponseList) Len() int
Len returns the length of the list.
func (*FeatureReviewResponseList) Range ¶ added in v0.0.329
func (l *FeatureReviewResponseList) Range(f func(index int, item *FeatureReviewResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*FeatureReviewResponseList) Slice ¶ added in v0.0.329
func (l *FeatureReviewResponseList) Slice() []*FeatureReviewResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type FeatureReviewResponseListBuilder ¶ added in v0.0.329
type FeatureReviewResponseListBuilder struct {
// contains filtered or unexported fields
}
FeatureReviewResponseListBuilder contains the data and logic needed to build 'feature_review_response' objects.
func NewFeatureReviewResponseList ¶ added in v0.0.329
func NewFeatureReviewResponseList() *FeatureReviewResponseListBuilder
NewFeatureReviewResponseList creates a new builder of 'feature_review_response' objects.
func (*FeatureReviewResponseListBuilder) Build ¶ added in v0.0.329
func (b *FeatureReviewResponseListBuilder) Build() (list *FeatureReviewResponseList, err error)
Build creates a list of 'feature_review_response' objects using the configuration stored in the builder.
func (*FeatureReviewResponseListBuilder) Copy ¶ added in v0.0.329
func (b *FeatureReviewResponseListBuilder) Copy(list *FeatureReviewResponseList) *FeatureReviewResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*FeatureReviewResponseListBuilder) Empty ¶ added in v0.0.329
func (b *FeatureReviewResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*FeatureReviewResponseListBuilder) Items ¶ added in v0.0.329
func (b *FeatureReviewResponseListBuilder) Items(values ...*FeatureReviewResponseBuilder) *FeatureReviewResponseListBuilder
Items sets the items of the list.
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
Metadata contains the version metadata.
func UnmarshalMetadata ¶
UnmarshalMetadata reads a value of the metadata type from the given source, which which can be a reader, a slice of byte or a string.
func (*Metadata) GetServerVersion ¶
GetServerVersion returns the value of the server version and a flag indicating if the attribute has a value.
func (*Metadata) ServerVersion ¶
ServerVersion returns the version of the server.
type MetadataRequest ¶
type MetadataRequest struct {
// contains filtered or unexported fields
}
MetadataRequest is the request to retrieve the metadata.
func (*MetadataRequest) Header ¶
func (r *MetadataRequest) Header(name string, value interface{}) *MetadataRequest
Header adds a request header.
func (*MetadataRequest) Parameter ¶
func (r *MetadataRequest) Parameter(name string, value interface{}) *MetadataRequest
Parameter adds a query parameter.
func (*MetadataRequest) Send ¶
func (r *MetadataRequest) Send() (result *MetadataResponse, err error)
Send sends the metadata request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*MetadataRequest) SendContext ¶
func (r *MetadataRequest) SendContext(ctx context.Context) (result *MetadataResponse, err error)
SendContext sends the metadata request, waits for the response, and returns it.
type MetadataResponse ¶
type MetadataResponse struct {
// contains filtered or unexported fields
}
MetadataResponse is the response for the metadata request.
func (*MetadataResponse) Body ¶
func (r *MetadataResponse) Body() *Metadata
Body returns the response body.
func (*MetadataResponse) Error ¶
func (r *MetadataResponse) Error() *errors.Error
Error returns the response error.
func (*MetadataResponse) Header ¶
func (r *MetadataResponse) Header() http.Header
Header returns header of the response.
func (*MetadataResponse) Status ¶
func (r *MetadataResponse) Status() int
Status returns the response status code.
type ResourceReview ¶
type ResourceReview struct {
// contains filtered or unexported fields
}
ResourceReview represents the values of the 'resource_review' type.
Contains the result of performing a resource access review.
func UnmarshalResourceReview ¶
func UnmarshalResourceReview(source interface{}) (object *ResourceReview, err error)
UnmarshalResourceReview reads a value of the 'resource_review' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalResourceReviewList ¶
func UnmarshalResourceReviewList(source interface{}) (items []*ResourceReview, err error)
UnmarshalResourceReviewList reads a list of values of the 'resource_review' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ResourceReview) AccountUsername ¶
func (o *ResourceReview) AccountUsername() string
AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.
Name of the account that is trying to perform the access.
func (*ResourceReview) Action ¶
func (o *ResourceReview) Action() string
Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.
Action that will the user is trying to perform.
func (*ResourceReview) ClusterIDs ¶
func (o *ResourceReview) ClusterIDs() []string
ClusterIDs returns the value of the 'cluster_IDs' attribute, or the zero value of the type if the attribute doesn't have a value.
Identifiers of the Clusters (internal ids) that the user has permission to perform the action upon.
func (*ResourceReview) ClusterUUIDs ¶
func (o *ResourceReview) ClusterUUIDs() []string
ClusterUUIDs returns the value of the 'cluster_UUIDs' attribute, or the zero value of the type if the attribute doesn't have a value.
Identifiers which Clusters (external ids) that the user has permission to perform the action upon.
func (*ResourceReview) Empty ¶
func (o *ResourceReview) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ResourceReview) GetAccountUsername ¶
func (o *ResourceReview) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
Name of the account that is trying to perform the access.
func (*ResourceReview) GetAction ¶
func (o *ResourceReview) GetAction() (value string, ok bool)
GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.
Action that will the user is trying to perform.
func (*ResourceReview) GetClusterIDs ¶
func (o *ResourceReview) GetClusterIDs() (value []string, ok bool)
GetClusterIDs returns the value of the 'cluster_IDs' attribute and a flag indicating if the attribute has a value.
Identifiers of the Clusters (internal ids) that the user has permission to perform the action upon.
func (*ResourceReview) GetClusterUUIDs ¶
func (o *ResourceReview) GetClusterUUIDs() (value []string, ok bool)
GetClusterUUIDs returns the value of the 'cluster_UUIDs' attribute and a flag indicating if the attribute has a value.
Identifiers which Clusters (external ids) that the user has permission to perform the action upon.
func (*ResourceReview) GetOrganizationIDs ¶
func (o *ResourceReview) GetOrganizationIDs() (value []string, ok bool)
GetOrganizationIDs returns the value of the 'organization_IDs' attribute and a flag indicating if the attribute has a value.
Identifiers of the organizations that the user has permissions to perform the action upon.
func (*ResourceReview) GetResourceType ¶
func (o *ResourceReview) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
Type of resource.
func (*ResourceReview) GetSubscriptionIDs ¶
func (o *ResourceReview) GetSubscriptionIDs() (value []string, ok bool)
GetSubscriptionIDs returns the value of the 'subscription_IDs' attribute and a flag indicating if the attribute has a value.
Identifiers of the subscriptions that the user has permission to perform the action upon.
func (*ResourceReview) OrganizationIDs ¶
func (o *ResourceReview) OrganizationIDs() []string
OrganizationIDs returns the value of the 'organization_IDs' attribute, or the zero value of the type if the attribute doesn't have a value.
Identifiers of the organizations that the user has permissions to perform the action upon.
func (*ResourceReview) ResourceType ¶
func (o *ResourceReview) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Type of resource.
func (*ResourceReview) SubscriptionIDs ¶
func (o *ResourceReview) SubscriptionIDs() []string
SubscriptionIDs returns the value of the 'subscription_IDs' attribute, or the zero value of the type if the attribute doesn't have a value.
Identifiers of the subscriptions that the user has permission to perform the action upon.
type ResourceReviewBuilder ¶
type ResourceReviewBuilder struct {
// contains filtered or unexported fields
}
ResourceReviewBuilder contains the data and logic needed to build 'resource_review' objects.
Contains the result of performing a resource access review.
func NewResourceReview ¶
func NewResourceReview() *ResourceReviewBuilder
NewResourceReview creates a new builder of 'resource_review' objects.
func (*ResourceReviewBuilder) AccountUsername ¶
func (b *ResourceReviewBuilder) AccountUsername(value string) *ResourceReviewBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*ResourceReviewBuilder) Action ¶
func (b *ResourceReviewBuilder) Action(value string) *ResourceReviewBuilder
Action sets the value of the 'action' attribute to the given value.
func (*ResourceReviewBuilder) Build ¶
func (b *ResourceReviewBuilder) Build() (object *ResourceReview, err error)
Build creates a 'resource_review' object using the configuration stored in the builder.
func (*ResourceReviewBuilder) ClusterIDs ¶
func (b *ResourceReviewBuilder) ClusterIDs(values ...string) *ResourceReviewBuilder
ClusterIDs sets the value of the 'cluster_IDs' attribute to the given values.
func (*ResourceReviewBuilder) ClusterUUIDs ¶
func (b *ResourceReviewBuilder) ClusterUUIDs(values ...string) *ResourceReviewBuilder
ClusterUUIDs sets the value of the 'cluster_UUIDs' attribute to the given values.
func (*ResourceReviewBuilder) Copy ¶
func (b *ResourceReviewBuilder) Copy(object *ResourceReview) *ResourceReviewBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ResourceReviewBuilder) Empty ¶ added in v0.0.329
func (b *ResourceReviewBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ResourceReviewBuilder) OrganizationIDs ¶
func (b *ResourceReviewBuilder) OrganizationIDs(values ...string) *ResourceReviewBuilder
OrganizationIDs sets the value of the 'organization_IDs' attribute to the given values.
func (*ResourceReviewBuilder) ResourceType ¶
func (b *ResourceReviewBuilder) ResourceType(value string) *ResourceReviewBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*ResourceReviewBuilder) SubscriptionIDs ¶
func (b *ResourceReviewBuilder) SubscriptionIDs(values ...string) *ResourceReviewBuilder
SubscriptionIDs sets the value of the 'subscription_IDs' attribute to the given values.
type ResourceReviewClient ¶
type ResourceReviewClient struct {
// contains filtered or unexported fields
}
ResourceReviewClient is the client of the 'resource_review' resource.
Manages resource review.
func NewResourceReviewClient ¶
func NewResourceReviewClient(transport http.RoundTripper, path string) *ResourceReviewClient
NewResourceReviewClient creates a new client for the 'resource_review' resource using the given transport to send the requests and receive the responses.
func (*ResourceReviewClient) Post ¶
func (c *ResourceReviewClient) Post() *ResourceReviewPostRequest
Post creates a request for the 'post' method.
Returns the list of identifiers of the resources that an account can perform the specified action upon.
type ResourceReviewList ¶
type ResourceReviewList struct {
// contains filtered or unexported fields
}
ResourceReviewList is a list of values of the 'resource_review' type.
func (*ResourceReviewList) Each ¶
func (l *ResourceReviewList) Each(f func(item *ResourceReview) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ResourceReviewList) Empty ¶
func (l *ResourceReviewList) Empty() bool
Empty returns true if the list is empty.
func (*ResourceReviewList) Get ¶
func (l *ResourceReviewList) Get(i int) *ResourceReview
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ResourceReviewList) Len ¶
func (l *ResourceReviewList) Len() int
Len returns the length of the list.
func (*ResourceReviewList) Range ¶
func (l *ResourceReviewList) Range(f func(index int, item *ResourceReview) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ResourceReviewList) Slice ¶
func (l *ResourceReviewList) Slice() []*ResourceReview
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ResourceReviewListBuilder ¶
type ResourceReviewListBuilder struct {
// contains filtered or unexported fields
}
ResourceReviewListBuilder contains the data and logic needed to build 'resource_review' objects.
func NewResourceReviewList ¶
func NewResourceReviewList() *ResourceReviewListBuilder
NewResourceReviewList creates a new builder of 'resource_review' objects.
func (*ResourceReviewListBuilder) Build ¶
func (b *ResourceReviewListBuilder) Build() (list *ResourceReviewList, err error)
Build creates a list of 'resource_review' objects using the configuration stored in the builder.
func (*ResourceReviewListBuilder) Copy ¶
func (b *ResourceReviewListBuilder) Copy(list *ResourceReviewList) *ResourceReviewListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ResourceReviewListBuilder) Empty ¶ added in v0.0.329
func (b *ResourceReviewListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ResourceReviewListBuilder) Items ¶
func (b *ResourceReviewListBuilder) Items(values ...*ResourceReviewBuilder) *ResourceReviewListBuilder
Items sets the items of the list.
type ResourceReviewPostRequest ¶
type ResourceReviewPostRequest struct {
// contains filtered or unexported fields
}
ResourceReviewPostRequest is the request for the 'post' method.
func (*ResourceReviewPostRequest) Header ¶
func (r *ResourceReviewPostRequest) Header(name string, value interface{}) *ResourceReviewPostRequest
Header adds a request header.
func (*ResourceReviewPostRequest) Impersonate ¶ added in v0.0.329
func (r *ResourceReviewPostRequest) Impersonate(user string) *ResourceReviewPostRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ResourceReviewPostRequest) Parameter ¶
func (r *ResourceReviewPostRequest) Parameter(name string, value interface{}) *ResourceReviewPostRequest
Parameter adds a query parameter.
func (*ResourceReviewPostRequest) Request ¶
func (r *ResourceReviewPostRequest) Request(value *ResourceReviewRequest) *ResourceReviewPostRequest
Request sets the value of the 'request' parameter.
func (*ResourceReviewPostRequest) Send ¶
func (r *ResourceReviewPostRequest) Send() (result *ResourceReviewPostResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ResourceReviewPostRequest) SendContext ¶
func (r *ResourceReviewPostRequest) SendContext(ctx context.Context) (result *ResourceReviewPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ResourceReviewPostResponse ¶
type ResourceReviewPostResponse struct {
// contains filtered or unexported fields
}
ResourceReviewPostResponse is the response for the 'post' method.
func (*ResourceReviewPostResponse) Error ¶
func (r *ResourceReviewPostResponse) Error() *errors.Error
Error returns the response error.
func (*ResourceReviewPostResponse) GetReview ¶
func (r *ResourceReviewPostResponse) GetReview() (value *ResourceReview, ok bool)
GetReview returns the value of the 'review' parameter and a flag indicating if the parameter has a value.
func (*ResourceReviewPostResponse) Header ¶
func (r *ResourceReviewPostResponse) Header() http.Header
Header returns header of the response.
func (*ResourceReviewPostResponse) Review ¶
func (r *ResourceReviewPostResponse) Review() *ResourceReview
Review returns the value of the 'review' parameter.
func (*ResourceReviewPostResponse) Status ¶
func (r *ResourceReviewPostResponse) Status() int
Status returns the response status code.
type ResourceReviewRequest ¶
type ResourceReviewRequest struct {
// contains filtered or unexported fields
}
ResourceReviewRequest represents the values of the 'resource_review_request' type.
Request to perform a resource access review.
func UnmarshalResourceReviewRequest ¶
func UnmarshalResourceReviewRequest(source interface{}) (object *ResourceReviewRequest, err error)
UnmarshalResourceReviewRequest reads a value of the 'resource_review_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalResourceReviewRequestList ¶
func UnmarshalResourceReviewRequestList(source interface{}) (items []*ResourceReviewRequest, err error)
UnmarshalResourceReviewRequestList reads a list of values of the 'resource_review_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ResourceReviewRequest) AccountUsername ¶
func (o *ResourceReviewRequest) AccountUsername() string
AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.
Name of the account that is trying to access the resource.
func (*ResourceReviewRequest) Action ¶
func (o *ResourceReviewRequest) Action() string
Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.
Action that will be performed on the resource.
func (*ResourceReviewRequest) Empty ¶
func (o *ResourceReviewRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ResourceReviewRequest) ExcludeSubscriptionStatuses ¶ added in v0.0.329
func (o *ResourceReviewRequest) ExcludeSubscriptionStatuses() []SubscriptionStatus
ExcludeSubscriptionStatuses returns the value of the 'exclude_subscription_statuses' attribute, or the zero value of the type if the attribute doesn't have a value.
Subscriptions with these statuses will be excluded from results.
func (*ResourceReviewRequest) GetAccountUsername ¶
func (o *ResourceReviewRequest) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
Name of the account that is trying to access the resource.
func (*ResourceReviewRequest) GetAction ¶
func (o *ResourceReviewRequest) GetAction() (value string, ok bool)
GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.
Action that will be performed on the resource.
func (*ResourceReviewRequest) GetExcludeSubscriptionStatuses ¶ added in v0.0.329
func (o *ResourceReviewRequest) GetExcludeSubscriptionStatuses() (value []SubscriptionStatus, ok bool)
GetExcludeSubscriptionStatuses returns the value of the 'exclude_subscription_statuses' attribute and a flag indicating if the attribute has a value.
Subscriptions with these statuses will be excluded from results.
func (*ResourceReviewRequest) GetReduceClusterList ¶ added in v0.0.329
func (o *ResourceReviewRequest) GetReduceClusterList() (value bool, ok bool)
GetReduceClusterList returns the value of the 'reduce_cluster_list' attribute and a flag indicating if the attribute has a value.
If true, in the case when all subscriptions in organization are permitted, response will *not* include these subscriptions' ID, but organization only.
func (*ResourceReviewRequest) GetResourceType ¶
func (o *ResourceReviewRequest) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
Type of resource.
func (*ResourceReviewRequest) ReduceClusterList ¶ added in v0.0.329
func (o *ResourceReviewRequest) ReduceClusterList() bool
ReduceClusterList returns the value of the 'reduce_cluster_list' attribute, or the zero value of the type if the attribute doesn't have a value.
If true, in the case when all subscriptions in organization are permitted, response will *not* include these subscriptions' ID, but organization only.
func (*ResourceReviewRequest) ResourceType ¶
func (o *ResourceReviewRequest) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Type of resource.
type ResourceReviewRequestBuilder ¶
type ResourceReviewRequestBuilder struct {
// contains filtered or unexported fields
}
ResourceReviewRequestBuilder contains the data and logic needed to build 'resource_review_request' objects.
Request to perform a resource access review.
func NewResourceReviewRequest ¶
func NewResourceReviewRequest() *ResourceReviewRequestBuilder
NewResourceReviewRequest creates a new builder of 'resource_review_request' objects.
func (*ResourceReviewRequestBuilder) AccountUsername ¶
func (b *ResourceReviewRequestBuilder) AccountUsername(value string) *ResourceReviewRequestBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*ResourceReviewRequestBuilder) Action ¶
func (b *ResourceReviewRequestBuilder) Action(value string) *ResourceReviewRequestBuilder
Action sets the value of the 'action' attribute to the given value.
func (*ResourceReviewRequestBuilder) Build ¶
func (b *ResourceReviewRequestBuilder) Build() (object *ResourceReviewRequest, err error)
Build creates a 'resource_review_request' object using the configuration stored in the builder.
func (*ResourceReviewRequestBuilder) Copy ¶
func (b *ResourceReviewRequestBuilder) Copy(object *ResourceReviewRequest) *ResourceReviewRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ResourceReviewRequestBuilder) Empty ¶ added in v0.0.329
func (b *ResourceReviewRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ResourceReviewRequestBuilder) ExcludeSubscriptionStatuses ¶ added in v0.0.329
func (b *ResourceReviewRequestBuilder) ExcludeSubscriptionStatuses(values ...SubscriptionStatus) *ResourceReviewRequestBuilder
ExcludeSubscriptionStatuses sets the value of the 'exclude_subscription_statuses' attribute to the given values.
func (*ResourceReviewRequestBuilder) ReduceClusterList ¶ added in v0.0.329
func (b *ResourceReviewRequestBuilder) ReduceClusterList(value bool) *ResourceReviewRequestBuilder
ReduceClusterList sets the value of the 'reduce_cluster_list' attribute to the given value.
func (*ResourceReviewRequestBuilder) ResourceType ¶
func (b *ResourceReviewRequestBuilder) ResourceType(value string) *ResourceReviewRequestBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
type ResourceReviewRequestList ¶
type ResourceReviewRequestList struct {
// contains filtered or unexported fields
}
ResourceReviewRequestList is a list of values of the 'resource_review_request' type.
func (*ResourceReviewRequestList) Each ¶
func (l *ResourceReviewRequestList) Each(f func(item *ResourceReviewRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ResourceReviewRequestList) Empty ¶
func (l *ResourceReviewRequestList) Empty() bool
Empty returns true if the list is empty.
func (*ResourceReviewRequestList) Get ¶
func (l *ResourceReviewRequestList) Get(i int) *ResourceReviewRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ResourceReviewRequestList) Len ¶
func (l *ResourceReviewRequestList) Len() int
Len returns the length of the list.
func (*ResourceReviewRequestList) Range ¶
func (l *ResourceReviewRequestList) Range(f func(index int, item *ResourceReviewRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ResourceReviewRequestList) Slice ¶
func (l *ResourceReviewRequestList) Slice() []*ResourceReviewRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ResourceReviewRequestListBuilder ¶
type ResourceReviewRequestListBuilder struct {
// contains filtered or unexported fields
}
ResourceReviewRequestListBuilder contains the data and logic needed to build 'resource_review_request' objects.
func NewResourceReviewRequestList ¶
func NewResourceReviewRequestList() *ResourceReviewRequestListBuilder
NewResourceReviewRequestList creates a new builder of 'resource_review_request' objects.
func (*ResourceReviewRequestListBuilder) Build ¶
func (b *ResourceReviewRequestListBuilder) Build() (list *ResourceReviewRequestList, err error)
Build creates a list of 'resource_review_request' objects using the configuration stored in the builder.
func (*ResourceReviewRequestListBuilder) Copy ¶
func (b *ResourceReviewRequestListBuilder) Copy(list *ResourceReviewRequestList) *ResourceReviewRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ResourceReviewRequestListBuilder) Empty ¶ added in v0.0.329
func (b *ResourceReviewRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ResourceReviewRequestListBuilder) Items ¶
func (b *ResourceReviewRequestListBuilder) Items(values ...*ResourceReviewRequestBuilder) *ResourceReviewRequestListBuilder
Items sets the items of the list.
type SelfAccessReviewClient ¶
type SelfAccessReviewClient struct {
// contains filtered or unexported fields
}
SelfAccessReviewClient is the client of the 'self_access_review' resource.
Manages access review.
func NewSelfAccessReviewClient ¶
func NewSelfAccessReviewClient(transport http.RoundTripper, path string) *SelfAccessReviewClient
NewSelfAccessReviewClient creates a new client for the 'self_access_review' resource using the given transport to send the requests and receive the responses.
func (*SelfAccessReviewClient) Post ¶
func (c *SelfAccessReviewClient) Post() *SelfAccessReviewPostRequest
Post creates a request for the 'post' method.
Reviews a user's access to a resource
type SelfAccessReviewPostRequest ¶
type SelfAccessReviewPostRequest struct {
// contains filtered or unexported fields
}
SelfAccessReviewPostRequest is the request for the 'post' method.
func (*SelfAccessReviewPostRequest) Header ¶
func (r *SelfAccessReviewPostRequest) Header(name string, value interface{}) *SelfAccessReviewPostRequest
Header adds a request header.
func (*SelfAccessReviewPostRequest) Impersonate ¶ added in v0.0.329
func (r *SelfAccessReviewPostRequest) Impersonate(user string) *SelfAccessReviewPostRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*SelfAccessReviewPostRequest) Parameter ¶
func (r *SelfAccessReviewPostRequest) Parameter(name string, value interface{}) *SelfAccessReviewPostRequest
Parameter adds a query parameter.
func (*SelfAccessReviewPostRequest) Request ¶
func (r *SelfAccessReviewPostRequest) Request(value *SelfAccessReviewRequest) *SelfAccessReviewPostRequest
Request sets the value of the 'request' parameter.
func (*SelfAccessReviewPostRequest) Send ¶
func (r *SelfAccessReviewPostRequest) Send() (result *SelfAccessReviewPostResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*SelfAccessReviewPostRequest) SendContext ¶
func (r *SelfAccessReviewPostRequest) SendContext(ctx context.Context) (result *SelfAccessReviewPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SelfAccessReviewPostResponse ¶
type SelfAccessReviewPostResponse struct {
// contains filtered or unexported fields
}
SelfAccessReviewPostResponse is the response for the 'post' method.
func (*SelfAccessReviewPostResponse) Error ¶
func (r *SelfAccessReviewPostResponse) Error() *errors.Error
Error returns the response error.
func (*SelfAccessReviewPostResponse) GetResponse ¶
func (r *SelfAccessReviewPostResponse) GetResponse() (value *SelfAccessReviewResponse, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*SelfAccessReviewPostResponse) Header ¶
func (r *SelfAccessReviewPostResponse) Header() http.Header
Header returns header of the response.
func (*SelfAccessReviewPostResponse) Response ¶
func (r *SelfAccessReviewPostResponse) Response() *SelfAccessReviewResponse
Response returns the value of the 'response' parameter.
func (*SelfAccessReviewPostResponse) Status ¶
func (r *SelfAccessReviewPostResponse) Status() int
Status returns the response status code.
type SelfAccessReviewRequest ¶
type SelfAccessReviewRequest struct {
// contains filtered or unexported fields
}
SelfAccessReviewRequest represents the values of the 'self_access_review_request' type.
Representation of an access review performed against oneself
func UnmarshalSelfAccessReviewRequest ¶
func UnmarshalSelfAccessReviewRequest(source interface{}) (object *SelfAccessReviewRequest, err error)
UnmarshalSelfAccessReviewRequest reads a value of the 'self_access_review_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSelfAccessReviewRequestList ¶
func UnmarshalSelfAccessReviewRequestList(source interface{}) (items []*SelfAccessReviewRequest, err error)
UnmarshalSelfAccessReviewRequestList reads a list of values of the 'self_access_review_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SelfAccessReviewRequest) Action ¶
func (o *SelfAccessReviewRequest) Action() string
Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*SelfAccessReviewRequest) ClusterID ¶
func (o *SelfAccessReviewRequest) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*SelfAccessReviewRequest) ClusterUUID ¶
func (o *SelfAccessReviewRequest) ClusterUUID() string
ClusterUUID returns the value of the 'cluster_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (external id) the resource type belongs to
func (*SelfAccessReviewRequest) Empty ¶
func (o *SelfAccessReviewRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SelfAccessReviewRequest) GetAction ¶
func (o *SelfAccessReviewRequest) GetAction() (value string, ok bool)
GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*SelfAccessReviewRequest) GetClusterID ¶
func (o *SelfAccessReviewRequest) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*SelfAccessReviewRequest) GetClusterUUID ¶
func (o *SelfAccessReviewRequest) GetClusterUUID() (value string, ok bool)
GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (external id) the resource type belongs to
func (*SelfAccessReviewRequest) GetOrganizationID ¶
func (o *SelfAccessReviewRequest) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Organization the resource type belongs to
func (*SelfAccessReviewRequest) GetResourceType ¶
func (o *SelfAccessReviewRequest) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*SelfAccessReviewRequest) GetSubscriptionID ¶
func (o *SelfAccessReviewRequest) GetSubscriptionID() (value string, ok bool)
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Subscription the resource type belongs to
func (*SelfAccessReviewRequest) OrganizationID ¶
func (o *SelfAccessReviewRequest) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Organization the resource type belongs to
func (*SelfAccessReviewRequest) ResourceType ¶
func (o *SelfAccessReviewRequest) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*SelfAccessReviewRequest) SubscriptionID ¶
func (o *SelfAccessReviewRequest) SubscriptionID() string
SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Subscription the resource type belongs to
type SelfAccessReviewRequestBuilder ¶
type SelfAccessReviewRequestBuilder struct {
// contains filtered or unexported fields
}
SelfAccessReviewRequestBuilder contains the data and logic needed to build 'self_access_review_request' objects.
Representation of an access review performed against oneself
func NewSelfAccessReviewRequest ¶
func NewSelfAccessReviewRequest() *SelfAccessReviewRequestBuilder
NewSelfAccessReviewRequest creates a new builder of 'self_access_review_request' objects.
func (*SelfAccessReviewRequestBuilder) Action ¶
func (b *SelfAccessReviewRequestBuilder) Action(value string) *SelfAccessReviewRequestBuilder
Action sets the value of the 'action' attribute to the given value.
func (*SelfAccessReviewRequestBuilder) Build ¶
func (b *SelfAccessReviewRequestBuilder) Build() (object *SelfAccessReviewRequest, err error)
Build creates a 'self_access_review_request' object using the configuration stored in the builder.
func (*SelfAccessReviewRequestBuilder) ClusterID ¶
func (b *SelfAccessReviewRequestBuilder) ClusterID(value string) *SelfAccessReviewRequestBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*SelfAccessReviewRequestBuilder) ClusterUUID ¶
func (b *SelfAccessReviewRequestBuilder) ClusterUUID(value string) *SelfAccessReviewRequestBuilder
ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.
func (*SelfAccessReviewRequestBuilder) Copy ¶
func (b *SelfAccessReviewRequestBuilder) Copy(object *SelfAccessReviewRequest) *SelfAccessReviewRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SelfAccessReviewRequestBuilder) Empty ¶ added in v0.0.329
func (b *SelfAccessReviewRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SelfAccessReviewRequestBuilder) OrganizationID ¶
func (b *SelfAccessReviewRequestBuilder) OrganizationID(value string) *SelfAccessReviewRequestBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*SelfAccessReviewRequestBuilder) ResourceType ¶
func (b *SelfAccessReviewRequestBuilder) ResourceType(value string) *SelfAccessReviewRequestBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*SelfAccessReviewRequestBuilder) SubscriptionID ¶
func (b *SelfAccessReviewRequestBuilder) SubscriptionID(value string) *SelfAccessReviewRequestBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
type SelfAccessReviewRequestList ¶
type SelfAccessReviewRequestList struct {
// contains filtered or unexported fields
}
SelfAccessReviewRequestList is a list of values of the 'self_access_review_request' type.
func (*SelfAccessReviewRequestList) Each ¶
func (l *SelfAccessReviewRequestList) Each(f func(item *SelfAccessReviewRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SelfAccessReviewRequestList) Empty ¶
func (l *SelfAccessReviewRequestList) Empty() bool
Empty returns true if the list is empty.
func (*SelfAccessReviewRequestList) Get ¶
func (l *SelfAccessReviewRequestList) Get(i int) *SelfAccessReviewRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SelfAccessReviewRequestList) Len ¶
func (l *SelfAccessReviewRequestList) Len() int
Len returns the length of the list.
func (*SelfAccessReviewRequestList) Range ¶
func (l *SelfAccessReviewRequestList) Range(f func(index int, item *SelfAccessReviewRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SelfAccessReviewRequestList) Slice ¶
func (l *SelfAccessReviewRequestList) Slice() []*SelfAccessReviewRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SelfAccessReviewRequestListBuilder ¶
type SelfAccessReviewRequestListBuilder struct {
// contains filtered or unexported fields
}
SelfAccessReviewRequestListBuilder contains the data and logic needed to build 'self_access_review_request' objects.
func NewSelfAccessReviewRequestList ¶
func NewSelfAccessReviewRequestList() *SelfAccessReviewRequestListBuilder
NewSelfAccessReviewRequestList creates a new builder of 'self_access_review_request' objects.
func (*SelfAccessReviewRequestListBuilder) Build ¶
func (b *SelfAccessReviewRequestListBuilder) Build() (list *SelfAccessReviewRequestList, err error)
Build creates a list of 'self_access_review_request' objects using the configuration stored in the builder.
func (*SelfAccessReviewRequestListBuilder) Copy ¶
func (b *SelfAccessReviewRequestListBuilder) Copy(list *SelfAccessReviewRequestList) *SelfAccessReviewRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SelfAccessReviewRequestListBuilder) Empty ¶ added in v0.0.329
func (b *SelfAccessReviewRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SelfAccessReviewRequestListBuilder) Items ¶
func (b *SelfAccessReviewRequestListBuilder) Items(values ...*SelfAccessReviewRequestBuilder) *SelfAccessReviewRequestListBuilder
Items sets the items of the list.
type SelfAccessReviewResponse ¶
type SelfAccessReviewResponse struct {
// contains filtered or unexported fields
}
SelfAccessReviewResponse represents the values of the 'self_access_review_response' type.
Representation of an access review response, performed against oneself
func UnmarshalSelfAccessReviewResponse ¶
func UnmarshalSelfAccessReviewResponse(source interface{}) (object *SelfAccessReviewResponse, err error)
UnmarshalSelfAccessReviewResponse reads a value of the 'self_access_review_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSelfAccessReviewResponseList ¶
func UnmarshalSelfAccessReviewResponseList(source interface{}) (items []*SelfAccessReviewResponse, err error)
UnmarshalSelfAccessReviewResponseList reads a list of values of the 'self_access_review_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SelfAccessReviewResponse) Action ¶
func (o *SelfAccessReviewResponse) Action() string
Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*SelfAccessReviewResponse) Allowed ¶
func (o *SelfAccessReviewResponse) Allowed() bool
Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines whether the action on the specified resource type is allowed
func (*SelfAccessReviewResponse) ClusterID ¶
func (o *SelfAccessReviewResponse) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*SelfAccessReviewResponse) ClusterUUID ¶
func (o *SelfAccessReviewResponse) ClusterUUID() string
ClusterUUID returns the value of the 'cluster_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (external id) the resource type belongs to
func (*SelfAccessReviewResponse) Empty ¶
func (o *SelfAccessReviewResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SelfAccessReviewResponse) GetAction ¶
func (o *SelfAccessReviewResponse) GetAction() (value string, ok bool)
GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*SelfAccessReviewResponse) GetAllowed ¶
func (o *SelfAccessReviewResponse) GetAllowed() (value bool, ok bool)
GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.
Defines whether the action on the specified resource type is allowed
func (*SelfAccessReviewResponse) GetClusterID ¶
func (o *SelfAccessReviewResponse) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*SelfAccessReviewResponse) GetClusterUUID ¶
func (o *SelfAccessReviewResponse) GetClusterUUID() (value string, ok bool)
GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (external id) the resource type belongs to
func (*SelfAccessReviewResponse) GetOrganizationID ¶
func (o *SelfAccessReviewResponse) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Organization the resource type belongs to
func (*SelfAccessReviewResponse) GetResourceType ¶
func (o *SelfAccessReviewResponse) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*SelfAccessReviewResponse) GetSubscriptionID ¶
func (o *SelfAccessReviewResponse) GetSubscriptionID() (value string, ok bool)
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Subscription the resource type belongs to
func (*SelfAccessReviewResponse) OrganizationID ¶
func (o *SelfAccessReviewResponse) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Organization the resource type belongs to
func (*SelfAccessReviewResponse) ResourceType ¶
func (o *SelfAccessReviewResponse) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*SelfAccessReviewResponse) SubscriptionID ¶
func (o *SelfAccessReviewResponse) SubscriptionID() string
SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Subscription the resource type belongs to
type SelfAccessReviewResponseBuilder ¶
type SelfAccessReviewResponseBuilder struct {
// contains filtered or unexported fields
}
SelfAccessReviewResponseBuilder contains the data and logic needed to build 'self_access_review_response' objects.
Representation of an access review response, performed against oneself
func NewSelfAccessReviewResponse ¶
func NewSelfAccessReviewResponse() *SelfAccessReviewResponseBuilder
NewSelfAccessReviewResponse creates a new builder of 'self_access_review_response' objects.
func (*SelfAccessReviewResponseBuilder) Action ¶
func (b *SelfAccessReviewResponseBuilder) Action(value string) *SelfAccessReviewResponseBuilder
Action sets the value of the 'action' attribute to the given value.
func (*SelfAccessReviewResponseBuilder) Allowed ¶
func (b *SelfAccessReviewResponseBuilder) Allowed(value bool) *SelfAccessReviewResponseBuilder
Allowed sets the value of the 'allowed' attribute to the given value.
func (*SelfAccessReviewResponseBuilder) Build ¶
func (b *SelfAccessReviewResponseBuilder) Build() (object *SelfAccessReviewResponse, err error)
Build creates a 'self_access_review_response' object using the configuration stored in the builder.
func (*SelfAccessReviewResponseBuilder) ClusterID ¶
func (b *SelfAccessReviewResponseBuilder) ClusterID(value string) *SelfAccessReviewResponseBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*SelfAccessReviewResponseBuilder) ClusterUUID ¶
func (b *SelfAccessReviewResponseBuilder) ClusterUUID(value string) *SelfAccessReviewResponseBuilder
ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.
func (*SelfAccessReviewResponseBuilder) Copy ¶
func (b *SelfAccessReviewResponseBuilder) Copy(object *SelfAccessReviewResponse) *SelfAccessReviewResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SelfAccessReviewResponseBuilder) Empty ¶ added in v0.0.329
func (b *SelfAccessReviewResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SelfAccessReviewResponseBuilder) OrganizationID ¶
func (b *SelfAccessReviewResponseBuilder) OrganizationID(value string) *SelfAccessReviewResponseBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*SelfAccessReviewResponseBuilder) ResourceType ¶
func (b *SelfAccessReviewResponseBuilder) ResourceType(value string) *SelfAccessReviewResponseBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*SelfAccessReviewResponseBuilder) SubscriptionID ¶
func (b *SelfAccessReviewResponseBuilder) SubscriptionID(value string) *SelfAccessReviewResponseBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
type SelfAccessReviewResponseList ¶
type SelfAccessReviewResponseList struct {
// contains filtered or unexported fields
}
SelfAccessReviewResponseList is a list of values of the 'self_access_review_response' type.
func (*SelfAccessReviewResponseList) Each ¶
func (l *SelfAccessReviewResponseList) Each(f func(item *SelfAccessReviewResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SelfAccessReviewResponseList) Empty ¶
func (l *SelfAccessReviewResponseList) Empty() bool
Empty returns true if the list is empty.
func (*SelfAccessReviewResponseList) Get ¶
func (l *SelfAccessReviewResponseList) Get(i int) *SelfAccessReviewResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SelfAccessReviewResponseList) Len ¶
func (l *SelfAccessReviewResponseList) Len() int
Len returns the length of the list.
func (*SelfAccessReviewResponseList) Range ¶
func (l *SelfAccessReviewResponseList) Range(f func(index int, item *SelfAccessReviewResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SelfAccessReviewResponseList) Slice ¶
func (l *SelfAccessReviewResponseList) Slice() []*SelfAccessReviewResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SelfAccessReviewResponseListBuilder ¶
type SelfAccessReviewResponseListBuilder struct {
// contains filtered or unexported fields
}
SelfAccessReviewResponseListBuilder contains the data and logic needed to build 'self_access_review_response' objects.
func NewSelfAccessReviewResponseList ¶
func NewSelfAccessReviewResponseList() *SelfAccessReviewResponseListBuilder
NewSelfAccessReviewResponseList creates a new builder of 'self_access_review_response' objects.
func (*SelfAccessReviewResponseListBuilder) Build ¶
func (b *SelfAccessReviewResponseListBuilder) Build() (list *SelfAccessReviewResponseList, err error)
Build creates a list of 'self_access_review_response' objects using the configuration stored in the builder.
func (*SelfAccessReviewResponseListBuilder) Copy ¶
func (b *SelfAccessReviewResponseListBuilder) Copy(list *SelfAccessReviewResponseList) *SelfAccessReviewResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SelfAccessReviewResponseListBuilder) Empty ¶ added in v0.0.329
func (b *SelfAccessReviewResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SelfAccessReviewResponseListBuilder) Items ¶
func (b *SelfAccessReviewResponseListBuilder) Items(values ...*SelfAccessReviewResponseBuilder) *SelfAccessReviewResponseListBuilder
Items sets the items of the list.
type SelfCapabilityReviewClient ¶
type SelfCapabilityReviewClient struct {
// contains filtered or unexported fields
}
SelfCapabilityReviewClient is the client of the 'self_capability_review' resource.
Manages capability review.
func NewSelfCapabilityReviewClient ¶
func NewSelfCapabilityReviewClient(transport http.RoundTripper, path string) *SelfCapabilityReviewClient
NewSelfCapabilityReviewClient creates a new client for the 'self_capability_review' resource using the given transport to send the requests and receive the responses.
func (*SelfCapabilityReviewClient) Post ¶
func (c *SelfCapabilityReviewClient) Post() *SelfCapabilityReviewPostRequest
Post creates a request for the 'post' method.
Reviews a user's capability to a resource.
type SelfCapabilityReviewPostRequest ¶
type SelfCapabilityReviewPostRequest struct {
// contains filtered or unexported fields
}
SelfCapabilityReviewPostRequest is the request for the 'post' method.
func (*SelfCapabilityReviewPostRequest) Header ¶
func (r *SelfCapabilityReviewPostRequest) Header(name string, value interface{}) *SelfCapabilityReviewPostRequest
Header adds a request header.
func (*SelfCapabilityReviewPostRequest) Impersonate ¶ added in v0.0.329
func (r *SelfCapabilityReviewPostRequest) Impersonate(user string) *SelfCapabilityReviewPostRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*SelfCapabilityReviewPostRequest) Parameter ¶
func (r *SelfCapabilityReviewPostRequest) Parameter(name string, value interface{}) *SelfCapabilityReviewPostRequest
Parameter adds a query parameter.
func (*SelfCapabilityReviewPostRequest) Request ¶
func (r *SelfCapabilityReviewPostRequest) Request(value *SelfCapabilityReviewRequest) *SelfCapabilityReviewPostRequest
Request sets the value of the 'request' parameter.
func (*SelfCapabilityReviewPostRequest) Send ¶
func (r *SelfCapabilityReviewPostRequest) Send() (result *SelfCapabilityReviewPostResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*SelfCapabilityReviewPostRequest) SendContext ¶
func (r *SelfCapabilityReviewPostRequest) SendContext(ctx context.Context) (result *SelfCapabilityReviewPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SelfCapabilityReviewPostResponse ¶
type SelfCapabilityReviewPostResponse struct {
// contains filtered or unexported fields
}
SelfCapabilityReviewPostResponse is the response for the 'post' method.
func (*SelfCapabilityReviewPostResponse) Error ¶
func (r *SelfCapabilityReviewPostResponse) Error() *errors.Error
Error returns the response error.
func (*SelfCapabilityReviewPostResponse) GetResponse ¶
func (r *SelfCapabilityReviewPostResponse) GetResponse() (value *SelfCapabilityReviewResponse, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*SelfCapabilityReviewPostResponse) Header ¶
func (r *SelfCapabilityReviewPostResponse) Header() http.Header
Header returns header of the response.
func (*SelfCapabilityReviewPostResponse) Response ¶
func (r *SelfCapabilityReviewPostResponse) Response() *SelfCapabilityReviewResponse
Response returns the value of the 'response' parameter.
func (*SelfCapabilityReviewPostResponse) Status ¶
func (r *SelfCapabilityReviewPostResponse) Status() int
Status returns the response status code.
type SelfCapabilityReviewRequest ¶
type SelfCapabilityReviewRequest struct {
// contains filtered or unexported fields
}
SelfCapabilityReviewRequest represents the values of the 'self_capability_review_request' type.
Representation of a capability review.
func UnmarshalSelfCapabilityReviewRequest ¶
func UnmarshalSelfCapabilityReviewRequest(source interface{}) (object *SelfCapabilityReviewRequest, err error)
UnmarshalSelfCapabilityReviewRequest reads a value of the 'self_capability_review_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSelfCapabilityReviewRequestList ¶
func UnmarshalSelfCapabilityReviewRequestList(source interface{}) (items []*SelfCapabilityReviewRequest, err error)
UnmarshalSelfCapabilityReviewRequestList reads a list of values of the 'self_capability_review_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SelfCapabilityReviewRequest) AccountUsername ¶
func (o *SelfCapabilityReviewRequest) AccountUsername() string
AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines the username of the account of which capability is being reviewed.
func (*SelfCapabilityReviewRequest) Capability ¶
func (o *SelfCapabilityReviewRequest) Capability() string
Capability returns the value of the 'capability' attribute, or the zero value of the type if the attribute doesn't have a value.
Capability to review [manage_cluster_admin].
func (*SelfCapabilityReviewRequest) ClusterID ¶
func (o *SelfCapabilityReviewRequest) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (internal id) the resource type belongs to.
func (*SelfCapabilityReviewRequest) Empty ¶
func (o *SelfCapabilityReviewRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SelfCapabilityReviewRequest) GetAccountUsername ¶
func (o *SelfCapabilityReviewRequest) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
Defines the username of the account of which capability is being reviewed.
func (*SelfCapabilityReviewRequest) GetCapability ¶
func (o *SelfCapabilityReviewRequest) GetCapability() (value string, ok bool)
GetCapability returns the value of the 'capability' attribute and a flag indicating if the attribute has a value.
Capability to review [manage_cluster_admin].
func (*SelfCapabilityReviewRequest) GetClusterID ¶
func (o *SelfCapabilityReviewRequest) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (internal id) the resource type belongs to.
func (*SelfCapabilityReviewRequest) GetOrganizationID ¶
func (o *SelfCapabilityReviewRequest) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Organization the resource type belongs to.
func (*SelfCapabilityReviewRequest) GetResourceType ¶
func (o *SelfCapabilityReviewRequest) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
Indicates the type of the resource. See uhc-account-manager/openapi/openapi.yaml for a list of possible values.
func (*SelfCapabilityReviewRequest) GetSubscriptionID ¶
func (o *SelfCapabilityReviewRequest) GetSubscriptionID() (value string, ok bool)
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Subscription the resource type belongs to.
func (*SelfCapabilityReviewRequest) GetType ¶
func (o *SelfCapabilityReviewRequest) GetType() (value string, ok bool)
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
Type of capability [Cluster].
func (*SelfCapabilityReviewRequest) OrganizationID ¶
func (o *SelfCapabilityReviewRequest) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Organization the resource type belongs to.
func (*SelfCapabilityReviewRequest) ResourceType ¶
func (o *SelfCapabilityReviewRequest) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the type of the resource. See uhc-account-manager/openapi/openapi.yaml for a list of possible values.
func (*SelfCapabilityReviewRequest) SubscriptionID ¶
func (o *SelfCapabilityReviewRequest) SubscriptionID() string
SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Subscription the resource type belongs to.
func (*SelfCapabilityReviewRequest) Type ¶
func (o *SelfCapabilityReviewRequest) Type() string
Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.
Type of capability [Cluster].
type SelfCapabilityReviewRequestBuilder ¶
type SelfCapabilityReviewRequestBuilder struct {
// contains filtered or unexported fields
}
SelfCapabilityReviewRequestBuilder contains the data and logic needed to build 'self_capability_review_request' objects.
Representation of a capability review.
func NewSelfCapabilityReviewRequest ¶
func NewSelfCapabilityReviewRequest() *SelfCapabilityReviewRequestBuilder
NewSelfCapabilityReviewRequest creates a new builder of 'self_capability_review_request' objects.
func (*SelfCapabilityReviewRequestBuilder) AccountUsername ¶
func (b *SelfCapabilityReviewRequestBuilder) AccountUsername(value string) *SelfCapabilityReviewRequestBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*SelfCapabilityReviewRequestBuilder) Build ¶
func (b *SelfCapabilityReviewRequestBuilder) Build() (object *SelfCapabilityReviewRequest, err error)
Build creates a 'self_capability_review_request' object using the configuration stored in the builder.
func (*SelfCapabilityReviewRequestBuilder) Capability ¶
func (b *SelfCapabilityReviewRequestBuilder) Capability(value string) *SelfCapabilityReviewRequestBuilder
Capability sets the value of the 'capability' attribute to the given value.
func (*SelfCapabilityReviewRequestBuilder) ClusterID ¶
func (b *SelfCapabilityReviewRequestBuilder) ClusterID(value string) *SelfCapabilityReviewRequestBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*SelfCapabilityReviewRequestBuilder) Copy ¶
func (b *SelfCapabilityReviewRequestBuilder) Copy(object *SelfCapabilityReviewRequest) *SelfCapabilityReviewRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SelfCapabilityReviewRequestBuilder) Empty ¶ added in v0.0.329
func (b *SelfCapabilityReviewRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SelfCapabilityReviewRequestBuilder) OrganizationID ¶
func (b *SelfCapabilityReviewRequestBuilder) OrganizationID(value string) *SelfCapabilityReviewRequestBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*SelfCapabilityReviewRequestBuilder) ResourceType ¶
func (b *SelfCapabilityReviewRequestBuilder) ResourceType(value string) *SelfCapabilityReviewRequestBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*SelfCapabilityReviewRequestBuilder) SubscriptionID ¶
func (b *SelfCapabilityReviewRequestBuilder) SubscriptionID(value string) *SelfCapabilityReviewRequestBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
func (*SelfCapabilityReviewRequestBuilder) Type ¶
func (b *SelfCapabilityReviewRequestBuilder) Type(value string) *SelfCapabilityReviewRequestBuilder
Type sets the value of the 'type' attribute to the given value.
type SelfCapabilityReviewRequestList ¶
type SelfCapabilityReviewRequestList struct {
// contains filtered or unexported fields
}
SelfCapabilityReviewRequestList is a list of values of the 'self_capability_review_request' type.
func (*SelfCapabilityReviewRequestList) Each ¶
func (l *SelfCapabilityReviewRequestList) Each(f func(item *SelfCapabilityReviewRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SelfCapabilityReviewRequestList) Empty ¶
func (l *SelfCapabilityReviewRequestList) Empty() bool
Empty returns true if the list is empty.
func (*SelfCapabilityReviewRequestList) Get ¶
func (l *SelfCapabilityReviewRequestList) Get(i int) *SelfCapabilityReviewRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SelfCapabilityReviewRequestList) Len ¶
func (l *SelfCapabilityReviewRequestList) Len() int
Len returns the length of the list.
func (*SelfCapabilityReviewRequestList) Range ¶
func (l *SelfCapabilityReviewRequestList) Range(f func(index int, item *SelfCapabilityReviewRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SelfCapabilityReviewRequestList) Slice ¶
func (l *SelfCapabilityReviewRequestList) Slice() []*SelfCapabilityReviewRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SelfCapabilityReviewRequestListBuilder ¶
type SelfCapabilityReviewRequestListBuilder struct {
// contains filtered or unexported fields
}
SelfCapabilityReviewRequestListBuilder contains the data and logic needed to build 'self_capability_review_request' objects.
func NewSelfCapabilityReviewRequestList ¶
func NewSelfCapabilityReviewRequestList() *SelfCapabilityReviewRequestListBuilder
NewSelfCapabilityReviewRequestList creates a new builder of 'self_capability_review_request' objects.
func (*SelfCapabilityReviewRequestListBuilder) Build ¶
func (b *SelfCapabilityReviewRequestListBuilder) Build() (list *SelfCapabilityReviewRequestList, err error)
Build creates a list of 'self_capability_review_request' objects using the configuration stored in the builder.
func (*SelfCapabilityReviewRequestListBuilder) Copy ¶
func (b *SelfCapabilityReviewRequestListBuilder) Copy(list *SelfCapabilityReviewRequestList) *SelfCapabilityReviewRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SelfCapabilityReviewRequestListBuilder) Empty ¶ added in v0.0.329
func (b *SelfCapabilityReviewRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SelfCapabilityReviewRequestListBuilder) Items ¶
func (b *SelfCapabilityReviewRequestListBuilder) Items(values ...*SelfCapabilityReviewRequestBuilder) *SelfCapabilityReviewRequestListBuilder
Items sets the items of the list.
type SelfCapabilityReviewResponse ¶
type SelfCapabilityReviewResponse struct {
// contains filtered or unexported fields
}
SelfCapabilityReviewResponse represents the values of the 'self_capability_review_response' type.
Representation of a capability review response.
func UnmarshalSelfCapabilityReviewResponse ¶
func UnmarshalSelfCapabilityReviewResponse(source interface{}) (object *SelfCapabilityReviewResponse, err error)
UnmarshalSelfCapabilityReviewResponse reads a value of the 'self_capability_review_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSelfCapabilityReviewResponseList ¶
func UnmarshalSelfCapabilityReviewResponseList(source interface{}) (items []*SelfCapabilityReviewResponse, err error)
UnmarshalSelfCapabilityReviewResponseList reads a list of values of the 'self_capability_review_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SelfCapabilityReviewResponse) Empty ¶
func (o *SelfCapabilityReviewResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SelfCapabilityReviewResponse) GetResult ¶
func (o *SelfCapabilityReviewResponse) GetResult() (value string, ok bool)
GetResult returns the value of the 'result' attribute and a flag indicating if the attribute has a value.
func (*SelfCapabilityReviewResponse) Result ¶
func (o *SelfCapabilityReviewResponse) Result() string
Result returns the value of the 'result' attribute, or the zero value of the type if the attribute doesn't have a value.
type SelfCapabilityReviewResponseBuilder ¶
type SelfCapabilityReviewResponseBuilder struct {
// contains filtered or unexported fields
}
SelfCapabilityReviewResponseBuilder contains the data and logic needed to build 'self_capability_review_response' objects.
Representation of a capability review response.
func NewSelfCapabilityReviewResponse ¶
func NewSelfCapabilityReviewResponse() *SelfCapabilityReviewResponseBuilder
NewSelfCapabilityReviewResponse creates a new builder of 'self_capability_review_response' objects.
func (*SelfCapabilityReviewResponseBuilder) Build ¶
func (b *SelfCapabilityReviewResponseBuilder) Build() (object *SelfCapabilityReviewResponse, err error)
Build creates a 'self_capability_review_response' object using the configuration stored in the builder.
func (*SelfCapabilityReviewResponseBuilder) Copy ¶
func (b *SelfCapabilityReviewResponseBuilder) Copy(object *SelfCapabilityReviewResponse) *SelfCapabilityReviewResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SelfCapabilityReviewResponseBuilder) Empty ¶ added in v0.0.329
func (b *SelfCapabilityReviewResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SelfCapabilityReviewResponseBuilder) Result ¶
func (b *SelfCapabilityReviewResponseBuilder) Result(value string) *SelfCapabilityReviewResponseBuilder
Result sets the value of the 'result' attribute to the given value.
type SelfCapabilityReviewResponseList ¶
type SelfCapabilityReviewResponseList struct {
// contains filtered or unexported fields
}
SelfCapabilityReviewResponseList is a list of values of the 'self_capability_review_response' type.
func (*SelfCapabilityReviewResponseList) Each ¶
func (l *SelfCapabilityReviewResponseList) Each(f func(item *SelfCapabilityReviewResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SelfCapabilityReviewResponseList) Empty ¶
func (l *SelfCapabilityReviewResponseList) Empty() bool
Empty returns true if the list is empty.
func (*SelfCapabilityReviewResponseList) Get ¶
func (l *SelfCapabilityReviewResponseList) Get(i int) *SelfCapabilityReviewResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SelfCapabilityReviewResponseList) Len ¶
func (l *SelfCapabilityReviewResponseList) Len() int
Len returns the length of the list.
func (*SelfCapabilityReviewResponseList) Range ¶
func (l *SelfCapabilityReviewResponseList) Range(f func(index int, item *SelfCapabilityReviewResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SelfCapabilityReviewResponseList) Slice ¶
func (l *SelfCapabilityReviewResponseList) Slice() []*SelfCapabilityReviewResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SelfCapabilityReviewResponseListBuilder ¶
type SelfCapabilityReviewResponseListBuilder struct {
// contains filtered or unexported fields
}
SelfCapabilityReviewResponseListBuilder contains the data and logic needed to build 'self_capability_review_response' objects.
func NewSelfCapabilityReviewResponseList ¶
func NewSelfCapabilityReviewResponseList() *SelfCapabilityReviewResponseListBuilder
NewSelfCapabilityReviewResponseList creates a new builder of 'self_capability_review_response' objects.
func (*SelfCapabilityReviewResponseListBuilder) Build ¶
func (b *SelfCapabilityReviewResponseListBuilder) Build() (list *SelfCapabilityReviewResponseList, err error)
Build creates a list of 'self_capability_review_response' objects using the configuration stored in the builder.
func (*SelfCapabilityReviewResponseListBuilder) Copy ¶
func (b *SelfCapabilityReviewResponseListBuilder) Copy(list *SelfCapabilityReviewResponseList) *SelfCapabilityReviewResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SelfCapabilityReviewResponseListBuilder) Empty ¶ added in v0.0.329
func (b *SelfCapabilityReviewResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SelfCapabilityReviewResponseListBuilder) Items ¶
func (b *SelfCapabilityReviewResponseListBuilder) Items(values ...*SelfCapabilityReviewResponseBuilder) *SelfCapabilityReviewResponseListBuilder
Items sets the items of the list.
type SelfFeatureReviewClient ¶ added in v0.0.329
type SelfFeatureReviewClient struct {
// contains filtered or unexported fields
}
SelfFeatureReviewClient is the client of the 'self_feature_review' resource.
Manages feature review
func NewSelfFeatureReviewClient ¶ added in v0.0.329
func NewSelfFeatureReviewClient(transport http.RoundTripper, path string) *SelfFeatureReviewClient
NewSelfFeatureReviewClient creates a new client for the 'self_feature_review' resource using the given transport to send the requests and receive the responses.
func (*SelfFeatureReviewClient) Post ¶ added in v0.0.329
func (c *SelfFeatureReviewClient) Post() *SelfFeatureReviewPostRequest
Post creates a request for the 'post' method.
Reviews ability to toggle a feature
type SelfFeatureReviewPostRequest ¶ added in v0.0.329
type SelfFeatureReviewPostRequest struct {
// contains filtered or unexported fields
}
SelfFeatureReviewPostRequest is the request for the 'post' method.
func (*SelfFeatureReviewPostRequest) Header ¶ added in v0.0.329
func (r *SelfFeatureReviewPostRequest) Header(name string, value interface{}) *SelfFeatureReviewPostRequest
Header adds a request header.
func (*SelfFeatureReviewPostRequest) Impersonate ¶ added in v0.0.329
func (r *SelfFeatureReviewPostRequest) Impersonate(user string) *SelfFeatureReviewPostRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*SelfFeatureReviewPostRequest) Parameter ¶ added in v0.0.329
func (r *SelfFeatureReviewPostRequest) Parameter(name string, value interface{}) *SelfFeatureReviewPostRequest
Parameter adds a query parameter.
func (*SelfFeatureReviewPostRequest) Request ¶ added in v0.0.329
func (r *SelfFeatureReviewPostRequest) Request(value *SelfFeatureReviewRequest) *SelfFeatureReviewPostRequest
Request sets the value of the 'request' parameter.
func (*SelfFeatureReviewPostRequest) Send ¶ added in v0.0.329
func (r *SelfFeatureReviewPostRequest) Send() (result *SelfFeatureReviewPostResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*SelfFeatureReviewPostRequest) SendContext ¶ added in v0.0.329
func (r *SelfFeatureReviewPostRequest) SendContext(ctx context.Context) (result *SelfFeatureReviewPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SelfFeatureReviewPostResponse ¶ added in v0.0.329
type SelfFeatureReviewPostResponse struct {
// contains filtered or unexported fields
}
SelfFeatureReviewPostResponse is the response for the 'post' method.
func (*SelfFeatureReviewPostResponse) Error ¶ added in v0.0.329
func (r *SelfFeatureReviewPostResponse) Error() *errors.Error
Error returns the response error.
func (*SelfFeatureReviewPostResponse) GetRequest ¶ added in v0.0.329
func (r *SelfFeatureReviewPostResponse) GetRequest() (value *SelfFeatureReviewResponse, ok bool)
GetRequest returns the value of the 'request' parameter and a flag indicating if the parameter has a value.
func (*SelfFeatureReviewPostResponse) Header ¶ added in v0.0.329
func (r *SelfFeatureReviewPostResponse) Header() http.Header
Header returns header of the response.
func (*SelfFeatureReviewPostResponse) Request ¶ added in v0.0.329
func (r *SelfFeatureReviewPostResponse) Request() *SelfFeatureReviewResponse
Request returns the value of the 'request' parameter.
func (*SelfFeatureReviewPostResponse) Status ¶ added in v0.0.329
func (r *SelfFeatureReviewPostResponse) Status() int
Status returns the response status code.
type SelfFeatureReviewRequest ¶ added in v0.0.329
type SelfFeatureReviewRequest struct {
// contains filtered or unexported fields
}
SelfFeatureReviewRequest represents the values of the 'self_feature_review_request' type.
Representation of a feature review performed against oneself
func UnmarshalSelfFeatureReviewRequest ¶ added in v0.0.329
func UnmarshalSelfFeatureReviewRequest(source interface{}) (object *SelfFeatureReviewRequest, err error)
UnmarshalSelfFeatureReviewRequest reads a value of the 'self_feature_review_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSelfFeatureReviewRequestList ¶ added in v0.0.329
func UnmarshalSelfFeatureReviewRequestList(source interface{}) (items []*SelfFeatureReviewRequest, err error)
UnmarshalSelfFeatureReviewRequestList reads a list of values of the 'self_feature_review_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SelfFeatureReviewRequest) Empty ¶ added in v0.0.329
func (o *SelfFeatureReviewRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SelfFeatureReviewRequest) Feature ¶ added in v0.0.329
func (o *SelfFeatureReviewRequest) Feature() string
Feature returns the value of the 'feature' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the feature which can be toggled
func (*SelfFeatureReviewRequest) GetFeature ¶ added in v0.0.329
func (o *SelfFeatureReviewRequest) GetFeature() (value string, ok bool)
GetFeature returns the value of the 'feature' attribute and a flag indicating if the attribute has a value.
Indicates the feature which can be toggled
type SelfFeatureReviewRequestBuilder ¶ added in v0.0.329
type SelfFeatureReviewRequestBuilder struct {
// contains filtered or unexported fields
}
SelfFeatureReviewRequestBuilder contains the data and logic needed to build 'self_feature_review_request' objects.
Representation of a feature review performed against oneself
func NewSelfFeatureReviewRequest ¶ added in v0.0.329
func NewSelfFeatureReviewRequest() *SelfFeatureReviewRequestBuilder
NewSelfFeatureReviewRequest creates a new builder of 'self_feature_review_request' objects.
func (*SelfFeatureReviewRequestBuilder) Build ¶ added in v0.0.329
func (b *SelfFeatureReviewRequestBuilder) Build() (object *SelfFeatureReviewRequest, err error)
Build creates a 'self_feature_review_request' object using the configuration stored in the builder.
func (*SelfFeatureReviewRequestBuilder) Copy ¶ added in v0.0.329
func (b *SelfFeatureReviewRequestBuilder) Copy(object *SelfFeatureReviewRequest) *SelfFeatureReviewRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SelfFeatureReviewRequestBuilder) Empty ¶ added in v0.0.329
func (b *SelfFeatureReviewRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SelfFeatureReviewRequestBuilder) Feature ¶ added in v0.0.329
func (b *SelfFeatureReviewRequestBuilder) Feature(value string) *SelfFeatureReviewRequestBuilder
Feature sets the value of the 'feature' attribute to the given value.
type SelfFeatureReviewRequestList ¶ added in v0.0.329
type SelfFeatureReviewRequestList struct {
// contains filtered or unexported fields
}
SelfFeatureReviewRequestList is a list of values of the 'self_feature_review_request' type.
func (*SelfFeatureReviewRequestList) Each ¶ added in v0.0.329
func (l *SelfFeatureReviewRequestList) Each(f func(item *SelfFeatureReviewRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SelfFeatureReviewRequestList) Empty ¶ added in v0.0.329
func (l *SelfFeatureReviewRequestList) Empty() bool
Empty returns true if the list is empty.
func (*SelfFeatureReviewRequestList) Get ¶ added in v0.0.329
func (l *SelfFeatureReviewRequestList) Get(i int) *SelfFeatureReviewRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SelfFeatureReviewRequestList) Len ¶ added in v0.0.329
func (l *SelfFeatureReviewRequestList) Len() int
Len returns the length of the list.
func (*SelfFeatureReviewRequestList) Range ¶ added in v0.0.329
func (l *SelfFeatureReviewRequestList) Range(f func(index int, item *SelfFeatureReviewRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SelfFeatureReviewRequestList) Slice ¶ added in v0.0.329
func (l *SelfFeatureReviewRequestList) Slice() []*SelfFeatureReviewRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SelfFeatureReviewRequestListBuilder ¶ added in v0.0.329
type SelfFeatureReviewRequestListBuilder struct {
// contains filtered or unexported fields
}
SelfFeatureReviewRequestListBuilder contains the data and logic needed to build 'self_feature_review_request' objects.
func NewSelfFeatureReviewRequestList ¶ added in v0.0.329
func NewSelfFeatureReviewRequestList() *SelfFeatureReviewRequestListBuilder
NewSelfFeatureReviewRequestList creates a new builder of 'self_feature_review_request' objects.
func (*SelfFeatureReviewRequestListBuilder) Build ¶ added in v0.0.329
func (b *SelfFeatureReviewRequestListBuilder) Build() (list *SelfFeatureReviewRequestList, err error)
Build creates a list of 'self_feature_review_request' objects using the configuration stored in the builder.
func (*SelfFeatureReviewRequestListBuilder) Copy ¶ added in v0.0.329
func (b *SelfFeatureReviewRequestListBuilder) Copy(list *SelfFeatureReviewRequestList) *SelfFeatureReviewRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SelfFeatureReviewRequestListBuilder) Empty ¶ added in v0.0.329
func (b *SelfFeatureReviewRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SelfFeatureReviewRequestListBuilder) Items ¶ added in v0.0.329
func (b *SelfFeatureReviewRequestListBuilder) Items(values ...*SelfFeatureReviewRequestBuilder) *SelfFeatureReviewRequestListBuilder
Items sets the items of the list.
type SelfFeatureReviewResponse ¶ added in v0.0.329
type SelfFeatureReviewResponse struct {
// contains filtered or unexported fields
}
SelfFeatureReviewResponse represents the values of the 'self_feature_review_response' type.
Representation of a feature review response, performed against oneself
func UnmarshalSelfFeatureReviewResponse ¶ added in v0.0.329
func UnmarshalSelfFeatureReviewResponse(source interface{}) (object *SelfFeatureReviewResponse, err error)
UnmarshalSelfFeatureReviewResponse reads a value of the 'self_feature_review_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSelfFeatureReviewResponseList ¶ added in v0.0.329
func UnmarshalSelfFeatureReviewResponseList(source interface{}) (items []*SelfFeatureReviewResponse, err error)
UnmarshalSelfFeatureReviewResponseList reads a list of values of the 'self_feature_review_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SelfFeatureReviewResponse) Empty ¶ added in v0.0.329
func (o *SelfFeatureReviewResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SelfFeatureReviewResponse) Enabled ¶ added in v0.0.329
func (o *SelfFeatureReviewResponse) Enabled() bool
Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines whether the feature can be toggled
func (*SelfFeatureReviewResponse) FeatureID ¶ added in v0.0.329
func (o *SelfFeatureReviewResponse) FeatureID() string
FeatureID returns the value of the 'feature_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines the feature id which can be toggled
func (*SelfFeatureReviewResponse) GetEnabled ¶ added in v0.0.329
func (o *SelfFeatureReviewResponse) GetEnabled() (value bool, ok bool)
GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.
Defines whether the feature can be toggled
func (*SelfFeatureReviewResponse) GetFeatureID ¶ added in v0.0.329
func (o *SelfFeatureReviewResponse) GetFeatureID() (value string, ok bool)
GetFeatureID returns the value of the 'feature_ID' attribute and a flag indicating if the attribute has a value.
Defines the feature id which can be toggled
type SelfFeatureReviewResponseBuilder ¶ added in v0.0.329
type SelfFeatureReviewResponseBuilder struct {
// contains filtered or unexported fields
}
SelfFeatureReviewResponseBuilder contains the data and logic needed to build 'self_feature_review_response' objects.
Representation of a feature review response, performed against oneself
func NewSelfFeatureReviewResponse ¶ added in v0.0.329
func NewSelfFeatureReviewResponse() *SelfFeatureReviewResponseBuilder
NewSelfFeatureReviewResponse creates a new builder of 'self_feature_review_response' objects.
func (*SelfFeatureReviewResponseBuilder) Build ¶ added in v0.0.329
func (b *SelfFeatureReviewResponseBuilder) Build() (object *SelfFeatureReviewResponse, err error)
Build creates a 'self_feature_review_response' object using the configuration stored in the builder.
func (*SelfFeatureReviewResponseBuilder) Copy ¶ added in v0.0.329
func (b *SelfFeatureReviewResponseBuilder) Copy(object *SelfFeatureReviewResponse) *SelfFeatureReviewResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SelfFeatureReviewResponseBuilder) Empty ¶ added in v0.0.329
func (b *SelfFeatureReviewResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SelfFeatureReviewResponseBuilder) Enabled ¶ added in v0.0.329
func (b *SelfFeatureReviewResponseBuilder) Enabled(value bool) *SelfFeatureReviewResponseBuilder
Enabled sets the value of the 'enabled' attribute to the given value.
func (*SelfFeatureReviewResponseBuilder) FeatureID ¶ added in v0.0.329
func (b *SelfFeatureReviewResponseBuilder) FeatureID(value string) *SelfFeatureReviewResponseBuilder
FeatureID sets the value of the 'feature_ID' attribute to the given value.
type SelfFeatureReviewResponseList ¶ added in v0.0.329
type SelfFeatureReviewResponseList struct {
// contains filtered or unexported fields
}
SelfFeatureReviewResponseList is a list of values of the 'self_feature_review_response' type.
func (*SelfFeatureReviewResponseList) Each ¶ added in v0.0.329
func (l *SelfFeatureReviewResponseList) Each(f func(item *SelfFeatureReviewResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SelfFeatureReviewResponseList) Empty ¶ added in v0.0.329
func (l *SelfFeatureReviewResponseList) Empty() bool
Empty returns true if the list is empty.
func (*SelfFeatureReviewResponseList) Get ¶ added in v0.0.329
func (l *SelfFeatureReviewResponseList) Get(i int) *SelfFeatureReviewResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SelfFeatureReviewResponseList) Len ¶ added in v0.0.329
func (l *SelfFeatureReviewResponseList) Len() int
Len returns the length of the list.
func (*SelfFeatureReviewResponseList) Range ¶ added in v0.0.329
func (l *SelfFeatureReviewResponseList) Range(f func(index int, item *SelfFeatureReviewResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SelfFeatureReviewResponseList) Slice ¶ added in v0.0.329
func (l *SelfFeatureReviewResponseList) Slice() []*SelfFeatureReviewResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SelfFeatureReviewResponseListBuilder ¶ added in v0.0.329
type SelfFeatureReviewResponseListBuilder struct {
// contains filtered or unexported fields
}
SelfFeatureReviewResponseListBuilder contains the data and logic needed to build 'self_feature_review_response' objects.
func NewSelfFeatureReviewResponseList ¶ added in v0.0.329
func NewSelfFeatureReviewResponseList() *SelfFeatureReviewResponseListBuilder
NewSelfFeatureReviewResponseList creates a new builder of 'self_feature_review_response' objects.
func (*SelfFeatureReviewResponseListBuilder) Build ¶ added in v0.0.329
func (b *SelfFeatureReviewResponseListBuilder) Build() (list *SelfFeatureReviewResponseList, err error)
Build creates a list of 'self_feature_review_response' objects using the configuration stored in the builder.
func (*SelfFeatureReviewResponseListBuilder) Copy ¶ added in v0.0.329
func (b *SelfFeatureReviewResponseListBuilder) Copy(list *SelfFeatureReviewResponseList) *SelfFeatureReviewResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SelfFeatureReviewResponseListBuilder) Empty ¶ added in v0.0.329
func (b *SelfFeatureReviewResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SelfFeatureReviewResponseListBuilder) Items ¶ added in v0.0.329
func (b *SelfFeatureReviewResponseListBuilder) Items(values ...*SelfFeatureReviewResponseBuilder) *SelfFeatureReviewResponseListBuilder
Items sets the items of the list.
type SelfTermsReviewClient ¶ added in v0.0.329
type SelfTermsReviewClient struct {
// contains filtered or unexported fields
}
SelfTermsReviewClient is the client of the 'self_terms_review' resource.
Manages Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms] self-review requests.
func NewSelfTermsReviewClient ¶ added in v0.0.329
func NewSelfTermsReviewClient(transport http.RoundTripper, path string) *SelfTermsReviewClient
NewSelfTermsReviewClient creates a new client for the 'self_terms_review' resource using the given transport to send the requests and receive the responses.
func (*SelfTermsReviewClient) Post ¶ added in v0.0.329
func (c *SelfTermsReviewClient) Post() *SelfTermsReviewPostRequest
Post creates a request for the 'post' method.
Reviews a user's status of Terms.
type SelfTermsReviewPostRequest ¶ added in v0.0.329
type SelfTermsReviewPostRequest struct {
// contains filtered or unexported fields
}
SelfTermsReviewPostRequest is the request for the 'post' method.
func (*SelfTermsReviewPostRequest) Header ¶ added in v0.0.329
func (r *SelfTermsReviewPostRequest) Header(name string, value interface{}) *SelfTermsReviewPostRequest
Header adds a request header.
func (*SelfTermsReviewPostRequest) Impersonate ¶ added in v0.0.329
func (r *SelfTermsReviewPostRequest) Impersonate(user string) *SelfTermsReviewPostRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*SelfTermsReviewPostRequest) Parameter ¶ added in v0.0.329
func (r *SelfTermsReviewPostRequest) Parameter(name string, value interface{}) *SelfTermsReviewPostRequest
Parameter adds a query parameter.
func (*SelfTermsReviewPostRequest) Request ¶ added in v0.0.329
func (r *SelfTermsReviewPostRequest) Request(value *SelfTermsReviewRequest) *SelfTermsReviewPostRequest
Request sets the value of the 'request' parameter.
func (*SelfTermsReviewPostRequest) Send ¶ added in v0.0.329
func (r *SelfTermsReviewPostRequest) Send() (result *SelfTermsReviewPostResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*SelfTermsReviewPostRequest) SendContext ¶ added in v0.0.329
func (r *SelfTermsReviewPostRequest) SendContext(ctx context.Context) (result *SelfTermsReviewPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SelfTermsReviewPostResponse ¶ added in v0.0.329
type SelfTermsReviewPostResponse struct {
// contains filtered or unexported fields
}
SelfTermsReviewPostResponse is the response for the 'post' method.
func (*SelfTermsReviewPostResponse) Error ¶ added in v0.0.329
func (r *SelfTermsReviewPostResponse) Error() *errors.Error
Error returns the response error.
func (*SelfTermsReviewPostResponse) GetResponse ¶ added in v0.0.329
func (r *SelfTermsReviewPostResponse) GetResponse() (value *TermsReviewResponse, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*SelfTermsReviewPostResponse) Header ¶ added in v0.0.329
func (r *SelfTermsReviewPostResponse) Header() http.Header
Header returns header of the response.
func (*SelfTermsReviewPostResponse) Response ¶ added in v0.0.329
func (r *SelfTermsReviewPostResponse) Response() *TermsReviewResponse
Response returns the value of the 'response' parameter.
func (*SelfTermsReviewPostResponse) Status ¶ added in v0.0.329
func (r *SelfTermsReviewPostResponse) Status() int
Status returns the response status code.
type SelfTermsReviewRequest ¶ added in v0.0.329
type SelfTermsReviewRequest struct {
// contains filtered or unexported fields
}
SelfTermsReviewRequest represents the values of the 'self_terms_review_request' type.
Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms] review requests.
func UnmarshalSelfTermsReviewRequest ¶ added in v0.0.329
func UnmarshalSelfTermsReviewRequest(source interface{}) (object *SelfTermsReviewRequest, err error)
UnmarshalSelfTermsReviewRequest reads a value of the 'self_terms_review_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSelfTermsReviewRequestList ¶ added in v0.0.329
func UnmarshalSelfTermsReviewRequestList(source interface{}) (items []*SelfTermsReviewRequest, err error)
UnmarshalSelfTermsReviewRequestList reads a list of values of the 'self_terms_review_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SelfTermsReviewRequest) Empty ¶ added in v0.0.329
func (o *SelfTermsReviewRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SelfTermsReviewRequest) EventCode ¶ added in v0.0.329
func (o *SelfTermsReviewRequest) EventCode() string
EventCode returns the value of the 'event_code' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines the event code of the terms being checked
func (*SelfTermsReviewRequest) GetEventCode ¶ added in v0.0.329
func (o *SelfTermsReviewRequest) GetEventCode() (value string, ok bool)
GetEventCode returns the value of the 'event_code' attribute and a flag indicating if the attribute has a value.
Defines the event code of the terms being checked
func (*SelfTermsReviewRequest) GetSiteCode ¶ added in v0.0.329
func (o *SelfTermsReviewRequest) GetSiteCode() (value string, ok bool)
GetSiteCode returns the value of the 'site_code' attribute and a flag indicating if the attribute has a value.
Defines the site code of the terms being checked
func (*SelfTermsReviewRequest) SiteCode ¶ added in v0.0.329
func (o *SelfTermsReviewRequest) SiteCode() string
SiteCode returns the value of the 'site_code' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines the site code of the terms being checked
type SelfTermsReviewRequestBuilder ¶ added in v0.0.329
type SelfTermsReviewRequestBuilder struct {
// contains filtered or unexported fields
}
SelfTermsReviewRequestBuilder contains the data and logic needed to build 'self_terms_review_request' objects.
Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms] review requests.
func NewSelfTermsReviewRequest ¶ added in v0.0.329
func NewSelfTermsReviewRequest() *SelfTermsReviewRequestBuilder
NewSelfTermsReviewRequest creates a new builder of 'self_terms_review_request' objects.
func (*SelfTermsReviewRequestBuilder) Build ¶ added in v0.0.329
func (b *SelfTermsReviewRequestBuilder) Build() (object *SelfTermsReviewRequest, err error)
Build creates a 'self_terms_review_request' object using the configuration stored in the builder.
func (*SelfTermsReviewRequestBuilder) Copy ¶ added in v0.0.329
func (b *SelfTermsReviewRequestBuilder) Copy(object *SelfTermsReviewRequest) *SelfTermsReviewRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SelfTermsReviewRequestBuilder) Empty ¶ added in v0.0.329
func (b *SelfTermsReviewRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SelfTermsReviewRequestBuilder) EventCode ¶ added in v0.0.329
func (b *SelfTermsReviewRequestBuilder) EventCode(value string) *SelfTermsReviewRequestBuilder
EventCode sets the value of the 'event_code' attribute to the given value.
func (*SelfTermsReviewRequestBuilder) SiteCode ¶ added in v0.0.329
func (b *SelfTermsReviewRequestBuilder) SiteCode(value string) *SelfTermsReviewRequestBuilder
SiteCode sets the value of the 'site_code' attribute to the given value.
type SelfTermsReviewRequestList ¶ added in v0.0.329
type SelfTermsReviewRequestList struct {
// contains filtered or unexported fields
}
SelfTermsReviewRequestList is a list of values of the 'self_terms_review_request' type.
func (*SelfTermsReviewRequestList) Each ¶ added in v0.0.329
func (l *SelfTermsReviewRequestList) Each(f func(item *SelfTermsReviewRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SelfTermsReviewRequestList) Empty ¶ added in v0.0.329
func (l *SelfTermsReviewRequestList) Empty() bool
Empty returns true if the list is empty.
func (*SelfTermsReviewRequestList) Get ¶ added in v0.0.329
func (l *SelfTermsReviewRequestList) Get(i int) *SelfTermsReviewRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SelfTermsReviewRequestList) Len ¶ added in v0.0.329
func (l *SelfTermsReviewRequestList) Len() int
Len returns the length of the list.
func (*SelfTermsReviewRequestList) Range ¶ added in v0.0.329
func (l *SelfTermsReviewRequestList) Range(f func(index int, item *SelfTermsReviewRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SelfTermsReviewRequestList) Slice ¶ added in v0.0.329
func (l *SelfTermsReviewRequestList) Slice() []*SelfTermsReviewRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SelfTermsReviewRequestListBuilder ¶ added in v0.0.329
type SelfTermsReviewRequestListBuilder struct {
// contains filtered or unexported fields
}
SelfTermsReviewRequestListBuilder contains the data and logic needed to build 'self_terms_review_request' objects.
func NewSelfTermsReviewRequestList ¶ added in v0.0.329
func NewSelfTermsReviewRequestList() *SelfTermsReviewRequestListBuilder
NewSelfTermsReviewRequestList creates a new builder of 'self_terms_review_request' objects.
func (*SelfTermsReviewRequestListBuilder) Build ¶ added in v0.0.329
func (b *SelfTermsReviewRequestListBuilder) Build() (list *SelfTermsReviewRequestList, err error)
Build creates a list of 'self_terms_review_request' objects using the configuration stored in the builder.
func (*SelfTermsReviewRequestListBuilder) Copy ¶ added in v0.0.329
func (b *SelfTermsReviewRequestListBuilder) Copy(list *SelfTermsReviewRequestList) *SelfTermsReviewRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SelfTermsReviewRequestListBuilder) Empty ¶ added in v0.0.329
func (b *SelfTermsReviewRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SelfTermsReviewRequestListBuilder) Items ¶ added in v0.0.329
func (b *SelfTermsReviewRequestListBuilder) Items(values ...*SelfTermsReviewRequestBuilder) *SelfTermsReviewRequestListBuilder
Items sets the items of the list.
type SubscriptionStatus ¶ added in v0.0.329
type SubscriptionStatus string
SubscriptionStatus represents the values of the 'subscription_status' enumerated type.
const ( // Active state subscriptions have their related resources currently running and reporting an active state // Whether a subscription is active is determined depending on the plan of the subscription // For example, OCP subscriptions are active if the OCP cluster is successfully reporting metrics // RHOSR subscriptions are active if the service-registry service determines they are, the service updates the subscription as necessary SubscriptionStatusActive SubscriptionStatus = "active" // Subscriptions move to Archived when the resources are no longer visibile to OCM and suspected removed // Users can also move some disconnected subscriptions to archived state // If a subscription in Archived state's resources start reporting again, the subscription may move back to Active SubscriptionStatusArchived SubscriptionStatus = "archived" // Deprovisioned subscriptions can be considered completely deleted. As of this writing, only managed plan subscriptions are completely // deleted. Instead of actual DB row deletion, subscriptions are moved to Deprovisioned status and all associated resources (quota, // roles, etc) are _actually_ deleted. This allows us to keep track of what subscriptions existed and when. SubscriptionStatusDeprovisioned SubscriptionStatus = "deprovisioned" // Disconnected subscriptions are Active subscriptions that are intentionally not reporting an active state. There may be some // desire by the subscription owner not to connect the resources to OCM. This status allows the subscription to stay in OCM without // automatically moving to Stale or Archived. SubscriptionStatusDisconnected SubscriptionStatus = "disconnected" // Reserved subscriptions are created during the resource installation process. A reserved subscription represents a subscription // whose resources do not yet exist, but are expected to exist soon. Creating a reserved subscription allows services to reserve quota // for resources that are in the process of creation. Services are expected to update the status to Active or Deprovisioned once // the creation process completes, or fails. SubscriptionStatusReserved SubscriptionStatus = "reserved" // Stale subscriptions are active subscriptions who have stopped reporting an active state. Once reports cease, the subscription // is moved to stale to indicate to users that OCM can no longer see the Active resources. Subscriptions in stale state will automatically // transition back to active if the resources stat reporting again. They will also transition to Disconnected or Archived if the // resources never resume reporting. SubscriptionStatusStale SubscriptionStatus = "stale" )
func UnmarshalSubscriptionStatusList ¶ added in v0.0.329
func UnmarshalSubscriptionStatusList(source interface{}) (items []SubscriptionStatus, err error)
UnmarshalSubscriptionStatusList reads a list of values of the 'subscription_status' type from the given source, which can be a slice of bytes, a string or a reader.
type TermsReviewClient ¶ added in v0.0.329
type TermsReviewClient struct {
// contains filtered or unexported fields
}
TermsReviewClient is the client of the 'terms_review' resource.
Manages Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms] review requests.
func NewTermsReviewClient ¶ added in v0.0.329
func NewTermsReviewClient(transport http.RoundTripper, path string) *TermsReviewClient
NewTermsReviewClient creates a new client for the 'terms_review' resource using the given transport to send the requests and receive the responses.
func (*TermsReviewClient) Post ¶ added in v0.0.329
func (c *TermsReviewClient) Post() *TermsReviewPostRequest
Post creates a request for the 'post' method.
Reviews a user's status of Terms.
type TermsReviewPostRequest ¶ added in v0.0.329
type TermsReviewPostRequest struct {
// contains filtered or unexported fields
}
TermsReviewPostRequest is the request for the 'post' method.
func (*TermsReviewPostRequest) Header ¶ added in v0.0.329
func (r *TermsReviewPostRequest) Header(name string, value interface{}) *TermsReviewPostRequest
Header adds a request header.
func (*TermsReviewPostRequest) Impersonate ¶ added in v0.0.329
func (r *TermsReviewPostRequest) Impersonate(user string) *TermsReviewPostRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*TermsReviewPostRequest) Parameter ¶ added in v0.0.329
func (r *TermsReviewPostRequest) Parameter(name string, value interface{}) *TermsReviewPostRequest
Parameter adds a query parameter.
func (*TermsReviewPostRequest) Request ¶ added in v0.0.329
func (r *TermsReviewPostRequest) Request(value *TermsReviewRequest) *TermsReviewPostRequest
Request sets the value of the 'request' parameter.
func (*TermsReviewPostRequest) Send ¶ added in v0.0.329
func (r *TermsReviewPostRequest) Send() (result *TermsReviewPostResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*TermsReviewPostRequest) SendContext ¶ added in v0.0.329
func (r *TermsReviewPostRequest) SendContext(ctx context.Context) (result *TermsReviewPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type TermsReviewPostResponse ¶ added in v0.0.329
type TermsReviewPostResponse struct {
// contains filtered or unexported fields
}
TermsReviewPostResponse is the response for the 'post' method.
func (*TermsReviewPostResponse) Error ¶ added in v0.0.329
func (r *TermsReviewPostResponse) Error() *errors.Error
Error returns the response error.
func (*TermsReviewPostResponse) GetResponse ¶ added in v0.0.329
func (r *TermsReviewPostResponse) GetResponse() (value *TermsReviewResponse, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*TermsReviewPostResponse) Header ¶ added in v0.0.329
func (r *TermsReviewPostResponse) Header() http.Header
Header returns header of the response.
func (*TermsReviewPostResponse) Response ¶ added in v0.0.329
func (r *TermsReviewPostResponse) Response() *TermsReviewResponse
Response returns the value of the 'response' parameter.
func (*TermsReviewPostResponse) Status ¶ added in v0.0.329
func (r *TermsReviewPostResponse) Status() int
Status returns the response status code.
type TermsReviewRequest ¶ added in v0.0.329
type TermsReviewRequest struct {
// contains filtered or unexported fields
}
TermsReviewRequest represents the values of the 'terms_review_request' type.
Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms] review requests.
func UnmarshalTermsReviewRequest ¶ added in v0.0.329
func UnmarshalTermsReviewRequest(source interface{}) (object *TermsReviewRequest, err error)
UnmarshalTermsReviewRequest reads a value of the 'terms_review_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalTermsReviewRequestList ¶ added in v0.0.329
func UnmarshalTermsReviewRequestList(source interface{}) (items []*TermsReviewRequest, err error)
UnmarshalTermsReviewRequestList reads a list of values of the 'terms_review_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*TermsReviewRequest) AccountUsername ¶ added in v0.0.329
func (o *TermsReviewRequest) AccountUsername() string
AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines the username of the account of which Terms is being reviewed.
func (*TermsReviewRequest) CheckOptionalTerms ¶ added in v0.0.329
func (o *TermsReviewRequest) CheckOptionalTerms() bool
CheckOptionalTerms returns the value of the 'check_optional_terms' attribute, or the zero value of the type if the attribute doesn't have a value.
If false, only `terms_required` will be checked
func (*TermsReviewRequest) Empty ¶ added in v0.0.329
func (o *TermsReviewRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*TermsReviewRequest) EventCode ¶ added in v0.0.329
func (o *TermsReviewRequest) EventCode() string
EventCode returns the value of the 'event_code' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines the event code of the terms being checked
func (*TermsReviewRequest) GetAccountUsername ¶ added in v0.0.329
func (o *TermsReviewRequest) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
Defines the username of the account of which Terms is being reviewed.
func (*TermsReviewRequest) GetCheckOptionalTerms ¶ added in v0.0.329
func (o *TermsReviewRequest) GetCheckOptionalTerms() (value bool, ok bool)
GetCheckOptionalTerms returns the value of the 'check_optional_terms' attribute and a flag indicating if the attribute has a value.
If false, only `terms_required` will be checked
func (*TermsReviewRequest) GetEventCode ¶ added in v0.0.329
func (o *TermsReviewRequest) GetEventCode() (value string, ok bool)
GetEventCode returns the value of the 'event_code' attribute and a flag indicating if the attribute has a value.
Defines the event code of the terms being checked
func (*TermsReviewRequest) GetSiteCode ¶ added in v0.0.329
func (o *TermsReviewRequest) GetSiteCode() (value string, ok bool)
GetSiteCode returns the value of the 'site_code' attribute and a flag indicating if the attribute has a value.
Defines the site code of the terms being checked
func (*TermsReviewRequest) SiteCode ¶ added in v0.0.329
func (o *TermsReviewRequest) SiteCode() string
SiteCode returns the value of the 'site_code' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines the site code of the terms being checked
type TermsReviewRequestBuilder ¶ added in v0.0.329
type TermsReviewRequestBuilder struct {
// contains filtered or unexported fields
}
TermsReviewRequestBuilder contains the data and logic needed to build 'terms_review_request' objects.
Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms] review requests.
func NewTermsReviewRequest ¶ added in v0.0.329
func NewTermsReviewRequest() *TermsReviewRequestBuilder
NewTermsReviewRequest creates a new builder of 'terms_review_request' objects.
func (*TermsReviewRequestBuilder) AccountUsername ¶ added in v0.0.329
func (b *TermsReviewRequestBuilder) AccountUsername(value string) *TermsReviewRequestBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*TermsReviewRequestBuilder) Build ¶ added in v0.0.329
func (b *TermsReviewRequestBuilder) Build() (object *TermsReviewRequest, err error)
Build creates a 'terms_review_request' object using the configuration stored in the builder.
func (*TermsReviewRequestBuilder) CheckOptionalTerms ¶ added in v0.0.329
func (b *TermsReviewRequestBuilder) CheckOptionalTerms(value bool) *TermsReviewRequestBuilder
CheckOptionalTerms sets the value of the 'check_optional_terms' attribute to the given value.
func (*TermsReviewRequestBuilder) Copy ¶ added in v0.0.329
func (b *TermsReviewRequestBuilder) Copy(object *TermsReviewRequest) *TermsReviewRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*TermsReviewRequestBuilder) Empty ¶ added in v0.0.329
func (b *TermsReviewRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*TermsReviewRequestBuilder) EventCode ¶ added in v0.0.329
func (b *TermsReviewRequestBuilder) EventCode(value string) *TermsReviewRequestBuilder
EventCode sets the value of the 'event_code' attribute to the given value.
func (*TermsReviewRequestBuilder) SiteCode ¶ added in v0.0.329
func (b *TermsReviewRequestBuilder) SiteCode(value string) *TermsReviewRequestBuilder
SiteCode sets the value of the 'site_code' attribute to the given value.
type TermsReviewRequestList ¶ added in v0.0.329
type TermsReviewRequestList struct {
// contains filtered or unexported fields
}
TermsReviewRequestList is a list of values of the 'terms_review_request' type.
func (*TermsReviewRequestList) Each ¶ added in v0.0.329
func (l *TermsReviewRequestList) Each(f func(item *TermsReviewRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*TermsReviewRequestList) Empty ¶ added in v0.0.329
func (l *TermsReviewRequestList) Empty() bool
Empty returns true if the list is empty.
func (*TermsReviewRequestList) Get ¶ added in v0.0.329
func (l *TermsReviewRequestList) Get(i int) *TermsReviewRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*TermsReviewRequestList) Len ¶ added in v0.0.329
func (l *TermsReviewRequestList) Len() int
Len returns the length of the list.
func (*TermsReviewRequestList) Range ¶ added in v0.0.329
func (l *TermsReviewRequestList) Range(f func(index int, item *TermsReviewRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*TermsReviewRequestList) Slice ¶ added in v0.0.329
func (l *TermsReviewRequestList) Slice() []*TermsReviewRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type TermsReviewRequestListBuilder ¶ added in v0.0.329
type TermsReviewRequestListBuilder struct {
// contains filtered or unexported fields
}
TermsReviewRequestListBuilder contains the data and logic needed to build 'terms_review_request' objects.
func NewTermsReviewRequestList ¶ added in v0.0.329
func NewTermsReviewRequestList() *TermsReviewRequestListBuilder
NewTermsReviewRequestList creates a new builder of 'terms_review_request' objects.
func (*TermsReviewRequestListBuilder) Build ¶ added in v0.0.329
func (b *TermsReviewRequestListBuilder) Build() (list *TermsReviewRequestList, err error)
Build creates a list of 'terms_review_request' objects using the configuration stored in the builder.
func (*TermsReviewRequestListBuilder) Copy ¶ added in v0.0.329
func (b *TermsReviewRequestListBuilder) Copy(list *TermsReviewRequestList) *TermsReviewRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*TermsReviewRequestListBuilder) Empty ¶ added in v0.0.329
func (b *TermsReviewRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*TermsReviewRequestListBuilder) Items ¶ added in v0.0.329
func (b *TermsReviewRequestListBuilder) Items(values ...*TermsReviewRequestBuilder) *TermsReviewRequestListBuilder
Items sets the items of the list.
type TermsReviewResponse ¶ added in v0.0.329
type TermsReviewResponse struct {
// contains filtered or unexported fields
}
TermsReviewResponse represents the values of the 'terms_review_response' type.
Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms] review response.
func UnmarshalTermsReviewResponse ¶ added in v0.0.329
func UnmarshalTermsReviewResponse(source interface{}) (object *TermsReviewResponse, err error)
UnmarshalTermsReviewResponse reads a value of the 'terms_review_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalTermsReviewResponseList ¶ added in v0.0.329
func UnmarshalTermsReviewResponseList(source interface{}) (items []*TermsReviewResponse, err error)
UnmarshalTermsReviewResponseList reads a list of values of the 'terms_review_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*TermsReviewResponse) AccountId ¶ added in v0.0.329
func (o *TermsReviewResponse) AccountId() string
AccountId returns the value of the 'account_id' attribute, or the zero value of the type if the attribute doesn't have a value.
Account ID of requesting user.
func (*TermsReviewResponse) Empty ¶ added in v0.0.329
func (o *TermsReviewResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*TermsReviewResponse) GetAccountId ¶ added in v0.0.329
func (o *TermsReviewResponse) GetAccountId() (value string, ok bool)
GetAccountId returns the value of the 'account_id' attribute and a flag indicating if the attribute has a value.
Account ID of requesting user.
func (*TermsReviewResponse) GetOrganizationID ¶ added in v0.0.329
func (o *TermsReviewResponse) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Organization the user belongs to.
func (*TermsReviewResponse) GetRedirectUrl ¶ added in v0.0.329
func (o *TermsReviewResponse) GetRedirectUrl() (value string, ok bool)
GetRedirectUrl returns the value of the 'redirect_url' attribute and a flag indicating if the attribute has a value.
Optional URL to Red Hat's Terms and Conditions Application if the user has either required or available Terms needs to acknowledge.
func (*TermsReviewResponse) GetTermsAvailable ¶ added in v0.0.329
func (o *TermsReviewResponse) GetTermsAvailable() (value bool, ok bool)
GetTermsAvailable returns the value of the 'terms_available' attribute and a flag indicating if the attribute has a value.
Defines whether Terms are available.
func (*TermsReviewResponse) GetTermsRequired ¶ added in v0.0.329
func (o *TermsReviewResponse) GetTermsRequired() (value bool, ok bool)
GetTermsRequired returns the value of the 'terms_required' attribute and a flag indicating if the attribute has a value.
Defines whether user is required to accept Terms before using OpenShift Dedicated and Amazon Red Hat OpenShift.
func (*TermsReviewResponse) OrganizationID ¶ added in v0.0.329
func (o *TermsReviewResponse) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Organization the user belongs to.
func (*TermsReviewResponse) RedirectUrl ¶ added in v0.0.329
func (o *TermsReviewResponse) RedirectUrl() string
RedirectUrl returns the value of the 'redirect_url' attribute, or the zero value of the type if the attribute doesn't have a value.
Optional URL to Red Hat's Terms and Conditions Application if the user has either required or available Terms needs to acknowledge.
func (*TermsReviewResponse) TermsAvailable ¶ added in v0.0.329
func (o *TermsReviewResponse) TermsAvailable() bool
TermsAvailable returns the value of the 'terms_available' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines whether Terms are available.
func (*TermsReviewResponse) TermsRequired ¶ added in v0.0.329
func (o *TermsReviewResponse) TermsRequired() bool
TermsRequired returns the value of the 'terms_required' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines whether user is required to accept Terms before using OpenShift Dedicated and Amazon Red Hat OpenShift.
type TermsReviewResponseBuilder ¶ added in v0.0.329
type TermsReviewResponseBuilder struct {
// contains filtered or unexported fields
}
TermsReviewResponseBuilder contains the data and logic needed to build 'terms_review_response' objects.
Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms] review response.
func NewTermsReviewResponse ¶ added in v0.0.329
func NewTermsReviewResponse() *TermsReviewResponseBuilder
NewTermsReviewResponse creates a new builder of 'terms_review_response' objects.
func (*TermsReviewResponseBuilder) AccountId ¶ added in v0.0.329
func (b *TermsReviewResponseBuilder) AccountId(value string) *TermsReviewResponseBuilder
AccountId sets the value of the 'account_id' attribute to the given value.
func (*TermsReviewResponseBuilder) Build ¶ added in v0.0.329
func (b *TermsReviewResponseBuilder) Build() (object *TermsReviewResponse, err error)
Build creates a 'terms_review_response' object using the configuration stored in the builder.
func (*TermsReviewResponseBuilder) Copy ¶ added in v0.0.329
func (b *TermsReviewResponseBuilder) Copy(object *TermsReviewResponse) *TermsReviewResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*TermsReviewResponseBuilder) Empty ¶ added in v0.0.329
func (b *TermsReviewResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*TermsReviewResponseBuilder) OrganizationID ¶ added in v0.0.329
func (b *TermsReviewResponseBuilder) OrganizationID(value string) *TermsReviewResponseBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*TermsReviewResponseBuilder) RedirectUrl ¶ added in v0.0.329
func (b *TermsReviewResponseBuilder) RedirectUrl(value string) *TermsReviewResponseBuilder
RedirectUrl sets the value of the 'redirect_url' attribute to the given value.
func (*TermsReviewResponseBuilder) TermsAvailable ¶ added in v0.0.329
func (b *TermsReviewResponseBuilder) TermsAvailable(value bool) *TermsReviewResponseBuilder
TermsAvailable sets the value of the 'terms_available' attribute to the given value.
func (*TermsReviewResponseBuilder) TermsRequired ¶ added in v0.0.329
func (b *TermsReviewResponseBuilder) TermsRequired(value bool) *TermsReviewResponseBuilder
TermsRequired sets the value of the 'terms_required' attribute to the given value.
type TermsReviewResponseList ¶ added in v0.0.329
type TermsReviewResponseList struct {
// contains filtered or unexported fields
}
TermsReviewResponseList is a list of values of the 'terms_review_response' type.
func (*TermsReviewResponseList) Each ¶ added in v0.0.329
func (l *TermsReviewResponseList) Each(f func(item *TermsReviewResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*TermsReviewResponseList) Empty ¶ added in v0.0.329
func (l *TermsReviewResponseList) Empty() bool
Empty returns true if the list is empty.
func (*TermsReviewResponseList) Get ¶ added in v0.0.329
func (l *TermsReviewResponseList) Get(i int) *TermsReviewResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*TermsReviewResponseList) Len ¶ added in v0.0.329
func (l *TermsReviewResponseList) Len() int
Len returns the length of the list.
func (*TermsReviewResponseList) Range ¶ added in v0.0.329
func (l *TermsReviewResponseList) Range(f func(index int, item *TermsReviewResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*TermsReviewResponseList) Slice ¶ added in v0.0.329
func (l *TermsReviewResponseList) Slice() []*TermsReviewResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type TermsReviewResponseListBuilder ¶ added in v0.0.329
type TermsReviewResponseListBuilder struct {
// contains filtered or unexported fields
}
TermsReviewResponseListBuilder contains the data and logic needed to build 'terms_review_response' objects.
func NewTermsReviewResponseList ¶ added in v0.0.329
func NewTermsReviewResponseList() *TermsReviewResponseListBuilder
NewTermsReviewResponseList creates a new builder of 'terms_review_response' objects.
func (*TermsReviewResponseListBuilder) Build ¶ added in v0.0.329
func (b *TermsReviewResponseListBuilder) Build() (list *TermsReviewResponseList, err error)
Build creates a list of 'terms_review_response' objects using the configuration stored in the builder.
func (*TermsReviewResponseListBuilder) Copy ¶ added in v0.0.329
func (b *TermsReviewResponseListBuilder) Copy(list *TermsReviewResponseList) *TermsReviewResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*TermsReviewResponseListBuilder) Empty ¶ added in v0.0.329
func (b *TermsReviewResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*TermsReviewResponseListBuilder) Items ¶ added in v0.0.329
func (b *TermsReviewResponseListBuilder) Items(values ...*TermsReviewResponseBuilder) *TermsReviewResponseListBuilder
Items sets the items of the list.
Source Files ¶
- access_review_client.go
- access_review_request_builder.go
- access_review_request_list_builder.go
- access_review_request_list_type_json.go
- access_review_request_type.go
- access_review_request_type_json.go
- access_review_resource_json.go
- access_review_response_builder.go
- access_review_response_list_builder.go
- access_review_response_list_type_json.go
- access_review_response_type.go
- access_review_response_type_json.go
- boolean_list_type_json.go
- capability_review_client.go
- capability_review_request_builder.go
- capability_review_request_list_builder.go
- capability_review_request_list_type_json.go
- capability_review_request_type.go
- capability_review_request_type_json.go
- capability_review_resource_json.go
- capability_review_response_builder.go
- capability_review_response_list_builder.go
- capability_review_response_list_type_json.go
- capability_review_response_type.go
- capability_review_response_type_json.go
- date_list_type_json.go
- errors.go
- export_control_review_client.go
- export_control_review_request_builder.go
- export_control_review_request_list_builder.go
- export_control_review_request_list_type_json.go
- export_control_review_request_type.go
- export_control_review_request_type_json.go
- export_control_review_resource_json.go
- export_control_review_response_builder.go
- export_control_review_response_list_builder.go
- export_control_review_response_list_type_json.go
- export_control_review_response_type.go
- export_control_review_response_type_json.go
- feature_review_client.go
- feature_review_request_builder.go
- feature_review_request_list_builder.go
- feature_review_request_list_type_json.go
- feature_review_request_type.go
- feature_review_request_type_json.go
- feature_review_resource_json.go
- feature_review_response_builder.go
- feature_review_response_list_builder.go
- feature_review_response_list_type_json.go
- feature_review_response_type.go
- feature_review_response_type_json.go
- float_list_type_json.go
- integer_list_type_json.go
- interface_list_type_json.go
- long_list_type_json.go
- metadata_client.go
- metadata_reader.go
- metadata_type.go
- openapi.go
- resource_review_builder.go
- resource_review_client.go
- resource_review_list_builder.go
- resource_review_list_type_json.go
- resource_review_request_builder.go
- resource_review_request_list_builder.go
- resource_review_request_list_type_json.go
- resource_review_request_type.go
- resource_review_request_type_json.go
- resource_review_resource_json.go
- resource_review_type.go
- resource_review_type_json.go
- root_client.go
- root_resource_json.go
- self_access_review_client.go
- self_access_review_request_builder.go
- self_access_review_request_list_builder.go
- self_access_review_request_list_type_json.go
- self_access_review_request_type.go
- self_access_review_request_type_json.go
- self_access_review_resource_json.go
- self_access_review_response_builder.go
- self_access_review_response_list_builder.go
- self_access_review_response_list_type_json.go
- self_access_review_response_type.go
- self_access_review_response_type_json.go
- self_capability_review_client.go
- self_capability_review_request_builder.go
- self_capability_review_request_list_builder.go
- self_capability_review_request_list_type_json.go
- self_capability_review_request_type.go
- self_capability_review_request_type_json.go
- self_capability_review_resource_json.go
- self_capability_review_response_builder.go
- self_capability_review_response_list_builder.go
- self_capability_review_response_list_type_json.go
- self_capability_review_response_type.go
- self_capability_review_response_type_json.go
- self_feature_review_client.go
- self_feature_review_request_builder.go
- self_feature_review_request_list_builder.go
- self_feature_review_request_list_type_json.go
- self_feature_review_request_type.go
- self_feature_review_request_type_json.go
- self_feature_review_resource_json.go
- self_feature_review_response_builder.go
- self_feature_review_response_list_builder.go
- self_feature_review_response_list_type_json.go
- self_feature_review_response_type.go
- self_feature_review_response_type_json.go
- self_terms_review_client.go
- self_terms_review_request_builder.go
- self_terms_review_request_list_builder.go
- self_terms_review_request_list_type_json.go
- self_terms_review_request_type.go
- self_terms_review_request_type_json.go
- self_terms_review_resource_json.go
- string_list_type_json.go
- subscription_status_list_type_json.go
- subscription_status_type.go
- terms_review_client.go
- terms_review_request_builder.go
- terms_review_request_list_builder.go
- terms_review_request_list_type_json.go
- terms_review_request_type.go
- terms_review_request_type_json.go
- terms_review_resource_json.go
- terms_review_response_builder.go
- terms_review_response_list_builder.go
- terms_review_response_list_type_json.go
- terms_review_response_type.go
- terms_review_response_type_json.go