func (client *Client) GetInputContext(
	ctx context.Context, id string,
) (*graylog.Input, *ErrorInfo, error) {
	if id == "" {
		return nil, nil, errors.New("id is empty")
	}
	u, err := client.Endpoints().Input(id)
	if err != nil {
		return nil, nil, err
	}
	input := &graylog.Input{}
	ei, err := client.callGet(
		ctx, u.String(), nil, input)
	return input, ei, err
}
// GetInputContext returns a given input with a context.
GetInputContext returns a given input with a context.
// GetInputContext returns a given input with a context .
func (client *Client) GetInputContext(
	ctx context.Context, id string,
) (*graylog.Input, *ErrorInfo, error) {
	if id == "" {
		return nil, nil, errors.New("id is empty")
	}
	u, err := client.Endpoints().Input(id)
	if err != nil {
		return nil, nil, err
	}
	input := &graylog.Input{}
	ei, err := client.callGet(
		ctx, u.String(), nil, input)
	return input, ei, err
}
func ( client * Client ) GetInputContext ( ctx context . Context , id string , ) ( * graylog . Input , * ErrorInfo , error ) { if id == " " { return nil , nil , errors . New ( " " ) } u , err := client . Endpoints ( ) . Input ( id ) if err != nil { return nil , nil , err } input := & graylog . Input { } ei , err := client . callGet ( ctx , u . String ( ) , nil , input ) return input , ei , err }
GetInputContext returns a given input with a context.
GetInputContext returns a given input with a context .