I considered the following sentence:
My uncle bought me toys last week.
This is my analysis:
My uncle is the subject of the sentence.
Bought is the predicate or the verb.
Me is the Indirect Object.
Toys- The direct object.
Last week- denotes time when the action was undertaken.
Every part fits into the pattern and makes the sentence more complete.