MockResponse
class MockResponse extends Message (View source)
internal |
Generated from protobuf message google.apicore.testing.MockResponse
Properties
protected | $name | Generated from protobuf field |
|
protected | $number | Generated from protobuf field |
|
protected | $next_page_token | Generated from protobuf field |
Methods
Constructor.
Generated from protobuf field string name = 1;
Generated from protobuf field string name = 1;
Generated from protobuf field uint64 number = 2;
Generated from protobuf field uint64 number = 2;
Generated from protobuf field repeated string resources_list = 3;
Generated from protobuf field repeated string resources_list = 3;
Generated from protobuf field string next_page_token = 4;
Generated from protobuf field string next_page_token = 4;
Generated from protobuf field map<string, string> resources_map = 5;
Generated from protobuf field map<string, string> resources_map = 5;
Details
__construct(array $data = NULL)
Constructor.
string
getName()
Generated from protobuf field string name = 1;
$this
setName(string $var)
Generated from protobuf field string name = 1;
int|string
getNumber()
Generated from protobuf field uint64 number = 2;
$this
setNumber(int|string $var)
Generated from protobuf field uint64 number = 2;
RepeatedField
getResourcesList()
Generated from protobuf field repeated string resources_list = 3;
$this
setResourcesList(string[]|RepeatedField $var)
Generated from protobuf field repeated string resources_list = 3;
string
getNextPageToken()
Generated from protobuf field string next_page_token = 4;
$this
setNextPageToken(string $var)
Generated from protobuf field string next_page_token = 4;
MapField
getResourcesMap()
Generated from protobuf field map<string, string> resources_map = 5;
$this
setResourcesMap(array|MapField $var)
Generated from protobuf field map<string, string> resources_map = 5;