# NEUserPetResponse

**negdkcc**

***

negdkcc / NEUserPetResponse

## Type Alias: NEUserPetResponse

> **NEUserPetResponse** = `object`

Defined in: [data/NEUserPetResponse.ts:6](https://github.com/EternalsGame/universal-sdk/blob/7b1076b6b36dd7c5b65f4a2f518d40773314a555/gdk/cocos-creator/assets/negdk/scripts/data/NEUserPetResponse.ts#L6)

Represents the API response when fetching a user's pets.

### Properties

#### data?

> `optional` **data**: `NEUserPet`\[]

Defined in: [data/NEUserPetResponse.ts:10](https://github.com/EternalsGame/universal-sdk/blob/7b1076b6b36dd7c5b65f4a2f518d40773314a555/gdk/cocos-creator/assets/negdk/scripts/data/NEUserPetResponse.ts#L10)

Optional array of user's pets.

***

#### errorCode?

> `optional` **errorCode**: `number`

Defined in: [data/NEUserPetResponse.ts:25](https://github.com/EternalsGame/universal-sdk/blob/7b1076b6b36dd7c5b65f4a2f518d40773314a555/gdk/cocos-creator/assets/negdk/scripts/data/NEUserPetResponse.ts#L25)

Optional custom error code. A value of 0 or undefined indicates success.

***

#### message

> **message**: `string`

Defined in: [data/NEUserPetResponse.ts:15](https://github.com/EternalsGame/universal-sdk/blob/7b1076b6b36dd7c5b65f4a2f518d40773314a555/gdk/cocos-creator/assets/negdk/scripts/data/NEUserPetResponse.ts#L15)

A message describing the response status or any error.

***

#### status

> **status**: `number`

Defined in: [data/NEUserPetResponse.ts:20](https://github.com/EternalsGame/universal-sdk/blob/7b1076b6b36dd7c5b65f4a2f518d40773314a555/gdk/cocos-creator/assets/negdk/scripts/data/NEUserPetResponse.ts#L20)

The HTTP status code of the response.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.eternals.game/gdk-documentation/cocos-creator/api-reference/ninetyeight-game-development-kit-cocos-creator/type-aliases/neuserpetresponse.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
