
io.getlime.push.model.request.CreateApplicationRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powerauth-push-model Show documentation
Show all versions of powerauth-push-model Show documentation
PowerAuth Push Server RESTful Model Classes
/*
* Copyright 2018 Wultra s.r.o.
*
* 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.getlime.push.model.request;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;
/**
* Request to create Push Server application credentials entity based on existing PowerAuth server application.
*
* @author Roman Strobl, [email protected]
*/
@Getter
@Setter
public class CreateApplicationRequest {
/**
* Application ID.
*/
@NotBlank
@Schema(description = "Application ID.")
private String appId;
/**
* Default constructor.
*/
public CreateApplicationRequest() {
}
/**
* Constructor with PowerAuth server application ID.
* @param appId PowerAuth server application ID.
*/
public CreateApplicationRequest(String appId) {
this.appId = appId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy