%% -------------------------------------------------------------------
%% This is a generated file.
%% -------------------------------------------------------------------

-module(diameter_gen_relay).

-compile({parse_transform, diameter_exprecs}).

-compile(nowarn_unused_function).

-export_records([]).

-export([name/0, id/0, vendor_id/0, vendor_name/0,
	 decode_avps/2, encode_avps/2, msg_name/2, msg_header/1,
	 rec2msg/1, msg2rec/1, name2rec/1, avp_name/2,
	 avp_arity/2, avp_header/1, avp/3, grouped_avp/3,
	 enumerated_avp/3, empty_value/1, dict/0]).

-include_lib("diameter/include/diameter.hrl").

-include_lib("diameter/include/diameter_gen.hrl").

name() -> diameter_gen_relay.

id() -> 4294967295.

vendor_id() -> 0.

vendor_name() -> 'IETF'.

msg_name(_, _) -> ''.

msg_header(_) -> erlang:error(badarg).

rec2msg(_) -> erlang:error(badarg).

msg2rec(_) -> erlang:error(badarg).

name2rec(T) -> msg2rec(T).

avp_name(_, _) -> 'AVP'.

avp_arity(_, _) -> 0.

avp_header(_) -> erlang:error(badarg).

avp(_, _, _) -> erlang:error(badarg).

enumerated_avp(_, _, _) -> erlang:error(badarg).

empty_value(Name) -> empty(Name).

dict() ->
    [1, {avp_types, []}, {avp_vendor_id, []}, {codecs, []},
     {command_codes, []}, {custom_types, []}, {define, []},
     {enum, []}, {grouped, []}, {id, 4294967295},
     {import_avps, []}, {import_enums, []},
     {import_groups, []}, {inherits, []}, {messages, []},
     {name, "diameter_gen_relay"},
     {prefix, "diameter_relay"}, {vendor, {0, "IETF"}}].


