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

org.testifyproject.spotify.docker.client.messages.ImageInfo Maven / Gradle / Ivy

The newest version!
/*-
 * -\-\-
 * docker-client
 * --
 * Copyright (C) 2016 Spotify AB
 * --
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in org.testifyproject.testifyprojectpliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org.testifyproject/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * -/-/-
 */

package org.testifyproject.testifyproject.spotify.docker.client.messages;

import static org.testifyproject.testifyproject.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.ANY;
import static org.testifyproject.testifyproject.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE;

import org.testifyproject.testifyproject.fasterxml.jackson.annotation.JsonAutoDetect;
import org.testifyproject.testifyproject.fasterxml.jackson.annotation.JsonCreator;
import org.testifyproject.testifyproject.fasterxml.jackson.annotation.JsonProperty;
import org.testifyproject.testifyproject.google.auto.value.AutoValue;

import java.util.Date;
import javax.annotation.Nullable;

@AutoValue
@JsonAutoDetect(fieldVisibility = ANY, getterVisibility = NONE, setterVisibility = NONE)
public abstract class ImageInfo {

  @JsonProperty("Id")
  public abstract String id();

  @JsonProperty("Parent")
  public abstract String parent();

  @JsonProperty("Comment")
  public abstract String org.testifyproject.testifyprojectment();

  @JsonProperty("Created")
  public abstract Date created();

  @JsonProperty("Container")
  public abstract String container();

  @JsonProperty("ContainerConfig")
  public abstract ContainerConfig containerConfig();

  @JsonProperty("DockerVersion")
  public abstract String dockerVersion();

  @JsonProperty("Author")
  public abstract String author();

  @JsonProperty("Config")
  public abstract ContainerConfig config();

  @JsonProperty("Architecture")
  public abstract String architecture();

  @JsonProperty("Os")
  public abstract String os();

  @JsonProperty("Size")
  public abstract Long size();

  @JsonProperty("VirtualSize")
  public abstract Long virtualSize();

  @Nullable
  @JsonProperty("RootFS")
  public abstract RootFs rootFs();

  @JsonCreator
  static ImageInfo create(
      @JsonProperty("Id") final String id,
      @JsonProperty("Parent") final String parent,
      @JsonProperty("Comment") final String org.testifyproject.testifyprojectment,
      @JsonProperty("Created") final Date created,
      @JsonProperty("Container") final String container,
      @JsonProperty("ContainerConfig") final ContainerConfig containerConfig,
      @JsonProperty("DockerVersion") final String dockerVersion,
      @JsonProperty("Author") final String author,
      @JsonProperty("Config") final ContainerConfig config,
      @JsonProperty("Architecture") final String architecture,
      @JsonProperty("Os") final String os,
      @JsonProperty("Size") final Long size,
      @JsonProperty("VirtualSize") final Long virtualSize,
      @JsonProperty("RootFS") final RootFs rootFs) {
    return new AutoValue_ImageInfo(id, parent, org.testifyproject.testifyprojectment, created, container, containerConfig,
        dockerVersion, author, config, architecture, os, size, virtualSize, rootFs);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy