From 76ca715a37d4b23083c30fb5be91d7dc9bb7c781 Mon Sep 17 00:00:00 2001 From: Matthew Anderson <42154938+matoszz@users.noreply.github.com> Date: Sun, 8 Dec 2024 13:52:01 -0700 Subject: [PATCH 1/2] drafted new generic functions leveraging contextx --- auth/newcontext.go | 110 +++++++++++++++++++++++++++++++++++++++++++++ go.mod | 4 +- go.sum | 8 ++-- 3 files changed, 116 insertions(+), 6 deletions(-) create mode 100644 auth/newcontext.go diff --git a/auth/newcontext.go b/auth/newcontext.go new file mode 100644 index 0000000..f8fbfa6 --- /dev/null +++ b/auth/newcontext.go @@ -0,0 +1,110 @@ +package auth + +import ( + "context" + + echo "github.com/theopenlane/echox" + "github.com/theopenlane/utils/contextx" +) + +// WithAuthenticatedUser sets the authenticated user in the context +func WithAuthenticatedUser(ctx context.Context, user *AuthenticatedUser) context.Context { + return contextx.With(ctx, user) +} + +// AuthenticatedUserFromContext retrieves the authenticated user from the context +func AuthenticatedUserFromContext(ctx context.Context) (*AuthenticatedUser, bool) { + return contextx.From[*AuthenticatedUser](ctx) +} + +// MustAuthenticatedUserFromContext retrieves the authenticated user from the context or panics if not found +func MustAuthenticatedUserFromContext(ctx context.Context) *AuthenticatedUser { + return contextx.MustFrom[*AuthenticatedUser](ctx) +} + +// AuthenticatedUserFromContextOr retrieves the authenticated user from the context or returns the provided default value if not found +func AuthenticatedUserFromContextOr(ctx context.Context, def *AuthenticatedUser) *AuthenticatedUser { + return contextx.FromOr[*AuthenticatedUser](ctx, def) +} + +// AuthenticatedUserFromContextOrFunc retrieves the authenticated user from the context or returns the result of the provided function if not found +func AuthenticatedUserFromContextOrFunc(ctx context.Context, f func() *AuthenticatedUser) *AuthenticatedUser { + return contextx.FromOrFunc[*AuthenticatedUser](ctx, f) +} + +// WithAccessToken sets the access token in the context +func WithAccessToken(ctx context.Context, token string) context.Context { + return contextx.With(ctx, token) +} + +// AccessTokenFromContext retrieves the access token from the context +func AccessTokenFromContext(ctx context.Context) (string, bool) { + return contextx.From[string](ctx) +} + +// MustAccessTokenFromContext retrieves the access token from the context or panics if not found +func MustAccessTokenFromContext(ctx context.Context) string { + return contextx.MustFrom[string](ctx) +} + +// AccessTokenFromContextOr retrieves the access token from the context or returns the provided default value if not found +func AccessTokenFromContextOr(ctx context.Context, def string) string { + return contextx.FromOr[string](ctx, def) +} + +// AccessTokenFromContextOrFunc retrieves the access token from the context or returns the result of the provided function if not found +func AccessTokenFromContextOrFunc(ctx context.Context, f func() string) string { + return contextx.FromOrFunc[string](ctx, f) +} + +// WithRequestID sets the request ID in the context +func WithRequestID(ctx context.Context, requestID string) context.Context { + return contextx.With(ctx, requestID) +} + +// RequestIDFromContext retrieves the request ID from the context +func RequestIDFromContext(ctx context.Context) (string, bool) { + return contextx.From[string](ctx) +} + +// MustRequestIDFromContext retrieves the request ID from the context or panics if not found +func MustRequestIDFromContext(ctx context.Context) string { + return contextx.MustFrom[string](ctx) +} + +// RequestIDFromContextOr retrieves the request ID from the context or returns the provided default value if not found +func RequestIDFromContextOr(ctx context.Context, def string) string { + return contextx.FromOr[string](ctx, def) +} + +// RequestIDFromContextOrFunc retrieves the request ID from the context or returns the result of the provided function if not found +func RequestIDFromContextOrFunc(ctx context.Context, f func() string) string { + return contextx.FromOrFunc[string](ctx, f) +} + +// NewSetAuthenticatedUserContext sets the authenticated user context in the echo context +func NewSetAuthenticatedUserContext(c echo.Context, user *AuthenticatedUser) { + ctx := c.Request().Context() + ctx = WithAuthenticatedUser(ctx, user) + c.SetRequest(c.Request().WithContext(ctx)) +} + +// NewGetAuthenticatedUserContext retrieves the authenticated user from the echo context +func NewGetAuthenticatedUserContext(c echo.Context) (*AuthenticatedUser, bool) { + return AuthenticatedUserFromContext(c.Request().Context()) +} + +// MustGetAuthenticatedUserContext retrieves the authenticated user from the echo context or panics if not found +func MustGetAuthenticatedUserContext(c echo.Context) *AuthenticatedUser { + return MustAuthenticatedUserFromContext(c.Request().Context()) +} + +// GetAuthenticatedUserContextOr retrieves the authenticated user from the echo context or returns the provided default value if not found +func GetAuthenticatedUserContextOr(c echo.Context, def *AuthenticatedUser) *AuthenticatedUser { + return AuthenticatedUserFromContextOr(c.Request().Context(), def) +} + +// GetAuthenticatedUserContextOrFunc retrieves the authenticated user from the echo context or returns the result of the provided function if not found +func GetAuthenticatedUserContextOrFunc(c echo.Context, f func() *AuthenticatedUser) *AuthenticatedUser { + return AuthenticatedUserFromContextOrFunc(c.Request().Context(), f) +} diff --git a/go.mod b/go.mod index 6092b27..cbf1664 100644 --- a/go.mod +++ b/go.mod @@ -29,7 +29,7 @@ require ( github.com/testcontainers/testcontainers-go v0.34.0 github.com/testcontainers/testcontainers-go/modules/openfga v0.34.0 github.com/theopenlane/echox v0.2.0 - github.com/theopenlane/utils v0.4.0 + github.com/theopenlane/utils v0.4.1 github.com/vmihailenco/msgpack/v5 v5.4.1 golang.org/x/oauth2 v0.24.0 golang.org/x/tools v0.28.0 @@ -195,7 +195,7 @@ require ( modernc.org/libc v1.55.3 // indirect modernc.org/mathutil v1.6.0 // indirect modernc.org/memory v1.8.0 // indirect - modernc.org/sqlite v1.34.1 // indirect + modernc.org/sqlite v1.34.2 // indirect modernc.org/strutil v1.2.0 // indirect modernc.org/token v1.1.0 // indirect ) diff --git a/go.sum b/go.sum index b222b7d..14b8ba1 100644 --- a/go.sum +++ b/go.sum @@ -384,8 +384,8 @@ github.com/testcontainers/testcontainers-go/modules/openfga v0.34.0 h1:Y5ZFzu6eA github.com/testcontainers/testcontainers-go/modules/openfga v0.34.0/go.mod h1:0IWpmPSJOXpAUCHLgbhiE1fTOR69XJ/rnbdiQfkwLfc= github.com/theopenlane/echox v0.2.0 h1:s9DJJrsLOSPsXVfgmQxgXmSVtxzztBnSmcVX4ax7tIM= github.com/theopenlane/echox v0.2.0/go.mod h1:nfxwQpwvqYYI/pFHJKDs3/HLvjYKEGCih4XDgLSma64= -github.com/theopenlane/utils v0.4.0 h1:k0DNZFjp1hpwfqObwXb2XgaO0jJ6ULJuJH06c9Ekquk= -github.com/theopenlane/utils v0.4.0/go.mod h1:sAvism3Vv8pb0kRj2lYQBYUaAKKRJSwULYoQzzLTTJw= +github.com/theopenlane/utils v0.4.1 h1:yZA/8PvuUq34TpebBDjTHkCoWFvbuFQZ5O/h1mwcGbw= +github.com/theopenlane/utils v0.4.1/go.mod h1:uBpHzTYk/GMjixe+Stn8oRjBv6BWuVnoW6tgJ/+PJew= github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU= github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI= github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk= @@ -587,8 +587,8 @@ modernc.org/opt v0.1.3 h1:3XOZf2yznlhC+ibLltsDGzABUGVx8J6pnFMS3E4dcq4= modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= modernc.org/sortutil v1.2.0 h1:jQiD3PfS2REGJNzNCMMaLSp/wdMNieTbKX920Cqdgqc= modernc.org/sortutil v1.2.0/go.mod h1:TKU2s7kJMf1AE84OoiGppNHJwvB753OYfNl2WRb++Ss= -modernc.org/sqlite v1.34.1 h1:u3Yi6M0N8t9yKRDwhXcyp1eS5/ErhPTBggxWFuR6Hfk= -modernc.org/sqlite v1.34.1/go.mod h1:pXV2xHxhzXZsgT/RtTFAPY6JJDEvOTcTdwADQCCWD4k= +modernc.org/sqlite v1.34.2 h1:J9n76TPsfYYkFkZ9Uy1QphILYifiVEwwOT7yP5b++2Y= +modernc.org/sqlite v1.34.2/go.mod h1:dnR723UrTtjKpoHCAMN0Q/gZ9MT4r+iRvIBb9umWFkU= modernc.org/strutil v1.2.0 h1:agBi9dp1I+eOnxXeiZawM8F4LawKv4NzGWSaLfyeNZA= modernc.org/strutil v1.2.0/go.mod h1:/mdcBmfOibveCTBxUl5B5l6W+TTH1FXPLHZE6bTosX0= modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y= From 613f6c2086ac43a233514f7fc5e49965e6be92d9 Mon Sep 17 00:00:00 2001 From: Matthew Anderson <42154938+matoszz@users.noreply.github.com> Date: Sun, 8 Dec 2024 13:59:23 -0700 Subject: [PATCH 2/2] task generate output --- fgax/mockery/.mockery.yaml | 2 ++ .../mock_SdkClientBatchCheckRequestInterface.go | 12 ++++++------ fgax/mockery/mock_SdkClientCheckRequestInterface.go | 12 ++++++------ .../mock_SdkClientCreateStoreRequestInterface.go | 8 ++++---- .../mock_SdkClientDeleteStoreRequestInterface.go | 8 ++++---- .../mock_SdkClientDeleteTuplesRequestInterface.go | 8 ++++---- fgax/mockery/mock_SdkClientExpandRequestInterface.go | 12 ++++++------ .../mock_SdkClientGetStoreRequestInterface.go | 8 ++++---- .../mock_SdkClientListObjectsRequestInterface.go | 12 ++++++------ .../mock_SdkClientListRelationsRequestInterface.go | 12 ++++++------ .../mock_SdkClientListStoresRequestInterface.go | 6 +++--- .../mock_SdkClientListUsersRequestInterface.go | 12 ++++++------ .../mock_SdkClientReadAssertionsRequestInterface.go | 10 +++++----- ...dkClientReadAuthorizationModelRequestInterface.go | 12 ++++++------ ...kClientReadAuthorizationModelsRequestInterface.go | 8 ++++---- .../mock_SdkClientReadChangesRequestInterface.go | 10 +++++----- ...ntReadLatestAuthorizationModelRequestInterface.go | 8 ++++---- fgax/mockery/mock_SdkClientReadRequestInterface.go | 10 +++++----- .../mock_SdkClientWriteAssertionsRequestInterface.go | 12 ++++++------ ...kClientWriteAuthorizationModelRequestInterface.go | 10 +++++----- fgax/mockery/mock_SdkClientWriteRequestInterface.go | 12 ++++++------ .../mock_SdkClientWriteTuplesRequestInterface.go | 8 ++++---- 22 files changed, 107 insertions(+), 105 deletions(-) diff --git a/fgax/mockery/.mockery.yaml b/fgax/mockery/.mockery.yaml index e3df641..65c1d73 100644 --- a/fgax/mockery/.mockery.yaml +++ b/fgax/mockery/.mockery.yaml @@ -4,3 +4,5 @@ all: true disable-version-string: true packages: github.com/openfga/go-sdk/client: +resolve-type-alias: false +issue-845-fix: true diff --git a/fgax/mockery/mock_SdkClientBatchCheckRequestInterface.go b/fgax/mockery/mock_SdkClientBatchCheckRequestInterface.go index e0ee44f..0ccdc94 100644 --- a/fgax/mockery/mock_SdkClientBatchCheckRequestInterface.go +++ b/fgax/mockery/mock_SdkClientBatchCheckRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientBatchCheckRequestInterface_Body_Call) RunAndReturn(run fu return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientBatchCheckRequestInterface) Execute() (*client.ClientBatchCheckResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientBatchCheckRequestInterface_Execute_Call) RunAndReturn(run return _c } -// GetAuthorizationModelIdOverride provides a mock function with given fields: +// GetAuthorizationModelIdOverride provides a mock function with no fields func (_m *MockSdkClientBatchCheckRequestInterface) GetAuthorizationModelIdOverride() *string { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientBatchCheckRequestInterface_GetAuthorizationModelIdOverrid return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientBatchCheckRequestInterface) GetBody() *client.ClientBatchCheckBody { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientBatchCheckRequestInterface_GetBody_Call) RunAndReturn(run return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientBatchCheckRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -269,7 +269,7 @@ func (_c *MockSdkClientBatchCheckRequestInterface_GetContext_Call) RunAndReturn( return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientBatchCheckRequestInterface) GetOptions() *client.ClientBatchCheckOptions { ret := _m.Called() @@ -316,7 +316,7 @@ func (_c *MockSdkClientBatchCheckRequestInterface_GetOptions_Call) RunAndReturn( return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientBatchCheckRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientCheckRequestInterface.go b/fgax/mockery/mock_SdkClientCheckRequestInterface.go index cd96780..04d878d 100644 --- a/fgax/mockery/mock_SdkClientCheckRequestInterface.go +++ b/fgax/mockery/mock_SdkClientCheckRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientCheckRequestInterface_Body_Call) RunAndReturn(run func(cl return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientCheckRequestInterface) Execute() (*client.ClientCheckResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientCheckRequestInterface_Execute_Call) RunAndReturn(run func return _c } -// GetAuthorizationModelIdOverride provides a mock function with given fields: +// GetAuthorizationModelIdOverride provides a mock function with no fields func (_m *MockSdkClientCheckRequestInterface) GetAuthorizationModelIdOverride() *string { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientCheckRequestInterface_GetAuthorizationModelIdOverride_Cal return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientCheckRequestInterface) GetBody() *client.ClientCheckRequest { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientCheckRequestInterface_GetBody_Call) RunAndReturn(run func return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientCheckRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -269,7 +269,7 @@ func (_c *MockSdkClientCheckRequestInterface_GetContext_Call) RunAndReturn(run f return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientCheckRequestInterface) GetOptions() *client.ClientCheckOptions { ret := _m.Called() @@ -316,7 +316,7 @@ func (_c *MockSdkClientCheckRequestInterface_GetOptions_Call) RunAndReturn(run f return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientCheckRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientCreateStoreRequestInterface.go b/fgax/mockery/mock_SdkClientCreateStoreRequestInterface.go index 21d42f8..538454f 100644 --- a/fgax/mockery/mock_SdkClientCreateStoreRequestInterface.go +++ b/fgax/mockery/mock_SdkClientCreateStoreRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientCreateStoreRequestInterface_Body_Call) RunAndReturn(run f return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientCreateStoreRequestInterface) Execute() (*client.ClientCreateStoreResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientCreateStoreRequestInterface_Execute_Call) RunAndReturn(ru return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientCreateStoreRequestInterface) GetBody() *client.ClientCreateStoreRequest { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientCreateStoreRequestInterface_GetBody_Call) RunAndReturn(ru return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientCreateStoreRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientCreateStoreRequestInterface_GetContext_Call) RunAndReturn return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientCreateStoreRequestInterface) GetOptions() *client.ClientCreateStoreOptions { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientDeleteStoreRequestInterface.go b/fgax/mockery/mock_SdkClientDeleteStoreRequestInterface.go index 1cfdd1f..f04eb5b 100644 --- a/fgax/mockery/mock_SdkClientDeleteStoreRequestInterface.go +++ b/fgax/mockery/mock_SdkClientDeleteStoreRequestInterface.go @@ -23,7 +23,7 @@ func (_m *MockSdkClientDeleteStoreRequestInterface) EXPECT() *MockSdkClientDelet return &MockSdkClientDeleteStoreRequestInterface_Expecter{mock: &_m.Mock} } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientDeleteStoreRequestInterface) Execute() (*client.ClientDeleteStoreResponse, error) { ret := _m.Called() @@ -80,7 +80,7 @@ func (_c *MockSdkClientDeleteStoreRequestInterface_Execute_Call) RunAndReturn(ru return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientDeleteStoreRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -127,7 +127,7 @@ func (_c *MockSdkClientDeleteStoreRequestInterface_GetContext_Call) RunAndReturn return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientDeleteStoreRequestInterface) GetOptions() *client.ClientDeleteStoreOptions { ret := _m.Called() @@ -174,7 +174,7 @@ func (_c *MockSdkClientDeleteStoreRequestInterface_GetOptions_Call) RunAndReturn return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientDeleteStoreRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientDeleteTuplesRequestInterface.go b/fgax/mockery/mock_SdkClientDeleteTuplesRequestInterface.go index 724e217..0c2fb61 100644 --- a/fgax/mockery/mock_SdkClientDeleteTuplesRequestInterface.go +++ b/fgax/mockery/mock_SdkClientDeleteTuplesRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientDeleteTuplesRequestInterface_Body_Call) RunAndReturn(run return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientDeleteTuplesRequestInterface) Execute() (*client.ClientWriteResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientDeleteTuplesRequestInterface_Execute_Call) RunAndReturn(r return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientDeleteTuplesRequestInterface) GetBody() *client.ClientDeleteTuplesBody { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientDeleteTuplesRequestInterface_GetBody_Call) RunAndReturn(r return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientDeleteTuplesRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientDeleteTuplesRequestInterface_GetContext_Call) RunAndRetur return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientDeleteTuplesRequestInterface) GetOptions() *client.ClientWriteOptions { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientExpandRequestInterface.go b/fgax/mockery/mock_SdkClientExpandRequestInterface.go index 60cb398..41a2e19 100644 --- a/fgax/mockery/mock_SdkClientExpandRequestInterface.go +++ b/fgax/mockery/mock_SdkClientExpandRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientExpandRequestInterface_Body_Call) RunAndReturn(run func(c return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientExpandRequestInterface) Execute() (*client.ClientExpandResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientExpandRequestInterface_Execute_Call) RunAndReturn(run fun return _c } -// GetAuthorizationModelIdOverride provides a mock function with given fields: +// GetAuthorizationModelIdOverride provides a mock function with no fields func (_m *MockSdkClientExpandRequestInterface) GetAuthorizationModelIdOverride() *string { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientExpandRequestInterface_GetAuthorizationModelIdOverride_Ca return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientExpandRequestInterface) GetBody() *client.ClientExpandRequest { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientExpandRequestInterface_GetBody_Call) RunAndReturn(run fun return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientExpandRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -269,7 +269,7 @@ func (_c *MockSdkClientExpandRequestInterface_GetContext_Call) RunAndReturn(run return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientExpandRequestInterface) GetOptions() *client.ClientExpandOptions { ret := _m.Called() @@ -316,7 +316,7 @@ func (_c *MockSdkClientExpandRequestInterface_GetOptions_Call) RunAndReturn(run return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientExpandRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientGetStoreRequestInterface.go b/fgax/mockery/mock_SdkClientGetStoreRequestInterface.go index 8a2da16..1aa9c61 100644 --- a/fgax/mockery/mock_SdkClientGetStoreRequestInterface.go +++ b/fgax/mockery/mock_SdkClientGetStoreRequestInterface.go @@ -23,7 +23,7 @@ func (_m *MockSdkClientGetStoreRequestInterface) EXPECT() *MockSdkClientGetStore return &MockSdkClientGetStoreRequestInterface_Expecter{mock: &_m.Mock} } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientGetStoreRequestInterface) Execute() (*client.ClientGetStoreResponse, error) { ret := _m.Called() @@ -80,7 +80,7 @@ func (_c *MockSdkClientGetStoreRequestInterface_Execute_Call) RunAndReturn(run f return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientGetStoreRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -127,7 +127,7 @@ func (_c *MockSdkClientGetStoreRequestInterface_GetContext_Call) RunAndReturn(ru return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientGetStoreRequestInterface) GetOptions() *client.ClientGetStoreOptions { ret := _m.Called() @@ -174,7 +174,7 @@ func (_c *MockSdkClientGetStoreRequestInterface_GetOptions_Call) RunAndReturn(ru return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientGetStoreRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientListObjectsRequestInterface.go b/fgax/mockery/mock_SdkClientListObjectsRequestInterface.go index 1a61640..e7da05e 100644 --- a/fgax/mockery/mock_SdkClientListObjectsRequestInterface.go +++ b/fgax/mockery/mock_SdkClientListObjectsRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientListObjectsRequestInterface_Body_Call) RunAndReturn(run f return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientListObjectsRequestInterface) Execute() (*client.ClientListObjectsResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientListObjectsRequestInterface_Execute_Call) RunAndReturn(ru return _c } -// GetAuthorizationModelIdOverride provides a mock function with given fields: +// GetAuthorizationModelIdOverride provides a mock function with no fields func (_m *MockSdkClientListObjectsRequestInterface) GetAuthorizationModelIdOverride() *string { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientListObjectsRequestInterface_GetAuthorizationModelIdOverri return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientListObjectsRequestInterface) GetBody() *client.ClientListObjectsRequest { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientListObjectsRequestInterface_GetBody_Call) RunAndReturn(ru return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientListObjectsRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -269,7 +269,7 @@ func (_c *MockSdkClientListObjectsRequestInterface_GetContext_Call) RunAndReturn return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientListObjectsRequestInterface) GetOptions() *client.ClientListObjectsOptions { ret := _m.Called() @@ -316,7 +316,7 @@ func (_c *MockSdkClientListObjectsRequestInterface_GetOptions_Call) RunAndReturn return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientListObjectsRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientListRelationsRequestInterface.go b/fgax/mockery/mock_SdkClientListRelationsRequestInterface.go index f8b6abc..d2f3a1d 100644 --- a/fgax/mockery/mock_SdkClientListRelationsRequestInterface.go +++ b/fgax/mockery/mock_SdkClientListRelationsRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientListRelationsRequestInterface_Body_Call) RunAndReturn(run return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientListRelationsRequestInterface) Execute() (*client.ClientListRelationsResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientListRelationsRequestInterface_Execute_Call) RunAndReturn( return _c } -// GetAuthorizationModelIdOverride provides a mock function with given fields: +// GetAuthorizationModelIdOverride provides a mock function with no fields func (_m *MockSdkClientListRelationsRequestInterface) GetAuthorizationModelIdOverride() *string { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientListRelationsRequestInterface_GetAuthorizationModelIdOver return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientListRelationsRequestInterface) GetBody() *client.ClientListRelationsRequest { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientListRelationsRequestInterface_GetBody_Call) RunAndReturn( return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientListRelationsRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -269,7 +269,7 @@ func (_c *MockSdkClientListRelationsRequestInterface_GetContext_Call) RunAndRetu return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientListRelationsRequestInterface) GetOptions() *client.ClientListRelationsOptions { ret := _m.Called() @@ -316,7 +316,7 @@ func (_c *MockSdkClientListRelationsRequestInterface_GetOptions_Call) RunAndRetu return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientListRelationsRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientListStoresRequestInterface.go b/fgax/mockery/mock_SdkClientListStoresRequestInterface.go index bcf90a1..3cd3e51 100644 --- a/fgax/mockery/mock_SdkClientListStoresRequestInterface.go +++ b/fgax/mockery/mock_SdkClientListStoresRequestInterface.go @@ -23,7 +23,7 @@ func (_m *MockSdkClientListStoresRequestInterface) EXPECT() *MockSdkClientListSt return &MockSdkClientListStoresRequestInterface_Expecter{mock: &_m.Mock} } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientListStoresRequestInterface) Execute() (*client.ClientListStoresResponse, error) { ret := _m.Called() @@ -80,7 +80,7 @@ func (_c *MockSdkClientListStoresRequestInterface_Execute_Call) RunAndReturn(run return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientListStoresRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -127,7 +127,7 @@ func (_c *MockSdkClientListStoresRequestInterface_GetContext_Call) RunAndReturn( return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientListStoresRequestInterface) GetOptions() *client.ClientListStoresOptions { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientListUsersRequestInterface.go b/fgax/mockery/mock_SdkClientListUsersRequestInterface.go index af6eba1..e7277ab 100644 --- a/fgax/mockery/mock_SdkClientListUsersRequestInterface.go +++ b/fgax/mockery/mock_SdkClientListUsersRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientListUsersRequestInterface_Body_Call) RunAndReturn(run fun return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientListUsersRequestInterface) Execute() (*client.ClientListUsersResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientListUsersRequestInterface_Execute_Call) RunAndReturn(run return _c } -// GetAuthorizationModelIdOverride provides a mock function with given fields: +// GetAuthorizationModelIdOverride provides a mock function with no fields func (_m *MockSdkClientListUsersRequestInterface) GetAuthorizationModelIdOverride() *string { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientListUsersRequestInterface_GetAuthorizationModelIdOverride return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientListUsersRequestInterface) GetBody() *client.ClientListUsersRequest { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientListUsersRequestInterface_GetBody_Call) RunAndReturn(run return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientListUsersRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -269,7 +269,7 @@ func (_c *MockSdkClientListUsersRequestInterface_GetContext_Call) RunAndReturn(r return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientListUsersRequestInterface) GetOptions() *client.ClientListUsersOptions { ret := _m.Called() @@ -316,7 +316,7 @@ func (_c *MockSdkClientListUsersRequestInterface_GetOptions_Call) RunAndReturn(r return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientListUsersRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientReadAssertionsRequestInterface.go b/fgax/mockery/mock_SdkClientReadAssertionsRequestInterface.go index 3667d19..15d9b44 100644 --- a/fgax/mockery/mock_SdkClientReadAssertionsRequestInterface.go +++ b/fgax/mockery/mock_SdkClientReadAssertionsRequestInterface.go @@ -23,7 +23,7 @@ func (_m *MockSdkClientReadAssertionsRequestInterface) EXPECT() *MockSdkClientRe return &MockSdkClientReadAssertionsRequestInterface_Expecter{mock: &_m.Mock} } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientReadAssertionsRequestInterface) Execute() (*client.ClientReadAssertionsResponse, error) { ret := _m.Called() @@ -80,7 +80,7 @@ func (_c *MockSdkClientReadAssertionsRequestInterface_Execute_Call) RunAndReturn return _c } -// GetAuthorizationModelIdOverride provides a mock function with given fields: +// GetAuthorizationModelIdOverride provides a mock function with no fields func (_m *MockSdkClientReadAssertionsRequestInterface) GetAuthorizationModelIdOverride() *string { ret := _m.Called() @@ -127,7 +127,7 @@ func (_c *MockSdkClientReadAssertionsRequestInterface_GetAuthorizationModelIdOve return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientReadAssertionsRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -174,7 +174,7 @@ func (_c *MockSdkClientReadAssertionsRequestInterface_GetContext_Call) RunAndRet return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientReadAssertionsRequestInterface) GetOptions() *client.ClientReadAssertionsOptions { ret := _m.Called() @@ -221,7 +221,7 @@ func (_c *MockSdkClientReadAssertionsRequestInterface_GetOptions_Call) RunAndRet return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientReadAssertionsRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientReadAuthorizationModelRequestInterface.go b/fgax/mockery/mock_SdkClientReadAuthorizationModelRequestInterface.go index 39b474b..05b118c 100644 --- a/fgax/mockery/mock_SdkClientReadAuthorizationModelRequestInterface.go +++ b/fgax/mockery/mock_SdkClientReadAuthorizationModelRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientReadAuthorizationModelRequestInterface_Body_Call) RunAndR return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientReadAuthorizationModelRequestInterface) Execute() (*client.ClientReadAuthorizationModelResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientReadAuthorizationModelRequestInterface_Execute_Call) RunA return _c } -// GetAuthorizationModelIdOverride provides a mock function with given fields: +// GetAuthorizationModelIdOverride provides a mock function with no fields func (_m *MockSdkClientReadAuthorizationModelRequestInterface) GetAuthorizationModelIdOverride() *string { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientReadAuthorizationModelRequestInterface_GetAuthorizationMo return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientReadAuthorizationModelRequestInterface) GetBody() *client.ClientReadAuthorizationModelRequest { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientReadAuthorizationModelRequestInterface_GetBody_Call) RunA return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientReadAuthorizationModelRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -269,7 +269,7 @@ func (_c *MockSdkClientReadAuthorizationModelRequestInterface_GetContext_Call) R return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientReadAuthorizationModelRequestInterface) GetOptions() *client.ClientReadAuthorizationModelOptions { ret := _m.Called() @@ -316,7 +316,7 @@ func (_c *MockSdkClientReadAuthorizationModelRequestInterface_GetOptions_Call) R return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientReadAuthorizationModelRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientReadAuthorizationModelsRequestInterface.go b/fgax/mockery/mock_SdkClientReadAuthorizationModelsRequestInterface.go index 7cdf871..50d624e 100644 --- a/fgax/mockery/mock_SdkClientReadAuthorizationModelsRequestInterface.go +++ b/fgax/mockery/mock_SdkClientReadAuthorizationModelsRequestInterface.go @@ -23,7 +23,7 @@ func (_m *MockSdkClientReadAuthorizationModelsRequestInterface) EXPECT() *MockSd return &MockSdkClientReadAuthorizationModelsRequestInterface_Expecter{mock: &_m.Mock} } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientReadAuthorizationModelsRequestInterface) Execute() (*client.ClientReadAuthorizationModelsResponse, error) { ret := _m.Called() @@ -80,7 +80,7 @@ func (_c *MockSdkClientReadAuthorizationModelsRequestInterface_Execute_Call) Run return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientReadAuthorizationModelsRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -127,7 +127,7 @@ func (_c *MockSdkClientReadAuthorizationModelsRequestInterface_GetContext_Call) return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientReadAuthorizationModelsRequestInterface) GetOptions() *client.ClientReadAuthorizationModelsOptions { ret := _m.Called() @@ -174,7 +174,7 @@ func (_c *MockSdkClientReadAuthorizationModelsRequestInterface_GetOptions_Call) return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientReadAuthorizationModelsRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientReadChangesRequestInterface.go b/fgax/mockery/mock_SdkClientReadChangesRequestInterface.go index 6ecbf6b..a7d7dd2 100644 --- a/fgax/mockery/mock_SdkClientReadChangesRequestInterface.go +++ b/fgax/mockery/mock_SdkClientReadChangesRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientReadChangesRequestInterface_Body_Call) RunAndReturn(run f return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientReadChangesRequestInterface) Execute() (*client.ClientReadChangesResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientReadChangesRequestInterface_Execute_Call) RunAndReturn(ru return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientReadChangesRequestInterface) GetBody() *client.ClientReadChangesRequest { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientReadChangesRequestInterface_GetBody_Call) RunAndReturn(ru return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientReadChangesRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientReadChangesRequestInterface_GetContext_Call) RunAndReturn return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientReadChangesRequestInterface) GetOptions() *client.ClientReadChangesOptions { ret := _m.Called() @@ -269,7 +269,7 @@ func (_c *MockSdkClientReadChangesRequestInterface_GetOptions_Call) RunAndReturn return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientReadChangesRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientReadLatestAuthorizationModelRequestInterface.go b/fgax/mockery/mock_SdkClientReadLatestAuthorizationModelRequestInterface.go index 19d8f78..8a8b213 100644 --- a/fgax/mockery/mock_SdkClientReadLatestAuthorizationModelRequestInterface.go +++ b/fgax/mockery/mock_SdkClientReadLatestAuthorizationModelRequestInterface.go @@ -23,7 +23,7 @@ func (_m *MockSdkClientReadLatestAuthorizationModelRequestInterface) EXPECT() *M return &MockSdkClientReadLatestAuthorizationModelRequestInterface_Expecter{mock: &_m.Mock} } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientReadLatestAuthorizationModelRequestInterface) Execute() (*client.ClientReadAuthorizationModelResponse, error) { ret := _m.Called() @@ -80,7 +80,7 @@ func (_c *MockSdkClientReadLatestAuthorizationModelRequestInterface_Execute_Call return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientReadLatestAuthorizationModelRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -127,7 +127,7 @@ func (_c *MockSdkClientReadLatestAuthorizationModelRequestInterface_GetContext_C return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientReadLatestAuthorizationModelRequestInterface) GetOptions() *client.ClientReadLatestAuthorizationModelOptions { ret := _m.Called() @@ -174,7 +174,7 @@ func (_c *MockSdkClientReadLatestAuthorizationModelRequestInterface_GetOptions_C return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientReadLatestAuthorizationModelRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientReadRequestInterface.go b/fgax/mockery/mock_SdkClientReadRequestInterface.go index 956d338..1df93d7 100644 --- a/fgax/mockery/mock_SdkClientReadRequestInterface.go +++ b/fgax/mockery/mock_SdkClientReadRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientReadRequestInterface_Body_Call) RunAndReturn(run func(cli return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientReadRequestInterface) Execute() (*client.ClientReadResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientReadRequestInterface_Execute_Call) RunAndReturn(run func( return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientReadRequestInterface) GetBody() *client.ClientReadRequest { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientReadRequestInterface_GetBody_Call) RunAndReturn(run func( return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientReadRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientReadRequestInterface_GetContext_Call) RunAndReturn(run fu return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientReadRequestInterface) GetOptions() *client.ClientReadOptions { ret := _m.Called() @@ -269,7 +269,7 @@ func (_c *MockSdkClientReadRequestInterface_GetOptions_Call) RunAndReturn(run fu return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientReadRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientWriteAssertionsRequestInterface.go b/fgax/mockery/mock_SdkClientWriteAssertionsRequestInterface.go index bca09b5..75a3390 100644 --- a/fgax/mockery/mock_SdkClientWriteAssertionsRequestInterface.go +++ b/fgax/mockery/mock_SdkClientWriteAssertionsRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientWriteAssertionsRequestInterface_Body_Call) RunAndReturn(r return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientWriteAssertionsRequestInterface) Execute() (*client.ClientWriteAssertionsResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientWriteAssertionsRequestInterface_Execute_Call) RunAndRetur return _c } -// GetAuthorizationModelIdOverride provides a mock function with given fields: +// GetAuthorizationModelIdOverride provides a mock function with no fields func (_m *MockSdkClientWriteAssertionsRequestInterface) GetAuthorizationModelIdOverride() *string { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientWriteAssertionsRequestInterface_GetAuthorizationModelIdOv return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientWriteAssertionsRequestInterface) GetBody() *client.ClientWriteAssertionsRequest { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientWriteAssertionsRequestInterface_GetBody_Call) RunAndRetur return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientWriteAssertionsRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -269,7 +269,7 @@ func (_c *MockSdkClientWriteAssertionsRequestInterface_GetContext_Call) RunAndRe return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientWriteAssertionsRequestInterface) GetOptions() *client.ClientWriteAssertionsOptions { ret := _m.Called() @@ -316,7 +316,7 @@ func (_c *MockSdkClientWriteAssertionsRequestInterface_GetOptions_Call) RunAndRe return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientWriteAssertionsRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientWriteAuthorizationModelRequestInterface.go b/fgax/mockery/mock_SdkClientWriteAuthorizationModelRequestInterface.go index a760288..4c819a7 100644 --- a/fgax/mockery/mock_SdkClientWriteAuthorizationModelRequestInterface.go +++ b/fgax/mockery/mock_SdkClientWriteAuthorizationModelRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientWriteAuthorizationModelRequestInterface_Body_Call) RunAnd return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientWriteAuthorizationModelRequestInterface) Execute() (*client.ClientWriteAuthorizationModelResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientWriteAuthorizationModelRequestInterface_Execute_Call) Run return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientWriteAuthorizationModelRequestInterface) GetBody() *client.ClientWriteAuthorizationModelRequest { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientWriteAuthorizationModelRequestInterface_GetBody_Call) Run return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientWriteAuthorizationModelRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientWriteAuthorizationModelRequestInterface_GetContext_Call) return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientWriteAuthorizationModelRequestInterface) GetOptions() *client.ClientWriteAuthorizationModelOptions { ret := _m.Called() @@ -269,7 +269,7 @@ func (_c *MockSdkClientWriteAuthorizationModelRequestInterface_GetOptions_Call) return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientWriteAuthorizationModelRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientWriteRequestInterface.go b/fgax/mockery/mock_SdkClientWriteRequestInterface.go index b1ad2c9..d44f58a 100644 --- a/fgax/mockery/mock_SdkClientWriteRequestInterface.go +++ b/fgax/mockery/mock_SdkClientWriteRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientWriteRequestInterface_Body_Call) RunAndReturn(run func(cl return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientWriteRequestInterface) Execute() (*client.ClientWriteResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientWriteRequestInterface_Execute_Call) RunAndReturn(run func return _c } -// GetAuthorizationModelIdOverride provides a mock function with given fields: +// GetAuthorizationModelIdOverride provides a mock function with no fields func (_m *MockSdkClientWriteRequestInterface) GetAuthorizationModelIdOverride() *string { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientWriteRequestInterface_GetAuthorizationModelIdOverride_Cal return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientWriteRequestInterface) GetBody() *client.ClientWriteRequest { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientWriteRequestInterface_GetBody_Call) RunAndReturn(run func return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientWriteRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -269,7 +269,7 @@ func (_c *MockSdkClientWriteRequestInterface_GetContext_Call) RunAndReturn(run f return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientWriteRequestInterface) GetOptions() *client.ClientWriteOptions { ret := _m.Called() @@ -316,7 +316,7 @@ func (_c *MockSdkClientWriteRequestInterface_GetOptions_Call) RunAndReturn(run f return _c } -// GetStoreIdOverride provides a mock function with given fields: +// GetStoreIdOverride provides a mock function with no fields func (_m *MockSdkClientWriteRequestInterface) GetStoreIdOverride() *string { ret := _m.Called() diff --git a/fgax/mockery/mock_SdkClientWriteTuplesRequestInterface.go b/fgax/mockery/mock_SdkClientWriteTuplesRequestInterface.go index 8020f8d..c8912a6 100644 --- a/fgax/mockery/mock_SdkClientWriteTuplesRequestInterface.go +++ b/fgax/mockery/mock_SdkClientWriteTuplesRequestInterface.go @@ -71,7 +71,7 @@ func (_c *MockSdkClientWriteTuplesRequestInterface_Body_Call) RunAndReturn(run f return _c } -// Execute provides a mock function with given fields: +// Execute provides a mock function with no fields func (_m *MockSdkClientWriteTuplesRequestInterface) Execute() (*client.ClientWriteResponse, error) { ret := _m.Called() @@ -128,7 +128,7 @@ func (_c *MockSdkClientWriteTuplesRequestInterface_Execute_Call) RunAndReturn(ru return _c } -// GetBody provides a mock function with given fields: +// GetBody provides a mock function with no fields func (_m *MockSdkClientWriteTuplesRequestInterface) GetBody() *client.ClientWriteTuplesBody { ret := _m.Called() @@ -175,7 +175,7 @@ func (_c *MockSdkClientWriteTuplesRequestInterface_GetBody_Call) RunAndReturn(ru return _c } -// GetContext provides a mock function with given fields: +// GetContext provides a mock function with no fields func (_m *MockSdkClientWriteTuplesRequestInterface) GetContext() context.Context { ret := _m.Called() @@ -222,7 +222,7 @@ func (_c *MockSdkClientWriteTuplesRequestInterface_GetContext_Call) RunAndReturn return _c } -// GetOptions provides a mock function with given fields: +// GetOptions provides a mock function with no fields func (_m *MockSdkClientWriteTuplesRequestInterface) GetOptions() *client.ClientWriteOptions { ret := _m.Called()