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

com.yahoo.athenz.msd.StaticWorkloadService Maven / Gradle / Ivy

The newest version!
//
// This file generated by rdl 1.5.2. Do not modify!
//

package com.yahoo.athenz.msd;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.yahoo.rdl.*;

//
// StaticWorkloadService - static workload service
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class StaticWorkloadService {
    public StaticWorkloadType type;
    public String serviceName;
    public String instance;

    public StaticWorkloadService setType(StaticWorkloadType type) {
        this.type = type;
        return this;
    }
    public StaticWorkloadType getType() {
        return type;
    }
    public StaticWorkloadService setServiceName(String serviceName) {
        this.serviceName = serviceName;
        return this;
    }
    public String getServiceName() {
        return serviceName;
    }
    public StaticWorkloadService setInstance(String instance) {
        this.instance = instance;
        return this;
    }
    public String getInstance() {
        return instance;
    }

    @Override
    public boolean equals(Object another) {
        if (this != another) {
            if (another == null || another.getClass() != StaticWorkloadService.class) {
                return false;
            }
            StaticWorkloadService a = (StaticWorkloadService) another;
            if (type == null ? a.type != null : !type.equals(a.type)) {
                return false;
            }
            if (serviceName == null ? a.serviceName != null : !serviceName.equals(a.serviceName)) {
                return false;
            }
            if (instance == null ? a.instance != null : !instance.equals(a.instance)) {
                return false;
            }
        }
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy