WithAdminAPIKey returns a RequestOption that sets the client setting "admin_api_key".
(value string)
| 278 | |
| 279 | // WithAdminAPIKey returns a RequestOption that sets the client setting "admin_api_key". |
| 280 | func WithAdminAPIKey(value string) RequestOption { |
| 281 | return requestconfig.RequestOptionFunc(func(r *requestconfig.RequestConfig) error { |
| 282 | r.SetAdminAPIKey(value) |
| 283 | return nil |
| 284 | }) |
| 285 | } |
| 286 | |
| 287 | // WithOrganization returns a RequestOption that sets the client setting "organization". |
| 288 | func WithOrganization(value string) RequestOption { |
searching dependent graphs…