blob: 86a139d60a0b992eae7c4bfa0d465ad49f35eb32 [file] [log] [blame]
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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 org.apache.fineract.accounting.provisioning.api;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Created by sanyam on 25/7/17.
*/
final class ProvisioningEntriesApiResourceSwagger {
private ProvisioningEntriesApiResourceSwagger() {
// only for Swagger Documentation
}
@Schema(description = "PostProvisioningEntriesRequest")
public static final class PostProvisioningEntriesRequest {
private PostProvisioningEntriesRequest() {
}
@Schema(example = "16 October 2015")
public String date;
@Schema(example = "en")
public String locale;
@Schema(example = "dd MMMM yyyy")
public String dateFormat;
@Schema(example = "true")
public String createjournalentries;
public String provisioningentry;
public String entries;
}
@Schema(description = "PostProvisioningEntriesResponse")
public static final class PostProvisioningEntriesResponse {
private PostProvisioningEntriesResponse() {
}
@Schema(example = "1")
public Long resourceId;
}
@Schema(description = "PutProvisioningEntriesRequest")
public static final class PutProvisioningEntriesRequest {
private PutProvisioningEntriesRequest() {
}
@Schema(example = "recreateprovisioningentry")
public String command;
}
@Schema(description = "PutProvisioningEntriesResponse")
public static final class PutProvisioningEntriesResponse {
private PutProvisioningEntriesResponse() {
}
@Schema(example = "1")
public Long resourceId;
}
}