Documentation
¶
Overview ¶
Package identity is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
func NewService ¶
type AftermarketDeviceBy ¶
type AftermarketDeviceBy struct {
TokenId *int `json:"tokenId"`
Address *common.Address `json:"address"`
Serial *string `json:"serial"`
}
The AftermarketDeviceBy input is used to specify a unique aftermarket device to query.
func (*AftermarketDeviceBy) GetAddress ¶
func (v *AftermarketDeviceBy) GetAddress() *common.Address
GetAddress returns AftermarketDeviceBy.Address, and is useful for accessing the field via an interface.
func (*AftermarketDeviceBy) GetSerial ¶
func (v *AftermarketDeviceBy) GetSerial() *string
GetSerial returns AftermarketDeviceBy.Serial, and is useful for accessing the field via an interface.
func (*AftermarketDeviceBy) GetTokenId ¶
func (v *AftermarketDeviceBy) GetTokenId() *int
GetTokenId returns AftermarketDeviceBy.TokenId, and is useful for accessing the field via an interface.
type DeviceInfos ¶
type MockIdentityService ¶
type MockIdentityService struct {
// contains filtered or unexported fields
}
MockIdentityService is a mock of IdentityService interface.
func NewMockIdentityService ¶
func NewMockIdentityService(ctrl *gomock.Controller) *MockIdentityService
NewMockIdentityService creates a new mock instance.
func (*MockIdentityService) AftermarketDevice ¶
func (m *MockIdentityService) AftermarketDevice(ctx context.Context, address *common.Address, tokenID *int, serial *string) (*DeviceInfos, error)
AftermarketDevice mocks base method.
func (*MockIdentityService) EXPECT ¶
func (m *MockIdentityService) EXPECT() *MockIdentityServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIdentityServiceMockRecorder ¶
type MockIdentityServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockIdentityServiceMockRecorder is the mock recorder for MockIdentityService.
func (*MockIdentityServiceMockRecorder) AftermarketDevice ¶
func (mr *MockIdentityServiceMockRecorder) AftermarketDevice(ctx, address, tokenID, serial interface{}) *gomock.Call
AftermarketDevice indicates an expected call of AftermarketDevice.