func NewSetTimingArgs(animationID string, duration float64, delay float64) *SetTimingArgs {
	args := new(SetTimingArgs)
	args.AnimationID = animationID
	args.Duration = duration
	args.Delay = delay
	return args
}
NewSetTimingArgs initializes SetTimingArgs with the required arguments.
package animation
import (
	"github.com/mafredri/cdp/protocol/runtime"
)
type GetCurrentTimeArgs struct {
	ID string `json:"id"`  
}
func NewGetCurrentTimeArgs(id string) *GetCurrentTimeArgs {
	args := new(GetCurrentTimeArgs)
	args.ID = id
	return args
}
type GetCurrentTimeReply struct {
	CurrentTime float64 `json:"currentTime"`  
}
type GetPlaybackRateReply struct {
	PlaybackRate float64 `json:"playbackRate"`  
}
type ReleaseAnimationsArgs struct {
	Animations []string `json:"animations"`  
}
func NewReleaseAnimationsArgs(animations []string) *ReleaseAnimationsArgs {
	args := new(ReleaseAnimationsArgs)
	args.Animations = animations
	return args
}
type ResolveAnimationArgs struct {
	AnimationID string `json:"animationId"`  
}
func NewResolveAnimationArgs(animationID string) *ResolveAnimationArgs {
	args := new(ResolveAnimationArgs)
	args.AnimationID = animationID
	return args
}
type ResolveAnimationReply struct {
	RemoteObject runtime.RemoteObject `json:"remoteObject"`  
}
type SeekAnimationsArgs struct {
	Animations  []string `json:"animations"`   
	CurrentTime float64  `json:"currentTime"`  
}
func NewSeekAnimationsArgs(animations []string, currentTime float64) *SeekAnimationsArgs {
	args := new(SeekAnimationsArgs)
	args.Animations = animations
	args.CurrentTime = currentTime
	return args
}
type SetPausedArgs struct {
	Animations []string `json:"animations"`  
	Paused     bool     `json:"paused"`      
}
func NewSetPausedArgs(animations []string, paused bool) *SetPausedArgs {
	args := new(SetPausedArgs)
	args.Animations = animations
	args.Paused = paused
	return args
}
type SetPlaybackRateArgs struct {
	PlaybackRate float64 `json:"playbackRate"`  
}
func NewSetPlaybackRateArgs(playbackRate float64) *SetPlaybackRateArgs {
	args := new(SetPlaybackRateArgs)
	args.PlaybackRate = playbackRate
	return args
}
type SetTimingArgs struct {
	AnimationID string  `json:"animationId"`  
	Duration    float64 `json:"duration"`     
	Delay       float64 `json:"delay"`        
}