View Source GoogleApi.Discovery.V1.Model.RestResource (google_api_discovery v0.16.0)

Attributes

  • deprecated (type: boolean(), default: nil) - Whether this resource is deprecated.
  • methods (type: %{optional(String.t) => GoogleApi.Discovery.V1.Model.RestMethod.t}, default: nil) - Methods on this resource.
  • resources (type: %{optional(String.t) => GoogleApi.Discovery.V1.Model.RestResource.t}, default: nil) - Sub-resources on this resource.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Discovery.V1.Model.RestResource{
  deprecated: boolean() | nil,
  methods:
    %{optional(String.t()) => GoogleApi.Discovery.V1.Model.RestMethod.t()} | nil,
  resources: %{optional(String.t()) => t()} | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.