google_api_discovery v0.10.0 GoogleApi.Discovery.V1.Model.RestResource View Source

Attributes

  • 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Discovery.V1.Model.RestResource{
  methods: %{
    optional(String.t()) => GoogleApi.Discovery.V1.Model.RestMethod.t()
  },
  resources: %{
    optional(String.t()) => GoogleApi.Discovery.V1.Model.RestResource.t()
  }
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.