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

io.gravitee.cockpit.api.command.v1.hello.HelloCommandPayload Maven / Gradle / Ivy

/*
 * Copyright © 2015 The Gravitee team (http://gravitee.io)
 *
 * 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 io.gravitee.cockpit.api.command.v1.hello;

import io.gravitee.cockpit.api.command.model.Node;
import io.gravitee.cockpit.api.command.model.accesspoint.AccessPoint;
import java.util.EnumMap;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

/**
 * @author Guillaume LAMIRAND (guillaume.lamirand at graviteesource.com)
 * @author GraviteeSource Team
 */
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@Getter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class HelloCommandPayload
  extends io.gravitee.exchange.api.command.hello.HelloCommandPayload {

  /**
   * Contains all necessary information about the node.
   */
  private Node node;

  /**
   * The default organization identifier, null if there is no default organization defined.
   */
  private String defaultOrganizationId;

  /**
   * The default environment identifier, null if there is no default organization defined.
   */
  private String defaultEnvironmentId;

  /**
   * The type of the installation.
   */
  private String installationType;
  /**
   * Flag indicating if he installation is a trial.
   */
  private boolean trial;

  /**
   * In case of a multi-tenant installation, this defines the access points template used to initialize organizations and environments
   */
  @Builder.Default
  private Map> accessPointsTemplate =
    new EnumMap<>(AccessPoint.Type.class);

  /**
   * Additional information.
   */
  @Builder.Default
  private Map additionalInformation = new HashMap<>();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy