Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.type.core.status;
 
 import java.util.List;
 
 
    private static final long serialVersionUID = 6619018597438629232L;
    private List<Messageupdates;

    

Parameters:
data the underlying dto
    public Incident(final com.robrua.orianna.type.dto.status.Incident data) {
        super(datacom.robrua.orianna.type.dto.status.Incident.class);
    }

    
If the incident is active

Returns:
whether the incident is active
    public boolean getActive() {
        return super.getBoolean(.getActive());
    }

    
The created at value

Returns:
the created at value
    public String getCreatedAt() {
        return super.getString(.getCreated_at());
    }

    
The ID

Returns:
the ID
    public long getID() {
        return super.getLong(.getId());
    }

    
The updates

Returns:
the updates
    public List<MessagegetUpdates() {
        if( == null) {
             = new ArrayList<>();
            for(final com.robrua.orianna.type.dto.status.Message message : .getUpdates()) {
                .add(new Message(message));
            }
        }
        return Collections.unmodifiableList();
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "Incident (" + getID() + ")";
    }
New to GrepCode? Check out our FAQ X