com.redhat.red.build.koji.model.xmlrpc.KojiGetLatestRpmsParams Maven / Gradle / Ivy
The newest version!
/**
* Copyright (C) 2015 Red Hat, Inc. ([email protected])
*
* 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.redhat.red.build.koji.model.xmlrpc;
import org.commonjava.rwx.anno.DataKey;
import org.commonjava.rwx.anno.StructPart;
@StructPart
public class KojiGetLatestRpmsParams
extends KojiParams
{
@DataKey( "package" )
private Integer packageId;
@DataKey( "arch" )
private String arch;
@DataKey( "event" )
private Integer eventId;
@DataKey( "rpmsigs" )
private Boolean rpmsigs;
@DataKey( "type" )
private String type;
public KojiGetLatestRpmsParams()
{
}
public Integer getEventId()
{
return eventId;
}
public void setEventId( Integer eventId )
{
this.eventId = eventId;
}
public Boolean getRpmsigs()
{
return rpmsigs;
}
public void setRpmsigs( Boolean rpmsigs )
{
this.rpmsigs = rpmsigs;
}
public String getArch()
{
return arch;
}
public void setArch( String arch )
{
this.arch = arch;
}
public Integer getPackageId()
{
return packageId;
}
public void setPackageId( Integer packageId )
{
this.packageId = packageId;
}
public String getType()
{
return type;
}
public void setType( String type )
{
this.type = type;
}
public KojiGetLatestRpmsParams withEventId( Integer eventId )
{
this.eventId = eventId;
return this;
}
public KojiGetLatestRpmsParams withRpmSigs( Boolean rpmsigs )
{
this.rpmsigs = rpmsigs;
return this;
}
public KojiGetLatestRpmsParams withArch( String arch )
{
this.arch = arch;
return this;
}
public KojiGetLatestRpmsParams withPackageId( Integer packageId )
{
this.packageId = packageId;
return this;
}
public KojiGetLatestRpmsParams withType( String type )
{
this.type = type;
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy