All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hubspot.chrome.devtools.client.core.animation.KeyframesRule Maven / Gradle / Ivy

package com.hubspot.chrome.devtools.client.core.animation;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/**
 * Keyframes Rule
 */
public final class KeyframesRule {
  private String name;

  private List keyframes;

  @JsonCreator
  public KeyframesRule(@JsonProperty("name") String name,
      @JsonProperty("keyframes") List keyframes) {
    this.name = name;
    this.keyframes = keyframes;
  }

  public String getName() {
    return name;
  }

  public List getKeyframes() {
    return keyframes;
  }

  public static KeyframesRule.Builder builder() {
    return new KeyframesRule.Builder();
  }

  public static final class Builder {
    private String name;

    private List keyframes;

    private Builder() {
    }

    public KeyframesRule.Builder setName(String name) {
      this.name = name;
      return this;
    }

    public KeyframesRule.Builder setKeyframes(List keyframes) {
      this.keyframes = keyframes;
      return this;
    }

    public KeyframesRule build() {
      return new KeyframesRule(name, keyframes);
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy