github.com/CyCoreSystems/ari@v4.8.4+incompatible/client/arimocks/Client.go (about)

     1  // Code generated by mockery v1.0.0. DO NOT EDIT.
     2  
     3  package arimocks
     4  
     5  import ari "github.com/CyCoreSystems/ari"
     6  import mock "github.com/stretchr/testify/mock"
     7  
     8  // Client is an autogenerated mock type for the Client type
     9  type Client struct {
    10  	mock.Mock
    11  }
    12  
    13  // Application provides a mock function with given fields:
    14  func (_m *Client) Application() ari.Application {
    15  	ret := _m.Called()
    16  
    17  	var r0 ari.Application
    18  	if rf, ok := ret.Get(0).(func() ari.Application); ok {
    19  		r0 = rf()
    20  	} else {
    21  		if ret.Get(0) != nil {
    22  			r0 = ret.Get(0).(ari.Application)
    23  		}
    24  	}
    25  
    26  	return r0
    27  }
    28  
    29  // ApplicationName provides a mock function with given fields:
    30  func (_m *Client) ApplicationName() string {
    31  	ret := _m.Called()
    32  
    33  	var r0 string
    34  	if rf, ok := ret.Get(0).(func() string); ok {
    35  		r0 = rf()
    36  	} else {
    37  		r0 = ret.Get(0).(string)
    38  	}
    39  
    40  	return r0
    41  }
    42  
    43  // Asterisk provides a mock function with given fields:
    44  func (_m *Client) Asterisk() ari.Asterisk {
    45  	ret := _m.Called()
    46  
    47  	var r0 ari.Asterisk
    48  	if rf, ok := ret.Get(0).(func() ari.Asterisk); ok {
    49  		r0 = rf()
    50  	} else {
    51  		if ret.Get(0) != nil {
    52  			r0 = ret.Get(0).(ari.Asterisk)
    53  		}
    54  	}
    55  
    56  	return r0
    57  }
    58  
    59  // Bridge provides a mock function with given fields:
    60  func (_m *Client) Bridge() ari.Bridge {
    61  	ret := _m.Called()
    62  
    63  	var r0 ari.Bridge
    64  	if rf, ok := ret.Get(0).(func() ari.Bridge); ok {
    65  		r0 = rf()
    66  	} else {
    67  		if ret.Get(0) != nil {
    68  			r0 = ret.Get(0).(ari.Bridge)
    69  		}
    70  	}
    71  
    72  	return r0
    73  }
    74  
    75  // Bus provides a mock function with given fields:
    76  func (_m *Client) Bus() ari.Bus {
    77  	ret := _m.Called()
    78  
    79  	var r0 ari.Bus
    80  	if rf, ok := ret.Get(0).(func() ari.Bus); ok {
    81  		r0 = rf()
    82  	} else {
    83  		if ret.Get(0) != nil {
    84  			r0 = ret.Get(0).(ari.Bus)
    85  		}
    86  	}
    87  
    88  	return r0
    89  }
    90  
    91  // Channel provides a mock function with given fields:
    92  func (_m *Client) Channel() ari.Channel {
    93  	ret := _m.Called()
    94  
    95  	var r0 ari.Channel
    96  	if rf, ok := ret.Get(0).(func() ari.Channel); ok {
    97  		r0 = rf()
    98  	} else {
    99  		if ret.Get(0) != nil {
   100  			r0 = ret.Get(0).(ari.Channel)
   101  		}
   102  	}
   103  
   104  	return r0
   105  }
   106  
   107  // Close provides a mock function with given fields:
   108  func (_m *Client) Close() {
   109  	_m.Called()
   110  }
   111  
   112  // DeviceState provides a mock function with given fields:
   113  func (_m *Client) DeviceState() ari.DeviceState {
   114  	ret := _m.Called()
   115  
   116  	var r0 ari.DeviceState
   117  	if rf, ok := ret.Get(0).(func() ari.DeviceState); ok {
   118  		r0 = rf()
   119  	} else {
   120  		if ret.Get(0) != nil {
   121  			r0 = ret.Get(0).(ari.DeviceState)
   122  		}
   123  	}
   124  
   125  	return r0
   126  }
   127  
   128  // Endpoint provides a mock function with given fields:
   129  func (_m *Client) Endpoint() ari.Endpoint {
   130  	ret := _m.Called()
   131  
   132  	var r0 ari.Endpoint
   133  	if rf, ok := ret.Get(0).(func() ari.Endpoint); ok {
   134  		r0 = rf()
   135  	} else {
   136  		if ret.Get(0) != nil {
   137  			r0 = ret.Get(0).(ari.Endpoint)
   138  		}
   139  	}
   140  
   141  	return r0
   142  }
   143  
   144  // LiveRecording provides a mock function with given fields:
   145  func (_m *Client) LiveRecording() ari.LiveRecording {
   146  	ret := _m.Called()
   147  
   148  	var r0 ari.LiveRecording
   149  	if rf, ok := ret.Get(0).(func() ari.LiveRecording); ok {
   150  		r0 = rf()
   151  	} else {
   152  		if ret.Get(0) != nil {
   153  			r0 = ret.Get(0).(ari.LiveRecording)
   154  		}
   155  	}
   156  
   157  	return r0
   158  }
   159  
   160  // Mailbox provides a mock function with given fields:
   161  func (_m *Client) Mailbox() ari.Mailbox {
   162  	ret := _m.Called()
   163  
   164  	var r0 ari.Mailbox
   165  	if rf, ok := ret.Get(0).(func() ari.Mailbox); ok {
   166  		r0 = rf()
   167  	} else {
   168  		if ret.Get(0) != nil {
   169  			r0 = ret.Get(0).(ari.Mailbox)
   170  		}
   171  	}
   172  
   173  	return r0
   174  }
   175  
   176  // Playback provides a mock function with given fields:
   177  func (_m *Client) Playback() ari.Playback {
   178  	ret := _m.Called()
   179  
   180  	var r0 ari.Playback
   181  	if rf, ok := ret.Get(0).(func() ari.Playback); ok {
   182  		r0 = rf()
   183  	} else {
   184  		if ret.Get(0) != nil {
   185  			r0 = ret.Get(0).(ari.Playback)
   186  		}
   187  	}
   188  
   189  	return r0
   190  }
   191  
   192  // Sound provides a mock function with given fields:
   193  func (_m *Client) Sound() ari.Sound {
   194  	ret := _m.Called()
   195  
   196  	var r0 ari.Sound
   197  	if rf, ok := ret.Get(0).(func() ari.Sound); ok {
   198  		r0 = rf()
   199  	} else {
   200  		if ret.Get(0) != nil {
   201  			r0 = ret.Get(0).(ari.Sound)
   202  		}
   203  	}
   204  
   205  	return r0
   206  }
   207  
   208  // StoredRecording provides a mock function with given fields:
   209  func (_m *Client) StoredRecording() ari.StoredRecording {
   210  	ret := _m.Called()
   211  
   212  	var r0 ari.StoredRecording
   213  	if rf, ok := ret.Get(0).(func() ari.StoredRecording); ok {
   214  		r0 = rf()
   215  	} else {
   216  		if ret.Get(0) != nil {
   217  			r0 = ret.Get(0).(ari.StoredRecording)
   218  		}
   219  	}
   220  
   221  	return r0
   222  }
   223  
   224  // TextMessage provides a mock function with given fields:
   225  func (_m *Client) TextMessage() ari.TextMessage {
   226  	ret := _m.Called()
   227  
   228  	var r0 ari.TextMessage
   229  	if rf, ok := ret.Get(0).(func() ari.TextMessage); ok {
   230  		r0 = rf()
   231  	} else {
   232  		if ret.Get(0) != nil {
   233  			r0 = ret.Get(0).(ari.TextMessage)
   234  		}
   235  	}
   236  
   237  	return r0
   238  }