View Source GoogleApi.People.V1.Model.PersonResponse (google_api_people v0.41.0)

The response for a single person

Attributes

  • httpStatusCode (type: integer(), default: nil) - DEPRECATED (Please use status instead) [HTTP 1.1 status code] (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).
  • person (type: GoogleApi.People.V1.Model.Person.t, default: nil) - The person.
  • requestedResourceName (type: String.t, default: nil) - The original requested resource name. May be different than the resource name on the returned person. The resource name can change when adding or removing fields that link a contact and profile such as a verified email, verified phone number, or a profile URL.
  • status (type: GoogleApi.People.V1.Model.Status.t, default: nil) - The status of the response.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.People.V1.Model.PersonResponse{
  httpStatusCode: integer() | nil,
  person: GoogleApi.People.V1.Model.Person.t() | nil,
  requestedResourceName: String.t() | nil,
  status: GoogleApi.People.V1.Model.Status.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.