001/* 002Copyright 2022 The OpenFunction Authors. 003 004Licensed under the Apache License, Version 2.0 (the "License"); 005you may not use this file except in compliance with the License. 006You may obtain a copy of the License at 007 008 http://www.apache.org/licenses/LICENSE-2.0 009 010Unless required by applicable law or agreed to in writing, software 011distributed under the License is distributed on an "AS IS" BASIS, 012WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013See the License for the specific language governing permissions and 014limitations under the License. 015*/ 016 017package dev.openfunction.functions; 018 019import java.util.Map; 020 021public class Component { 022 private String uri; 023 private String componentName; 024 private String componentType; 025 private Map<String, String> metadata; 026 private String operation; 027 028 029 public String getUri() { 030 return uri; 031 } 032 033 public void setUri(String uri) { 034 this.uri = uri; 035 } 036 037 public String getComponentName() { 038 return componentName; 039 } 040 041 public void setComponentName(String componentName) { 042 this.componentName = componentName; 043 } 044 045 public String getComponentType() { 046 return componentType; 047 } 048 049 public void setComponentType(String componentType) { 050 this.componentType = componentType; 051 } 052 053 public Map<String, String> getMetadata() { 054 return metadata; 055 } 056 057 public void setMetadata(Map<String, String> metadata) { 058 this.metadata = metadata; 059 } 060 061 public String getOperation() { 062 return operation; 063 } 064 065 public void setOperation(String operation) { 066 this.operation = operation; 067 } 068} 069