Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.monitor;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* An azure function receiver.
*/
public class AzureFunctionReceiver {
/**
* The name of the azure function receiver. Names must be unique across all
* receivers within an action group.
*/
@JsonProperty(value = "name", required = true)
private String name;

/**
* The azure resource id of the function app.
*/
@JsonProperty(value = "functionAppResourceId", required = true)
private String functionAppResourceId;

/**
* The function name in the function app.
*/
@JsonProperty(value = "functionName", required = true)
private String functionName;

/**
* The http trigger url where http request sent to.
*/
@JsonProperty(value = "httpTriggerUrl", required = true)
private String httpTriggerUrl;

/**
* Get the name value.
*
* @return the name value
*/
public String name() {
return this.name;
}

/**
* Set the name value.
*
* @param name the name value to set
* @return the AzureFunctionReceiver object itself.
*/
public AzureFunctionReceiver withName(String name) {
this.name = name;
return this;
}

/**
* Get the functionAppResourceId value.
*
* @return the functionAppResourceId value
*/
public String functionAppResourceId() {
return this.functionAppResourceId;
}

/**
* Set the functionAppResourceId value.
*
* @param functionAppResourceId the functionAppResourceId value to set
* @return the AzureFunctionReceiver object itself.
*/
public AzureFunctionReceiver withFunctionAppResourceId(String functionAppResourceId) {
this.functionAppResourceId = functionAppResourceId;
return this;
}

/**
* Get the functionName value.
*
* @return the functionName value
*/
public String functionName() {
return this.functionName;
}

/**
* Set the functionName value.
*
* @param functionName the functionName value to set
* @return the AzureFunctionReceiver object itself.
*/
public AzureFunctionReceiver withFunctionName(String functionName) {
this.functionName = functionName;
return this;
}

/**
* Get the httpTriggerUrl value.
*
* @return the httpTriggerUrl value
*/
public String httpTriggerUrl() {
return this.httpTriggerUrl;
}

/**
* Set the httpTriggerUrl value.
*
* @param httpTriggerUrl the httpTriggerUrl value to set
* @return the AzureFunctionReceiver object itself.
*/
public AzureFunctionReceiver withHttpTriggerUrl(String httpTriggerUrl) {
this.httpTriggerUrl = httpTriggerUrl;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.monitor;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* A logic app receiver.
*/
public class LogicAppReceiver {
/**
* The name of the logic app receiver. Names must be unique across all
* receivers within an action group.
*/
@JsonProperty(value = "name", required = true)
private String name;

/**
* The azure resource id of the logic app receiver.
*/
@JsonProperty(value = "resourceId", required = true)
private String resourceId;

/**
* The callback url where http request sent to.
*/
@JsonProperty(value = "callbackUrl", required = true)
private String callbackUrl;

/**
* Get the name value.
*
* @return the name value
*/
public String name() {
return this.name;
}

/**
* Set the name value.
*
* @param name the name value to set
* @return the LogicAppReceiver object itself.
*/
public LogicAppReceiver withName(String name) {
this.name = name;
return this;
}

/**
* Get the resourceId value.
*
* @return the resourceId value
*/
public String resourceId() {
return this.resourceId;
}

/**
* Set the resourceId value.
*
* @param resourceId the resourceId value to set
* @return the LogicAppReceiver object itself.
*/
public LogicAppReceiver withResourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}

/**
* Get the callbackUrl value.
*
* @return the callbackUrl value
*/
public String callbackUrl() {
return this.callbackUrl;
}

/**
* Set the callbackUrl value.
*
* @param callbackUrl the callbackUrl value to set
* @return the LogicAppReceiver object itself.
*/
public LogicAppReceiver withCallbackUrl(String callbackUrl) {
this.callbackUrl = callbackUrl;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.monitor;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* A voice receiver.
*/
public class VoiceReceiver {
/**
* The name of the voice receiver. Names must be unique across all
* receivers within an action group.
*/
@JsonProperty(value = "name", required = true)
private String name;

/**
* The country code of the voice receiver.
*/
@JsonProperty(value = "countryCode", required = true)
private String countryCode;

/**
* The phone number of the voice receiver.
*/
@JsonProperty(value = "phoneNumber", required = true)
private String phoneNumber;

/**
* Get the name value.
*
* @return the name value
*/
public String name() {
return this.name;
}

/**
* Set the name value.
*
* @param name the name value to set
* @return the VoiceReceiver object itself.
*/
public VoiceReceiver withName(String name) {
this.name = name;
return this;
}

/**
* Get the countryCode value.
*
* @return the countryCode value
*/
public String countryCode() {
return this.countryCode;
}

/**
* Set the countryCode value.
*
* @param countryCode the countryCode value to set
* @return the VoiceReceiver object itself.
*/
public VoiceReceiver withCountryCode(String countryCode) {
this.countryCode = countryCode;
return this;
}

/**
* Get the phoneNumber value.
*
* @return the phoneNumber value
*/
public String phoneNumber() {
return this.phoneNumber;
}

/**
* Set the phoneNumber value.
*
* @param phoneNumber the phoneNumber value to set
* @return the VoiceReceiver object itself.
*/
public VoiceReceiver withPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}

}
Loading