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

com.vmware.connectors.servicenow.ApprovalRequestWithItems Maven / Gradle / Ivy

package com.vmware.connectors.servicenow;

import com.google.common.collect.ImmutableList;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.util.List;

import static org.apache.commons.lang3.builder.ToStringStyle.SHORT_PREFIX_STYLE;

class ApprovalRequestWithItems extends ApprovalRequestWithInfo {

    private final List items;

    ApprovalRequestWithItems(
            ApprovalRequestWithInfo request,
            List items
    ) {
        super(request, request.getInfo());
        this.items = ImmutableList.copyOf(items);
    }

    List getItems() {
        return items;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, SHORT_PREFIX_STYLE);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy