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

com.mediamath.terminalone.models.AdServer Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
/*******************************************************************************
 * Copyright 2016 MediaMath
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *   http://www.apache.org/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 com.mediamath.terminalone.models;

import javax.ws.rs.core.Form;

public class AdServer implements T1Entity {

  private static final String entityName = "AdServer";

  private int id;
  private String name;
  private int version;

  /**
   * AdServer constructor
   * 
   * @param id
   *          expects an id
   * @param name
   *          provide the given name.
   * @param version
   *          provide appropriate version.
   */
  public AdServer(int id, String name, int version, String entity_type) {
    super();
    this.id = id;
    this.name = name;
    this.version = version;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public int getVersion() {
    return version;
  }

  public void setVersion(int version) {
    this.version = version;
  }

  @Override
  public String getEntityname() {
    return entityName;
  }

  @Override
  public Form getForm() {
    return null;
  }

  @Override
  public String getUri() {
    return null;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy